Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
D
- DAOException - Exception in com.fssa.librarymanagement.exceptions
-
This exception class is used to handle errors related to Data Access Object (DAO) operations.
- DAOException(String) - Constructor for exception com.fssa.librarymanagement.exceptions.DAOException
-
Constructs a new DAOException with the specified detail message.
- DAOException(String, Throwable) - Constructor for exception com.fssa.librarymanagement.exceptions.DAOException
-
Constructs a new DAOException with the specified detail message and cause of the exception.
- DAOException(Throwable) - Constructor for exception com.fssa.librarymanagement.exceptions.DAOException
-
Constructs a new DAOException with the specified cause.
- DatabaseConnectionException - Exception in com.fssa.librarymanagement.exceptions
-
This exception class is used to handle errors related to database connection.
- DatabaseConnectionException(String) - Constructor for exception com.fssa.librarymanagement.exceptions.DatabaseConnectionException
-
Constructs a new DatabaseConnectionException with the specified detail message.
- DatabaseConnectionException(String, Throwable) - Constructor for exception com.fssa.librarymanagement.exceptions.DatabaseConnectionException
-
Constructs a new DatabaseConnectionException with the specified detail message and cause of the exception.
- DatabaseConnectionException(Throwable) - Constructor for exception com.fssa.librarymanagement.exceptions.DatabaseConnectionException
-
Constructs a new DatabaseConnectionException with the cause of the exception.
- DATE_OF_BIRTH_CANNOT_BE_EMPTY - Static variable in class com.fssa.librarymanagement.constants.UserConstants
- DELETE_COMMENT_QUERY - Static variable in class com.fssa.librarymanagement.constants.CommentConstants
- deleteBook(int) - Method in class com.fssa.librarymanagement.dao.BookDAO
-
Marks a book as inactive (soft delete) by its title.
- deleteBook(int) - Method in class com.fssa.librarymanagement.service.BookService
-
Delete a book by its id.
- deleteComment(int) - Method in class com.fssa.librarymanagement.dao.CommentDAO
-
Delete a comment by its ID.
- deleteComment(int) - Method in class com.fssa.librarymanagement.service.CommentService
-
Deletes a comment by its comment ID.
- deleteUser(String) - Method in class com.fssa.librarymanagement.dao.UserDAO
-
Deletes a user by their email.
- deleteUser(String) - Method in class com.fssa.librarymanagement.service.UserService
-
Delete a user.
- DIGITS_REGEX - Static variable in class com.fssa.librarymanagement.constants.BookConstants
- doesBookExist(int) - Method in class com.fssa.librarymanagement.dao.BookDAO
-
Checks if a book with the given id exists in the database.
- doesUserExist(String) - Method in class com.fssa.librarymanagement.dao.UserDAO
-
Checks if a user with the given email exists.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form