Index

A C D E F G H I M O R S U W X 
All Classes and Interfaces|All Packages

A

acceptFriendship(String, String) - Method in class sustech.cs304.AIDE.controller.FriendshipController
Accepts a friendship request between two users.
acceptInvitation(Long, String) - Method in class sustech.cs304.AIDE.controller.CourseInvitationController
Retrieves a list of course invitations for a specific user.
addResourceHandlers(ResourceHandlerRegistry) - Method in class sustech.cs304.AIDE.config.WebMevConfig
Adds custom resource handlers for serving static files.
AideServerSpringApplication - Class in sustech.cs304.AIDE
Main application class for the AIDE server.
AideServerSpringApplication() - Constructor for class sustech.cs304.AIDE.AideServerSpringApplication
 
Announce - Class in sustech.cs304.AIDE.model
This class represents an announcement in a course.
Announce() - Constructor for class sustech.cs304.AIDE.model.Announce
 
Announce(String, String, String) - Constructor for class sustech.cs304.AIDE.model.Announce
Constructor for Announce.
AnnounceController - Class in sustech.cs304.AIDE.controller
Controller for handling announcements related to courses.
AnnounceController(AnnounceRepository, CourseRepository) - Constructor for class sustech.cs304.AIDE.controller.AnnounceController
Constructor for AnnounceController.
AnnounceProjection - Interface in sustech.cs304.AIDE.model
This interface represents a projection for announcements in a course.
AnnounceRepository - Interface in sustech.cs304.AIDE.repository
Repository interface for managing Announce entities.
applyFriendship(String, String) - Method in class sustech.cs304.AIDE.controller.FriendshipController
Applies for a friendship between two users.
Assignment - Class in sustech.cs304.AIDE.model
This class represents an assignment in a course.
Assignment() - Constructor for class sustech.cs304.AIDE.model.Assignment
 
Assignment(String, LocalDateTime, String) - Constructor for class sustech.cs304.AIDE.model.Assignment
Constructor for Assignment.
AssignmentCenterController - Class in sustech.cs304.AIDE.controller
Controller for managing assignments in the assignment center.
AssignmentCenterController(AssignmentRepository, CourseRepository, ResourceRepository, SubmissionRepository) - Constructor for class sustech.cs304.AIDE.controller.AssignmentCenterController
Constructor for AssignmentCenterController.
AssignmentRepository - Interface in sustech.cs304.AIDE.repository
Repository interface for managing Assignment entities.
AuthController - Class in sustech.cs304.AIDE.controller
Controller for handling authentication-related requests.
AuthController(UserRepository) - Constructor for class sustech.cs304.AIDE.controller.AuthController
Constructor for AuthController.

C

changeAssignmentName(String, String, String) - Method in class sustech.cs304.AIDE.controller.AssignmentCenterController
Changes the name of an assignment.
changeDeadline(String, String, String) - Method in class sustech.cs304.AIDE.controller.AssignmentCenterController
Changes the deadline of an assignment.
ChatController - Class in sustech.cs304.AIDE.controller
Controller for handling chat messages.
ChatController() - Constructor for class sustech.cs304.AIDE.controller.ChatController
 
ChatMessage - Class in sustech.cs304.AIDE.model
This class represents a chat message in the system.
ChatMessage() - Constructor for class sustech.cs304.AIDE.model.ChatMessage
 
ChatMessage(String, String, String, LocalDateTime) - Constructor for class sustech.cs304.AIDE.model.ChatMessage
Constructor for ChatMessage
ChatMessageController - Class in sustech.cs304.AIDE.controller
Controller for handling chat messages.
ChatMessageController(ChatMessageRepository) - Constructor for class sustech.cs304.AIDE.controller.ChatMessageController
Constructor for ChatMessageController.
ChatMessageRepository - Interface in sustech.cs304.AIDE.repository
Repository interface for managing ChatMessage entities.
closeAnnounce() - Method in class sustech.cs304.AIDE.model.Announce
close the announce
closeAnnounce(Long, String) - Method in class sustech.cs304.AIDE.controller.AnnounceController
Deletes an announcement by its ID.
closeAssignment(String, String) - Method in class sustech.cs304.AIDE.controller.AssignmentCenterController
Closes an assignment.
closeCourse() - Method in class sustech.cs304.AIDE.model.Course
close the course
closeCourse(String, String) - Method in class sustech.cs304.AIDE.controller.CourseController
Closes a course.
configureMessageBroker(MessageBrokerRegistry) - Method in class sustech.cs304.AIDE.config.WebSocketConfig
Configure the message broker for WebSocket communication.
Course - Class in sustech.cs304.AIDE.model
Represents a course in the system.
Course() - Constructor for class sustech.cs304.AIDE.model.Course
 
Course(String, String) - Constructor for class sustech.cs304.AIDE.model.Course
Constructor for Course
CourseController - Class in sustech.cs304.AIDE.controller
Controller for managing courses.
CourseController(CourseRepository, EnrollmentRepository, AssignmentRepository, ResourceRepository, AnnounceRepository, SubmissionRepository, CourseInvitationRepository, UserRepository) - Constructor for class sustech.cs304.AIDE.controller.CourseController
Constructor for CourseController.
CourseInvitation - Class in sustech.cs304.AIDE.model
Represents a course invitation in the system.
CourseInvitation() - Constructor for class sustech.cs304.AIDE.model.CourseInvitation
 
CourseInvitation(Long, String) - Constructor for class sustech.cs304.AIDE.model.CourseInvitation
Constructor for CourseInvitation
CourseInvitationController - Class in sustech.cs304.AIDE.controller
Controller for managing course invitations.
CourseInvitationController(CourseInvitationRepository, UserRepository, EnrollmentRepository, CourseRepository) - Constructor for class sustech.cs304.AIDE.controller.CourseInvitationController
Constructor for CourseInvitationController.
CourseInvitationRepository - Interface in sustech.cs304.AIDE.repository
Repository interface for managing CourseInvitation entities.
CourseRepository - Interface in sustech.cs304.AIDE.repository
Repository interface for managing Course entities.
createAnnounce(String, String, String, String) - Method in class sustech.cs304.AIDE.controller.AnnounceController
Creates a new announcement.
createAssignment(String, String, String, String) - Method in class sustech.cs304.AIDE.controller.AssignmentCenterController
Creates a new assignment.
createCourse(String, String) - Method in class sustech.cs304.AIDE.controller.CourseController
Creates a new course.
createInvitation(Long, String) - Method in class sustech.cs304.AIDE.controller.CourseInvitationController
Creates invitations for a course to a list of users.

D

deleteByAssignmentId(Long) - Method in interface sustech.cs304.AIDE.repository.SubmissionRepository
Delete submission by assignment ID and user ID.
deleteByCourseId(Long) - Method in interface sustech.cs304.AIDE.repository.AnnounceRepository
delete the announce by id
deleteByCourseId(Long) - Method in interface sustech.cs304.AIDE.repository.AssignmentRepository
delete the assignment by courseId
deleteByCourseId(Long) - Method in interface sustech.cs304.AIDE.repository.CourseInvitationRepository
delete course invitations by course ID.
deleteByCourseId(Long) - Method in interface sustech.cs304.AIDE.repository.EnrollmentRepository
Delete enrollments by course ID.
deleteByCourseId(Long) - Method in interface sustech.cs304.AIDE.repository.ResourceRepository
Delete resources by course ID.
deleteById(Long) - Method in interface sustech.cs304.AIDE.repository.CourseRepository
Delete a course by its ID.
deleteCourse(String, String) - Method in class sustech.cs304.AIDE.controller.CourseController
Deletes a course by its ID.
deleteFriendship(String, String) - Method in class sustech.cs304.AIDE.controller.FriendshipController
Deletes a friendship between two users.
downloadBinaryByPath(String, String) - Method in class sustech.cs304.AIDE.controller.DownloadController
Downloads a binary file from the server.
DownloadController - Class in sustech.cs304.AIDE.controller
Controller for handling file download requests.
DownloadController() - Constructor for class sustech.cs304.AIDE.controller.DownloadController
 

E

Enrollment - Class in sustech.cs304.AIDE.model
Represents an enrollment in the system.
Enrollment(Long, String) - Constructor for class sustech.cs304.AIDE.model.Enrollment
Constructor for Enrollment
EnrollmentRepository - Interface in sustech.cs304.AIDE.repository
Repository interface for managing Enrollment entities.

F

findAddressById(Long) - Method in interface sustech.cs304.AIDE.repository.ResourceRepository
Find the assignment ID of a resource by its ID.
findAddressById(Long) - Method in interface sustech.cs304.AIDE.repository.SubmissionRepository
Find the address of a submission by its ID.
findAdminIdById(Long) - Method in interface sustech.cs304.AIDE.repository.CourseRepository
Find the admin ID of a course by its ID.
findAssignmentIdByAssignmentNameAndDeadline(String, LocalDateTime) - Method in interface sustech.cs304.AIDE.repository.AssignmentRepository
find the assignmentID by assignment name and the deadline
findAssignmentIdByCourseId(String) - Method in interface sustech.cs304.AIDE.repository.AssignmentRepository
find the assignmentID by courseId
findAssignmentNameById(Long) - Method in interface sustech.cs304.AIDE.repository.AssignmentRepository
find the assignment name by ID
findByApplicantIdAndTargetId(String, String) - Method in interface sustech.cs304.AIDE.repository.FriendshipRepository
Find a friendship by the applicant ID and target ID.
findByAssignmentId(Long) - Method in interface sustech.cs304.AIDE.repository.SubmissionRepository
Find a list of submission IDs by assignment ID.
findByCourseId(String) - Method in interface sustech.cs304.AIDE.repository.ResourceRepository
Find a list of resources by course ID.
findByCourseIdAndUserId(Long, String) - Method in interface sustech.cs304.AIDE.repository.CourseInvitationRepository
Find a course invitation by course ID and user ID.
findByCourseIdAndVisible(String, boolean) - Method in interface sustech.cs304.AIDE.repository.AnnounceRepository
find the announce by courseId and visible
findById(Long) - Method in interface sustech.cs304.AIDE.repository.AnnounceRepository
find the announcement by id
findById(Long) - Method in interface sustech.cs304.AIDE.repository.AssignmentRepository
find assignment by ID
findById(Long) - Method in interface sustech.cs304.AIDE.repository.CourseInvitationRepository
Find a course invitation by its ID.
findById(Long) - Method in interface sustech.cs304.AIDE.repository.CourseRepository
Find a course by its ID.
findById(Long) - Method in interface sustech.cs304.AIDE.repository.EnrollmentRepository
Find an enrollment by its ID.
findById(Long) - Method in interface sustech.cs304.AIDE.repository.ResourceRepository
Find a resource by its ID.
findById(Long) - Method in interface sustech.cs304.AIDE.repository.SubmissionRepository
Find a submission by its ID.
findByPlatformId(String) - Method in interface sustech.cs304.AIDE.repository.UserRepository
Find the user by their platform ID.
findByUserId(String) - Method in interface sustech.cs304.AIDE.repository.FriendshipRepository
Find all friendships where the user is either userId1 or userId2.
findByUserIdAndCourseId(String, Long) - Method in interface sustech.cs304.AIDE.repository.EnrollmentRepository
Find an enrollment by user ID and course ID.
findCourseIdById(Long) - Method in interface sustech.cs304.AIDE.repository.AssignmentRepository
find the courseId by ID
findCourseIdById(Long) - Method in interface sustech.cs304.AIDE.repository.ResourceRepository
Find the course ID of a resource by its ID.
findCourseIdByUserId(String) - Method in interface sustech.cs304.AIDE.repository.CourseInvitationRepository
Find list of course invitations by user ID.
findCourseIdByUserId(String) - Method in interface sustech.cs304.AIDE.repository.EnrollmentRepository
Find list of course IDs by user ID.
findDeadlineById(Long) - Method in interface sustech.cs304.AIDE.repository.AssignmentRepository
find the deadline by ID
findDialogMessages(String, String) - Method in interface sustech.cs304.AIDE.repository.ChatMessageRepository
Find messages between two users and sort by timestamp
findGroupIdById(Long) - Method in interface sustech.cs304.AIDE.repository.ResourceRepository
Find the group ID of a resource by its ID.
findGroupMessages(String) - Method in interface sustech.cs304.AIDE.repository.ChatMessageRepository
Find messages in a group and sort by timestamp
findIdByAssignmentId(String) - Method in interface sustech.cs304.AIDE.repository.ResourceRepository
Find a list of resource IDs by assignment ID.
findProjectByCourseId(String) - Method in interface sustech.cs304.AIDE.repository.AnnounceRepository
find project by courseId
findProjectByCourseIdAndVisible(String, boolean) - Method in interface sustech.cs304.AIDE.repository.AnnounceRepository
find project by courseId and visible
findProjectById(Long) - Method in interface sustech.cs304.AIDE.repository.AnnounceRepository
find the projects by ID
findResourceIdByAssignmentId(String) - Method in interface sustech.cs304.AIDE.repository.ResourceRepository
Find a list of resource IDs by assignment ID.
findResourceIdByCourseId(String) - Method in interface sustech.cs304.AIDE.repository.ResourceRepository
Find a list of resource IDs by course ID.
findResourceNameById(Long) - Method in interface sustech.cs304.AIDE.repository.ResourceRepository
Find the resource name of a resource by its ID.
findResourceTypeById(Long) - Method in interface sustech.cs304.AIDE.repository.ResourceRepository
Find the type of a resource by its ID.
findSizeById(Long) - Method in interface sustech.cs304.AIDE.repository.ResourceRepository
Find the size of a resource by its ID.
findSubmissionIdByAssignmentIdAndUserId(Long, String) - Method in interface sustech.cs304.AIDE.repository.SubmissionRepository
Find a list of submission IDs by assignment ID and user ID.
findUploadTimeById(Long) - Method in interface sustech.cs304.AIDE.repository.ResourceRepository
Find the upload time of a resource by its ID.
findUserIdByCourseId(Long) - Method in interface sustech.cs304.AIDE.repository.EnrollmentRepository
Find user IDs by course ID.
findVisibleAssignmentIdByCourseId(String) - Method in interface sustech.cs304.AIDE.repository.AssignmentRepository
find the assignmentID by courseId and visible
findVisibleByCourseId(String) - Method in interface sustech.cs304.AIDE.repository.ResourceRepository
Find a list of visible resources by course ID.
findVisibleById(Long) - Method in interface sustech.cs304.AIDE.repository.ResourceRepository
Find the visibility status of a resource by its ID.
findVisibleResourceIdByCourseId(String) - Method in interface sustech.cs304.AIDE.repository.ResourceRepository
Find a list of visible resource IDs by course ID.
Friendship - Class in sustech.cs304.AIDE.model
Represents a friendship in the system.
Friendship() - Constructor for class sustech.cs304.AIDE.model.Friendship
 
Friendship(String, String, String) - Constructor for class sustech.cs304.AIDE.model.Friendship
Constructor for Friendship
FriendshipController - Class in sustech.cs304.AIDE.controller
Controller for managing friendships.
FriendshipController(FriendshipRepository, UserRepository) - Constructor for class sustech.cs304.AIDE.controller.FriendshipController
Constructor for FriendshipController.
FriendshipRepository - Interface in sustech.cs304.AIDE.repository
Repository interface for managing Friendship entities.

G

getAddress() - Method in class sustech.cs304.AIDE.model.Resource
get the address of the resource
getAddress() - Method in class sustech.cs304.AIDE.model.Submission
get address of the submission
getAdminId() - Method in class sustech.cs304.AIDE.model.Course
get adminId
getAdminId(String) - Method in class sustech.cs304.AIDE.controller.CourseController
Retrieves the admin ID of a course by its ID.
getAllAssignment(String, String) - Method in class sustech.cs304.AIDE.controller.AssignmentCenterController
Get all assignments for a course and user.
getAllUserInfo(String) - Method in class sustech.cs304.AIDE.controller.SelfRelatedController
Retrieves all user information for a given platform ID.
getAnnounce(Long) - Method in class sustech.cs304.AIDE.controller.AnnounceController
Retrieves a specific announcement by its ID.
getAnnounceContent() - Method in class sustech.cs304.AIDE.model.Announce
get announceContent
getAnnounceIdList(String) - Method in class sustech.cs304.AIDE.controller.AnnounceController
Retrieves a list of announcements for a given course.
getAnnounceName() - Method in class sustech.cs304.AIDE.model.Announce
get announceName
getAnnounceName() - Method in interface sustech.cs304.AIDE.model.AnnounceProjection
get announceName
getAssignment(String, String) - Method in class sustech.cs304.AIDE.controller.AssignmentCenterController
Get the assignment by ID and user ID.
getAssignmentId() - Method in class sustech.cs304.AIDE.model.Resource
get the ID of the assignment
getAssignmentId() - Method in class sustech.cs304.AIDE.model.Submission
get ID of the assignment
getAssignmentIdList(String) - Method in class sustech.cs304.AIDE.controller.AssignmentCenterController
Get the list of assignment IDs for a course.
getAssignmentName() - Method in class sustech.cs304.AIDE.model.Assignment
get assignmentName
getAttachmentId(String) - Method in class sustech.cs304.AIDE.controller.AssignmentCenterController
Retrieves the attachment ID by assignment ID.
getAttachmentResourceById(String) - Method in class sustech.cs304.AIDE.controller.AssignmentCenterController
Retrieves the attachment resource by ID.
getAvatarUrl() - Method in class sustech.cs304.AIDE.model.User
get the URL of the user's avatar
getBio() - Method in class sustech.cs304.AIDE.model.User
get the bio of the user
getCloseTime() - Method in class sustech.cs304.AIDE.model.Course
get closeTime
getCloseTime(String) - Method in class sustech.cs304.AIDE.controller.CourseController
Retrieves the close time of a course by its ID.
getCourseById(String) - Method in class sustech.cs304.AIDE.controller.CourseController
Retrieves a course by its ID.
getCourseId() - Method in class sustech.cs304.AIDE.model.Announce
get courseId
getCourseId() - Method in interface sustech.cs304.AIDE.model.AnnounceProjection
get courseId
getCourseId() - Method in class sustech.cs304.AIDE.model.Assignment
get courseId
getCourseId() - Method in class sustech.cs304.AIDE.model.CourseInvitation
get ID of the course
getCourseId() - Method in class sustech.cs304.AIDE.model.Enrollment
get the ID of the user
getCourseId() - Method in class sustech.cs304.AIDE.model.Resource
get the ID of the course
getCourseIdList(String) - Method in class sustech.cs304.AIDE.controller.CourseController
Retrieves a list of course IDs for a specific user.
getCourseList(String) - Method in class sustech.cs304.AIDE.controller.CourseController
Retrieves a list of courses for a specific user.
getCourseName() - Method in class sustech.cs304.AIDE.model.Course
get courseName
getCourseName(String) - Method in class sustech.cs304.AIDE.controller.CourseController
Retrieves the course name by its ID.
getDeadline() - Method in class sustech.cs304.AIDE.model.Assignment
get deadline
getDialogMessages(String, String) - Method in class sustech.cs304.AIDE.controller.ChatMessageController
Retrieves messages from a specific dialog.
getEmail() - Method in class sustech.cs304.AIDE.model.User
get the email of the user
getFriendList(String) - Method in class sustech.cs304.AIDE.controller.FriendshipController
Retrieves a list of friends for a specific user.
getFriendRequestList(String) - Method in class sustech.cs304.AIDE.controller.FriendshipController
Retrieves a list of pending friendship requests for a specific user.
getGroupId() - Method in class sustech.cs304.AIDE.model.Resource
get the ID of the group
getGroupMessages(String) - Method in class sustech.cs304.AIDE.controller.ChatMessageController
Retrieves messages from a specific group.
getId() - Method in class sustech.cs304.AIDE.model.Announce
get id
getId() - Method in interface sustech.cs304.AIDE.model.AnnounceProjection
get id
getId() - Method in class sustech.cs304.AIDE.model.Assignment
get Id
getId() - Method in class sustech.cs304.AIDE.model.Course
get Id
getId() - Method in class sustech.cs304.AIDE.model.CourseInvitation
get ID of the course invitation
getId() - Method in class sustech.cs304.AIDE.model.Enrollment
get the ID of the enrollment
getId() - Method in class sustech.cs304.AIDE.model.Resource
get the ID of the resource
getId() - Method in class sustech.cs304.AIDE.model.Submission
get ID
getId() - Method in class sustech.cs304.AIDE.model.User
get the ID of the user
getInvitationCourses(String) - Method in class sustech.cs304.AIDE.controller.CourseInvitationController
Retrieves a list of courses for which a user has been invited.
getLastLoginTime() - Method in class sustech.cs304.AIDE.model.User
get the last login time of the user
getMessage() - Method in class sustech.cs304.AIDE.model.ChatMessage
get message
getOpening() - Method in class sustech.cs304.AIDE.model.Course
get opening
getOpening(String) - Method in class sustech.cs304.AIDE.controller.CourseController
Retrieves the opening status of a course by its ID.
getOpenTime() - Method in class sustech.cs304.AIDE.model.Course
get openTime
getOpenTime(String) - Method in class sustech.cs304.AIDE.controller.CourseController
Retrieves the open time of a course by its ID.
getPhoneNumber() - Method in class sustech.cs304.AIDE.model.User
get the phone number of the user
getPlatformId() - Method in class sustech.cs304.AIDE.model.User
get the ID of the user on the platform
getReceiverId() - Method in class sustech.cs304.AIDE.model.ChatMessage
get receiverId
getRegisterTime() - Method in class sustech.cs304.AIDE.model.User
get the registration time of the user
getResourceAddress(String) - Method in class sustech.cs304.AIDE.controller.AssignmentCenterController
Retrieves the resource address by resource ID.
getResourceIdList(String, String) - Method in class sustech.cs304.AIDE.controller.ResourceController
Get a list of resource IDs for a specific course.
getResourceList(String) - Method in class sustech.cs304.AIDE.controller.ResourceController
Get a list of resources for a specific course.
getResourceName() - Method in class sustech.cs304.AIDE.model.Resource
get the name of the resource
getSenderId() - Method in class sustech.cs304.AIDE.model.ChatMessage
get senderId
getSize() - Method in class sustech.cs304.AIDE.model.Resource
get the size of the resource
getStatus() - Method in class sustech.cs304.AIDE.model.Friendship
get status of the friendship
getSubmissionList(Long) - Method in class sustech.cs304.AIDE.controller.AssignmentCenterController
Retrieves the list of submissions for an assignment.
getTimestamp() - Method in class sustech.cs304.AIDE.model.ChatMessage
get timestamp
getType() - Method in class sustech.cs304.AIDE.model.Resource
get the type of the resource
getUploadTime() - Method in class sustech.cs304.AIDE.model.Resource
get the upload time of the resource
getUpLoadTime() - Method in class sustech.cs304.AIDE.model.Announce
get upLoadTime
getUpLoadTime() - Method in interface sustech.cs304.AIDE.model.AnnounceProjection
get uploadTime
getUpLoadTime() - Method in class sustech.cs304.AIDE.model.Resource
get the upload time of the resource
getUserAvatar(String) - Method in class sustech.cs304.AIDE.controller.SelfRelatedController
Retrieves the avatar URL for a given platform ID.
getUserBio(String) - Method in class sustech.cs304.AIDE.controller.SelfRelatedController
Retrieves the bio for a given platform ID.
getUserByCourseId(String) - Method in class sustech.cs304.AIDE.controller.CourseController
Retrieves a list of users enrolled in a course by its ID.
getUserEmail(String) - Method in class sustech.cs304.AIDE.controller.SelfRelatedController
Retrieves the email for a given platform ID.
getUserId() - Method in class sustech.cs304.AIDE.model.CourseInvitation
get ID of the user
getUserId() - Method in class sustech.cs304.AIDE.model.Submission
get ID of the user
getUserId1() - Method in class sustech.cs304.AIDE.model.Friendship
get ID of the friendship
getUserId2() - Method in class sustech.cs304.AIDE.model.Friendship
get ID of the second user
getUserLastLoginTime(String) - Method in class sustech.cs304.AIDE.controller.SelfRelatedController
Retrieves the last login time for a given platform ID.
getUsername() - Method in class sustech.cs304.AIDE.model.User
get the username of the user
getUserName(String) - Method in class sustech.cs304.AIDE.controller.SelfRelatedController
Retrieves the username for a given platform ID.
getUserPhoneNumber(String) - Method in class sustech.cs304.AIDE.controller.SelfRelatedController
Retrieves the phone number for a given platform ID.
getUserRegisterTime(String) - Method in class sustech.cs304.AIDE.controller.SelfRelatedController
Retrieves the registration time for a given platform ID.
getVisible() - Method in class sustech.cs304.AIDE.model.Announce
get visible
getVisible() - Method in class sustech.cs304.AIDE.model.Assignment
get visible
getVisible() - Method in class sustech.cs304.AIDE.model.Resource
get the visibility of the resource
getVisibleAnnounceIdList(String) - Method in class sustech.cs304.AIDE.controller.AnnounceController
Retrieves a list of visible announcement IDs for a given course.
getVisibleAnnounceList(String) - Method in class sustech.cs304.AIDE.controller.AnnounceController
Retrieves a list of visible announcements for a given course.
getVisibleAssignmentIdList(String) - Method in class sustech.cs304.AIDE.controller.AssignmentCenterController
Get the list of visible assignment IDs for a course.
getVisibleResourceIdList(String, String) - Method in class sustech.cs304.AIDE.controller.ResourceController
Get a list of visible resource IDs for a specific course.
getVisibleResourceList(String) - Method in class sustech.cs304.AIDE.controller.ResourceController
Get a list of visible resources for a specific course.
githubCallback(String, String) - Method in class sustech.cs304.AIDE.controller.AuthController
Handles the GitHub OAuth callback.
githubLogin() - Method in class sustech.cs304.AIDE.controller.AuthController
Initiates the GitHub login process.
googleCallback(String, String) - Method in class sustech.cs304.AIDE.controller.AuthController
Handles the Google OAuth callback.
googleLogin() - Method in class sustech.cs304.AIDE.controller.AuthController
Initiates the Google login process.

H

handleCallback(String) - Method in class sustech.cs304.AIDE.controller.AuthController
Handles the callback for login status.

I

isVisible() - Method in interface sustech.cs304.AIDE.model.AnnounceProjection
get announceContent

M

main(String[]) - Static method in class sustech.cs304.AIDE.AideServerSpringApplication
Main method to run the AIDE server application.

O

openCourse() - Method in class sustech.cs304.AIDE.model.Course
open the course

R

registerStompEndpoints(StompEndpointRegistry) - Method in class sustech.cs304.AIDE.config.WebSocketConfig
Register STOMP endpoints for WebSocket communication.
rejectFriendship(String, String) - Method in class sustech.cs304.AIDE.controller.FriendshipController
Rejects a friendship request between two users.
rejectInvitation(Long, String) - Method in class sustech.cs304.AIDE.controller.CourseInvitationController
Rejects a course invitation for a specific user.
reOpenAnnounce() - Method in class sustech.cs304.AIDE.model.Announce
reopen the announce
reOpenAnnounce(Long, String) - Method in class sustech.cs304.AIDE.controller.AnnounceController
Reopens an announcement by its ID.
reOpenAssignment(String, String) - Method in class sustech.cs304.AIDE.controller.AssignmentCenterController
Reopens an assignment.
reOpenCourse() - Method in class sustech.cs304.AIDE.model.Course
close the course
reOpenCourse(String, String) - Method in class sustech.cs304.AIDE.controller.CourseController
Reopens a course.
Resource - Class in sustech.cs304.AIDE.model
Represents a resource in the system.
Resource() - Constructor for class sustech.cs304.AIDE.model.Resource
 
Resource(String, String, String) - Constructor for class sustech.cs304.AIDE.model.Resource
Constructor for Resource
Resource(String, String, String, String, Long, String) - Constructor for class sustech.cs304.AIDE.model.Resource
Constructor for Resource
ResourceController - Class in sustech.cs304.AIDE.controller
Controller for managing resources in a course.
ResourceController(CourseRepository, ResourceRepository) - Constructor for class sustech.cs304.AIDE.controller.ResourceController
Constructor for ResourceController.
ResourceRepository - Interface in sustech.cs304.AIDE.repository
Repository interface for managing Resource entities.

S

SelfRelatedController - Class in sustech.cs304.AIDE.controller
Controller for handling user-related operations.
SelfRelatedController(UserRepository) - Constructor for class sustech.cs304.AIDE.controller.SelfRelatedController
Constructor for SelfRelatedController.
sendGroupMessage(ChatMessage) - Method in class sustech.cs304.AIDE.controller.ChatController
Handles sending a group chat message.
sendPrivateMessage(ChatMessage) - Method in class sustech.cs304.AIDE.controller.ChatController
Handles sending a private chat message.
setAddress(String) - Method in class sustech.cs304.AIDE.model.Resource
set the address of the resource
setAddress(String) - Method in class sustech.cs304.AIDE.model.Submission
set address of the submission
setAdminId(String) - Method in class sustech.cs304.AIDE.model.Course
set adminId
setAdminId(String, String, String) - Method in class sustech.cs304.AIDE.controller.CourseController
Sets the admin ID of a course.
setannounceContent(String) - Method in class sustech.cs304.AIDE.model.Announce
set announceContent
setAnnounceContent(Long, String, String) - Method in class sustech.cs304.AIDE.controller.AnnounceController
Updates the content of an announcement by its ID.
setAnnounceName(Long, String, String) - Method in class sustech.cs304.AIDE.controller.AnnounceController
Updates the name of an announcement by its ID.
setAnnounceName(String) - Method in class sustech.cs304.AIDE.model.Announce
set announceName
setAssignmentId(Long) - Method in class sustech.cs304.AIDE.model.Submission
set ID of the assignment
setAssignmentId(String) - Method in class sustech.cs304.AIDE.model.Resource
set the ID of the assignment
setAssignmentName(String) - Method in class sustech.cs304.AIDE.model.Assignment
Set the name of the assignment.
setAvatarUrl(String) - Method in class sustech.cs304.AIDE.model.User
set avatar URL of the user
setBio(String) - Method in class sustech.cs304.AIDE.model.User
set the bio of the user
setCloseTime(LocalDateTime) - Method in class sustech.cs304.AIDE.model.Course
set closeTime
setCourseId(Long) - Method in class sustech.cs304.AIDE.model.CourseInvitation
set ID of the course invitation
setCourseId(String) - Method in class sustech.cs304.AIDE.model.Assignment
Set the course ID for the assignment.
setCourseId(String) - Method in class sustech.cs304.AIDE.model.Resource
set the ID of the course
setCourseName(String) - Method in class sustech.cs304.AIDE.model.Course
set courseName
setCourseName(String, String, String) - Method in class sustech.cs304.AIDE.controller.CourseController
Sets the course name.
setDeadline(LocalDateTime) - Method in class sustech.cs304.AIDE.model.Assignment
Set the deadline for the assignment.
setEmail(String) - Method in class sustech.cs304.AIDE.model.User
set email of the user
setGroupId(Long) - Method in class sustech.cs304.AIDE.model.Resource
set the ID of the group
setId(Long) - Method in class sustech.cs304.AIDE.model.CourseInvitation
set ID of the course
setMessage(String) - Method in class sustech.cs304.AIDE.model.ChatMessage
set message
setOpening(boolean) - Method in class sustech.cs304.AIDE.model.Course
set opening
setOpenTime(LocalDateTime) - Method in class sustech.cs304.AIDE.model.Course
set openTime
setPhoneNumber(String) - Method in class sustech.cs304.AIDE.model.User
set phone number of the user
setReceiverId(String) - Method in class sustech.cs304.AIDE.model.ChatMessage
set receiverId
setResourceName(String) - Method in class sustech.cs304.AIDE.model.Resource
set the resource name
setSenderId(String) - Method in class sustech.cs304.AIDE.model.ChatMessage
set senderId
setSize(String) - Method in class sustech.cs304.AIDE.model.Resource
set the size of the resource
setStatus(String) - Method in class sustech.cs304.AIDE.model.Friendship
set status of the friendship
setTimestamp(LocalDateTime) - Method in class sustech.cs304.AIDE.model.ChatMessage
set timestamp
setType(String) - Method in class sustech.cs304.AIDE.model.Resource
set the type of the resource
setUpLoadTime(LocalDateTime) - Method in class sustech.cs304.AIDE.model.Resource
set the upload time of the resource
setUserAvatar(String, MultipartFile) - Method in class sustech.cs304.AIDE.controller.SelfRelatedController
Sets the avatar for a given platform ID.
setUserBio(String, String) - Method in class sustech.cs304.AIDE.controller.SelfRelatedController
Sets the bio for a given platform ID.
setUserEmail(String, String) - Method in class sustech.cs304.AIDE.controller.SelfRelatedController
Sets the email for a given platform ID.
setUserId(String) - Method in class sustech.cs304.AIDE.model.CourseInvitation
set ID of the user
setUserId(String) - Method in class sustech.cs304.AIDE.model.Submission
set ID of the user
setUserId1(String) - Method in class sustech.cs304.AIDE.model.Friendship
set ID of the first user
setUserId2(String) - Method in class sustech.cs304.AIDE.model.Friendship
set ID of the second user
setUsername(String) - Method in class sustech.cs304.AIDE.model.User
set username of the user
setUserName(String, String) - Method in class sustech.cs304.AIDE.controller.SelfRelatedController
Sets the username for a given platform ID.
setUserPhoneNumber(String, String) - Method in class sustech.cs304.AIDE.controller.SelfRelatedController
Sets the phone number for a given platform ID.
setVisible(boolean) - Method in class sustech.cs304.AIDE.model.Assignment
Set the visibility of the assignment.
setVisible(boolean) - Method in class sustech.cs304.AIDE.model.Resource
set the visibility of the resource
Submission - Class in sustech.cs304.AIDE.model
Represents a submission in the system.
Submission() - Constructor for class sustech.cs304.AIDE.model.Submission
 
Submission(Long, String, String) - Constructor for class sustech.cs304.AIDE.model.Submission
Constructor for Submission
SubmissionRepository - Interface in sustech.cs304.AIDE.repository
Repository interface for managing Submission entities.
submitAssignment(String, String, MultipartFile) - Method in class sustech.cs304.AIDE.controller.AssignmentCenterController
Submits an assignment.
sustech.cs304.AIDE - package sustech.cs304.AIDE
 
sustech.cs304.AIDE.config - package sustech.cs304.AIDE.config
 
sustech.cs304.AIDE.controller - package sustech.cs304.AIDE.controller
 
sustech.cs304.AIDE.model - package sustech.cs304.AIDE.model
 
sustech.cs304.AIDE.repository - package sustech.cs304.AIDE.repository
 

U

updateAddressById(Long, String) - Method in interface sustech.cs304.AIDE.repository.ResourceRepository
Update the address of a resource by its ID.
updateAddressById(Long, String) - Method in interface sustech.cs304.AIDE.repository.SubmissionRepository
Update address of a submission by its ID.
updateAnnounceContentById(String, String) - Method in interface sustech.cs304.AIDE.repository.AnnounceRepository
update the announce content by id
updateAnnounceNameById(String, String) - Method in interface sustech.cs304.AIDE.repository.AnnounceRepository
update the announce name by id
updateGroupId(String, Long, String) - Method in class sustech.cs304.AIDE.controller.ResourceController
Update the group ID of a resource.
updateGroupIdById(Long, Long) - Method in interface sustech.cs304.AIDE.repository.ResourceRepository
Update the group ID of a resource by its ID.
updateLastLoginTime() - Method in class sustech.cs304.AIDE.model.User
update the last login time of the user
updateResource(String, MultipartFile, String) - Method in class sustech.cs304.AIDE.controller.ResourceController
Update the resource file.
updateResourceNameById(Long, String) - Method in interface sustech.cs304.AIDE.repository.ResourceRepository
Update the resource name by its ID.
updateSizeById(Long, String) - Method in interface sustech.cs304.AIDE.repository.ResourceRepository
Update the size of a resource by its ID.
updateTypeById(Long, String) - Method in interface sustech.cs304.AIDE.repository.ResourceRepository
Update the type of a resource by its ID.
updateUploadTimeById(Long, String) - Method in interface sustech.cs304.AIDE.repository.ResourceRepository
Update the upload time of a resource by its ID.
updateVisibilityById(Long, boolean) - Method in interface sustech.cs304.AIDE.repository.ResourceRepository
Update the visibility status of a resource by its ID.
updateVisibilityById(String, boolean) - Method in interface sustech.cs304.AIDE.repository.AnnounceRepository
update the announce by id
uploadAttachment(String, MultipartFile, String) - Method in class sustech.cs304.AIDE.controller.AssignmentCenterController
Uploads an attachment for an assignment.
uploadResource(String, MultipartFile, String, Long) - Method in class sustech.cs304.AIDE.controller.ResourceController
Uploads a resource file to the server.
User - Class in sustech.cs304.AIDE.model
Represents a user in the system.
User() - Constructor for class sustech.cs304.AIDE.model.User
 
User(String, String, String) - Constructor for class sustech.cs304.AIDE.model.User
Constructor for User
UserRepository - Interface in sustech.cs304.AIDE.repository
Repository interface for managing User entities.

W

WebMevConfig - Class in sustech.cs304.AIDE.config
Spring MVC configuration class that maps static resources from the local file system.
WebMevConfig() - Constructor for class sustech.cs304.AIDE.config.WebMevConfig
 
WebSocketConfig - Class in sustech.cs304.AIDE.config
Spring configuration class for WebSocket communication.
WebSocketConfig() - Constructor for class sustech.cs304.AIDE.config.WebSocketConfig
 

X

xCallback(String) - Method in class sustech.cs304.AIDE.controller.AuthController
Handles the X OAuth callback.
xLohin() - Method in class sustech.cs304.AIDE.controller.AuthController
Initiates the X login process.
A C D E F G H I M O R S U W X 
All Classes and Interfaces|All Packages