Uses of Class
com.alpaca.entity.Role
Packages that use Role
Package
Description
-
Uses of Role in com.alpaca.entity
Fields in com.alpaca.entity declared as RoleModifier and TypeFieldDescriptionprivate Role
RolePermission.role
The Role associated with this RolePermission.private Role
UserRole.role
The Role associated with this UserRole.Methods in com.alpaca.entity that return types with arguments of type RoleModifier and TypeMethodDescriptionUser.getRoles()
Retrieves the list of roles assigned to the User.Method parameters in com.alpaca.entity with type arguments of type RoleModifier and TypeMethodDescriptionUser.rolesToUserRoles
(Collection<Role> roles) void
User.setUserRoles
(Collection<Role> roles) Constructors in com.alpaca.entity with parameters of type RoleModifierConstructorDescriptionRolePermission
(Role role, Permission permission) Constructs an instance of a new RolePermission object with the specified attributes.Constructs an instance of a new UserRole object with the specified attributes.Constructor parameters in com.alpaca.entity with type arguments of type RoleModifierConstructorDescriptionUser
(String email, String password, boolean enabled, boolean accountNoExpired, boolean accountNoLocked, boolean credentialNoExpired, boolean emailVerified, boolean googleConnected, Set<Role> roles) Constructs an instance of a new User object with the specified attributes.Constructs an instance of a new User object with the specified attributes. -
Uses of Role in com.alpaca.mapper.impl
Methods in com.alpaca.mapper.impl that return RoleModifier and TypeMethodDescriptionRoleMapperImpl.toEntity
(RoleRequestDTO requestDTO) Converts aRoleRequestDTO
into aRole
entity.Methods in com.alpaca.mapper.impl with parameters of type RoleModifier and TypeMethodDescriptionRoleMapperImpl.toResponseDTO
(Role entity) Converts aRole
entity into aRoleResponseDTO
.Method parameters in com.alpaca.mapper.impl with type arguments of type RoleModifier and TypeMethodDescriptionRoleMapperImpl.toListResponseDTO
(Collection<Role> entities) Converts a collection ofRole
entities into a list ofRoleResponseDTO
. -
Uses of Role in com.alpaca.persistence
Methods in com.alpaca.persistence that return types with arguments of type RoleModifier and TypeMethodDescriptionIRoleDAO.findByRoleName
(String roleName) Finds a role by its unique name. -
Uses of Role in com.alpaca.persistence.impl
Methods in com.alpaca.persistence.impl that return RoleModifier and TypeMethodDescriptionRoleDAOImpl.updateById
(Role role, UUID id) Updates an existingRole
identified by the given ID with the non-null, non-blank properties from the suppliedrole
object.Methods in com.alpaca.persistence.impl that return types with arguments of type RoleModifier and TypeMethodDescriptionRoleDAOImpl.findByRoleName
(String roleName) Retrieves aRole
entity by its role name.RoleDAOImpl.getEntity()
Returns the class object representing the entity managed by this DAO.protected GenericRepo
<Role, UUID> RoleDAOImpl.getRepo()
Provides the specific repository used by the generic DAO system.Methods in com.alpaca.persistence.impl with parameters of type RoleModifier and TypeMethodDescriptionboolean
RoleDAOImpl.existsByUniqueProperties
(Role role) Determines whether a role already exists based on its unique properties.RoleDAOImpl.updateById
(Role role, UUID id) Updates an existingRole
identified by the given ID with the non-null, non-blank properties from the suppliedrole
object. -
Uses of Role in com.alpaca.repository
Methods in com.alpaca.repository that return types with arguments of type RoleModifier and TypeMethodDescriptionRoleRepo.findByRoleName
(String roleName) Retrieves a role by its name. -
Uses of Role in com.alpaca.service
Methods in com.alpaca.service that return RoleModifier and TypeMethodDescriptionIRoleService.findByRoleName
(String roleName) Finds a role by its name.Methods in com.alpaca.service that return types with arguments of type RoleModifier and TypeMethodDescriptionIRoleService.getUserRoles()
Retrieves the set of roles assigned to the current user. -
Uses of Role in com.alpaca.service.impl
Methods in com.alpaca.service.impl that return RoleModifier and TypeMethodDescriptionRoleServiceImpl.findByRoleName
(String roleName) Finds aRole
by its name.Methods in com.alpaca.service.impl that return types with arguments of type RoleModifier and TypeMethodDescriptionprotected IGenericDAO
<Role, UUID> RoleServiceImpl.getDAO()
Provides the generic DAO used by inherited service methods.RoleServiceImpl.getUserRoles()
Retrieves the default set of roles assigned to users.