A B C D E F G H I J L M N P R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
C
- Chat - Class in idatt2106.group3.backend.Model
-
Entity class for storing information about a chat with chatId as primary key
- Chat() - Constructor for class idatt2106.group3.backend.Model.Chat
- Chat(Activity, Set<Message>) - Constructor for class idatt2106.group3.backend.Model.Chat
- ChatController - Class in idatt2106.group3.backend.Web
- ChatController() - Constructor for class idatt2106.group3.backend.Web.ChatController
- ChatControllerTest - Class in idatt2106.group3.backend.Web
- ChatControllerTest() - Constructor for class idatt2106.group3.backend.Web.ChatControllerTest
- ChatRepository - Interface in idatt2106.group3.backend.Repository
- ChatService - Class in idatt2106.group3.backend.Service
- ChatService() - Constructor for class idatt2106.group3.backend.Service.ChatService
- ChatServiceTest - Class in idatt2106.group3.backend.Service
- ChatServiceTest() - Constructor for class idatt2106.group3.backend.Service.ChatServiceTest
- checkIfOrganizerOfActivity(long, long) - Method in class idatt2106.group3.backend.Service.ActivityService
-
Checks if a user is the organizer of the activity
- checkIfOrganizerOfActivity_ActivityDoesNotExist_ReturnsFalse() - Method in class idatt2106.group3.backend.Service.ActivityServiceTest
- checkIfOrganizerOfActivity_NotOrganizerOfActivity_ReturnsFalse() - Method in class idatt2106.group3.backend.Service.ActivityServiceTest
- checkIfOrganizerOfActivity_OrganizerOfActivity_ReturnsTrue() - Method in class idatt2106.group3.backend.Service.ActivityServiceTest
- checkIfParticipant(long, long) - Method in class idatt2106.group3.backend.Service.ActivityService
-
Checks if the user is a participant of an existing activity based on activityId
- checkIfParticipant_NotParticipantOfActivity_ReturnsFalse() - Method in class idatt2106.group3.backend.Service.ActivityServiceTest
- checkIfParticipant_ParticipantOfActivity_ReturnsTrue() - Method in class idatt2106.group3.backend.Service.ActivityServiceTest
- configure(AuthenticationManagerBuilder) - Method in class idatt2106.group3.backend.Configuration.Security.WebSecurityConfiguration
-
Sets authentication provider defined in method under
- configure(HttpSecurity) - Method in class idatt2106.group3.backend.Configuration.Security.WebSecurityConfiguration
-
Method for configuration of http.
- configure(WebSecurity) - Method in class idatt2106.group3.backend.Configuration.Security.WebSecurityConfigurationDisabled
- configureClientInboundChannel(ChannelRegistration) - Method in class idatt2106.group3.backend.Configuration.WebSocketConfiguration
-
Configures MessageChannel class so that authorised users are able to send messages
- configureMessageBroker(MessageBrokerRegistry) - Method in class idatt2106.group3.backend.Configuration.WebSocketConfiguration
-
Method that configures MessageBroker to our chat endpoints Setting up broker is important for secure and reliable messaging.
- connectChat(long, MessageDTO) - Method in class idatt2106.group3.backend.Web.MessageController
- CORSConfiguration - Class in idatt2106.group3.backend.Configuration
-
Configures CORS to correct localhost port
- CORSConfiguration() - Constructor for class idatt2106.group3.backend.Configuration.CORSConfiguration
- corsConfigurer() - Method in class idatt2106.group3.backend.Configuration.CORSConfiguration
-
Allows CORS to frontend application
- createActivity() - Method in class idatt2106.group3.backend.Component.ScheduledActivityCreator
-
A scheduled event, that happens at 06:00 every day If the amount of activities are less than 3 at that moment, 3 activities will be created
- createActivity(ActivityRegistrationDTO) - Method in class idatt2106.group3.backend.Service.ActivityService
-
Finds the user who created the activity, and sets it as the organizer Saves the Activity object in the database
- createActivity(ActivityRegistrationDTO) - Method in class idatt2106.group3.backend.Web.ActivityController
- createActivity_PostActivity_StatusCreated() - Method in class idatt2106.group3.backend.Web.ActivityControllerTest
- createActivity_ReturnActivityDTOOfCreatedActivity_ActivityIsCorrect() - Method in class idatt2106.group3.backend.Service.ActivityServiceTest
- createChat(Chat) - Method in class idatt2106.group3.backend.Service.ChatService
-
Stores a given Chat object in the database
- createChat(Chat) - Method in class idatt2106.group3.backend.Web.ChatController
- createChat_PostChat_StatusCreated() - Method in class idatt2106.group3.backend.Web.ChatControllerTest
- createChat_userGetsAdded_ReturnsUser() - Method in class idatt2106.group3.backend.Service.ChatServiceTest
- createMessage(long, Message) - Method in class idatt2106.group3.backend.Service.MessageService
-
Save a new message in the database, and add it to the chat.
- createMessage(long, Message) - Method in class idatt2106.group3.backend.Web.ChatController
- createMessage_ChatIsNotPresent_ReturnsNull() - Method in class idatt2106.group3.backend.Service.MessageServiceTest
- createMessage_ChatIsPresent_ReturnsCreatedMessage() - Method in class idatt2106.group3.backend.Service.MessageServiceTest
- createMessage_PostMessage_StatusCreated() - Method in class idatt2106.group3.backend.Web.ChatControllerTest
- createMessageDTO(MessageDTO) - Method in class idatt2106.group3.backend.Service.MessageService
-
Creates new message based on information from messageDTO and saves it in the database.
- createMessageDTO_ChatAndUserArePresent_AddsMessageDTOAndReturnsIt() - Method in class idatt2106.group3.backend.Service.MessageServiceTest
- createUser(UserWithPasswordDTO) - Method in class idatt2106.group3.backend.Service.UserService
-
Creates User object from an UserWithPasswordDTO and stores it in database
- createUser(UserWithPasswordDTO) - Method in class idatt2106.group3.backend.Web.UserController
- createUser_PostUserGetResponse_StatusCreated() - Method in class idatt2106.group3.backend.Web.UserControllerTest
- createUser_userGetsAdded_ReturnsTrue() - Method in class idatt2106.group3.backend.Service.UserServiceTest
All Classes All Packages