Package com.alpaca.persistence
Interface IUserDAO
- All Superinterfaces:
IGenericDAO<User,
UUID>
- All Known Implementing Classes:
UserDAOImpl
Data Access Object (DAO) interface for managing
User
entities.
Extends IGenericDAO
to inherit common CRUD operations and defines additional queries
specific to User
management.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionboolean
existsByEmail
(String email) Checks whether a user with the specified email exists.findByEmail
(String email) Finds a user by their email address.Methods inherited from interface com.alpaca.persistence.IGenericDAO
deleteById, existsAllByIds, existsById, existsByUniqueProperties, findAll, findAllByIds, findAllPage, findById, save, saveAll, updateById
-
Method Details
-
findByEmail
Finds a user by their email address. -
existsByEmail
Checks whether a user with the specified email exists.- Parameters:
email
- The email address to check - must not be null.- Returns:
true
if a user with the given email exists,false
otherwise.
-