Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
S
- searchBooksByTitle(String) - Method in class com.fssa.librarymanagement.dao.BookDAO
-
Retrieves books by a title match.
- searchBooksByTitle(String) - Method in class com.fssa.librarymanagement.service.BookService
-
Search for books by a title match.
- SELECT_QUERY - Static variable in class com.fssa.librarymanagement.constants.UserConstants
- SELECT_QUERY_PREFIX - Static variable in class com.fssa.librarymanagement.constants.BorrowConstants
- ServiceException - Exception in com.fssa.librarymanagement.exceptions
-
This exception class is used to handle errors related to service layer operations.
- ServiceException(String) - Constructor for exception com.fssa.librarymanagement.exceptions.ServiceException
-
Creates a new ServiceException with the specified detail message.
- ServiceException(String, Throwable) - Constructor for exception com.fssa.librarymanagement.exceptions.ServiceException
-
Creates a new ServiceException with the specified detail message and cause of the exception.
- ServiceException(Throwable) - Constructor for exception com.fssa.librarymanagement.exceptions.ServiceException
-
Creates a new ServiceException with the specified cause.
- setActive(boolean) - Method in class com.fssa.librarymanagement.model.Comment
-
Set the comment's active status.
- setActive(boolean) - Method in class com.fssa.librarymanagement.model.User
-
Set the user's account activation status.
- setAdmin(boolean) - Method in class com.fssa.librarymanagement.model.User
-
Set the user's administrator status.
- setAuthor(String) - Method in class com.fssa.librarymanagement.model.Book
-
Set the book's author.
- setAuthorName(String) - Method in class com.fssa.librarymanagement.model.BookRequest
-
Set the name of the book's author.
- setAvailableCopies(int) - Method in class com.fssa.librarymanagement.model.Book
-
Set the number of available copies of the book.
- setBook(Book) - Method in class com.fssa.librarymanagement.model.Borrow
-
Set the borrowed book.
- setBook(Book) - Method in class com.fssa.librarymanagement.model.Comment
-
Set the book associated with the comment.
- setBookId(int) - Method in class com.fssa.librarymanagement.model.Book
-
Set the book's ID.
- setBookId(int) - Method in class com.fssa.librarymanagement.model.Rating
-
Set the ID of the rated book.
- setBookName(String) - Method in class com.fssa.librarymanagement.model.BookRequest
-
Set the name of the requested book.
- setBorrowDate(LocalDateTime) - Method in class com.fssa.librarymanagement.model.Borrow
-
Set the date when the book was borrowed and calculate the due date.
- setBorrowId(int) - Method in class com.fssa.librarymanagement.model.Borrow
-
Set the borrow's ID.
- setCommentId(int) - Method in class com.fssa.librarymanagement.model.Comment
-
Set the comment's ID.
- setCoverImage(String) - Method in class com.fssa.librarymanagement.model.Book
-
Set the book's cover image.
- setCreatedAt(LocalDateTime) - Method in class com.fssa.librarymanagement.model.Comment
-
Set the date and time when the comment was created.
- setCreatedDate(Timestamp) - Method in class com.fssa.librarymanagement.model.User
-
Set the timestamp when the user's account was created.
- setDescription(String) - Method in class com.fssa.librarymanagement.model.Book
-
Set the book's description.
- setDescription(String) - Method in class com.fssa.librarymanagement.model.BookRequest
-
Set the description of the book request.
- setDescription(String) - Method in class com.fssa.librarymanagement.model.Comment
-
Set the description of the comment.
- setDob(LocalDate) - Method in class com.fssa.librarymanagement.model.User
-
Set the user's date of birth.
- setDueDate(BorrowingDuration) - Method in class com.fssa.librarymanagement.model.Borrow
-
Set the due date for returning the book based on the selected borrowing duration.
- setDueDate(LocalDate) - Method in class com.fssa.librarymanagement.model.Borrow
-
Set the due date for returning the book.
- setEdited(boolean) - Method in class com.fssa.librarymanagement.model.Comment
-
Set the comment's edited status.
- setEditedAt(LocalDateTime) - Method in class com.fssa.librarymanagement.model.Comment
-
Set the date and time when the comment was last edited.
- setEmail(String) - Method in class com.fssa.librarymanagement.model.User
-
Set the user's email address.
- setFine(double) - Method in class com.fssa.librarymanagement.model.Borrow
-
Set the fine associated with the return of the book.
- setGender(char) - Method in class com.fssa.librarymanagement.model.User
-
Set the user's gender.
- setGenre(String) - Method in class com.fssa.librarymanagement.model.Book
-
Set the book's genre.
- setLanguage(String) - Method in class com.fssa.librarymanagement.model.Book
-
Set the book's language.
- setLoanedCopies(int) - Method in class com.fssa.librarymanagement.model.Book
-
Set the number of loaned copies of the book.
- setMobileNo(long) - Method in class com.fssa.librarymanagement.model.User
-
Set the user's mobile number.
- setName(String) - Method in class com.fssa.librarymanagement.model.User
-
Set the user's name.
- setPages(int) - Method in class com.fssa.librarymanagement.model.Book
-
Set the number of pages in the book.
- setPassword(String) - Method in class com.fssa.librarymanagement.model.User
-
Set the user's password.
- setProfileImage(String) - Method in class com.fssa.librarymanagement.model.User
-
Set the user's profile image URL.
- setPublisher(String) - Method in class com.fssa.librarymanagement.model.Book
-
Set the book's publisher.
- setRating(int) - Method in class com.fssa.librarymanagement.model.Rating
-
Set the user's rating in stars.
- setReturnDate(LocalDate) - Method in class com.fssa.librarymanagement.model.Borrow
-
Set the date when the book was returned.
- setReturned(boolean) - Method in class com.fssa.librarymanagement.model.Borrow
-
Set the borrow's return status.
- setSourceLink(String) - Method in class com.fssa.librarymanagement.model.BookRequest
-
Set the source link of the requested book.
- setTestingMode(boolean) - Static method in class com.fssa.librarymanagement.utils.ConnectionUtil
-
Set the testing mode for database connections.
- setTitle(String) - Method in class com.fssa.librarymanagement.model.Book
-
Set the book's title.
- setTotalCopies(int) - Method in class com.fssa.librarymanagement.model.Book
-
Set the total number of copies of the book.
- setTrusted(boolean) - Method in class com.fssa.librarymanagement.model.Comment
-
Set the comment's trusted status.
- setUser(User) - Method in class com.fssa.librarymanagement.model.Borrow
-
Set the user who borrowed the book.
- setUser(User) - Method in class com.fssa.librarymanagement.model.Comment
-
Set the user who posted the comment.
- setUserId(int) - Method in class com.fssa.librarymanagement.model.Rating
-
Set the ID of the user who rated the book.
- setUserId(int) - Method in class com.fssa.librarymanagement.model.User
-
Set the user's unique ID.
- submitRating(Rating) - Method in class com.fssa.librarymanagement.dao.RatingDAO
-
Submit a new rating for a book.
- submitRating(Rating) - Method in class com.fssa.librarymanagement.service.RatingService
-
Submits a rating for a book, validating the rating value.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form