Interface IRoleDAO

All Superinterfaces:
IGenericDAO<Role,UUID>
All Known Implementing Classes:
RoleDAOImpl

public interface IRoleDAO extends IGenericDAO<Role,UUID>
Data Access Object (DAO) interface for managing Role entities.

Extends IGenericDAO to inherit common CRUD operations and defines additional queries specific to Role management.

See Also:
  • Method Details

    • findByRoleName

      Optional<Role> findByRoleName(String roleName)
      Finds a role by its unique name.
      Parameters:
      roleName - The name of the role - must not be null.
      Returns:
      An Optional containing the role if found, otherwise an empty Optional.