Uses of Class
com.skava.auth.model.entities.Role
Packages that use Role
Package
Description
Models to represent the entity classes.
Data transfer classes for role to transfer data from service to RoleController.
Data transfer classes for entities to hold the entity related informations.
Repository classes to represent the data access layer of the entities.
Classes to validate the request from the controllers to service implementations.
Support classes for hold the reusable functionalities.
-
Uses of Role in com.skava.auth.model.entities
Fields in com.skava.auth.model.entities with type parameters of type RoleConstructor parameters in com.skava.auth.model.entities with type arguments of type Role -
Uses of Role in com.skava.auth.model.response.role
Constructors in com.skava.auth.model.response.role with parameters of type RoleModifierConstructorDescriptionRoleResponse
(String responseCode, Role role) Instantiates new role response.RoleResponse
(String responseCode, Role role, boolean loadPrivileges) Instantiates new role response object with load dependency check, if load dependency is required then new role dependency is added in response.Constructor parameters in com.skava.auth.model.response.role with type arguments of type RoleModifierConstructorDescriptionRolesResponse
(String responseCode, List<Role> roles) Instantiates new roles response.RolesResponse
(String responseCode, List<Role> roles, boolean loadPrivileges, Long totalCount) Instantiates new roles response. -
Uses of Role in com.skava.auth.model.rest.entities
Constructors in com.skava.auth.model.rest.entities with parameters of type Role -
Uses of Role in com.skava.auth.repository
Methods in com.skava.auth.repository that return types with arguments of type RoleModifier and TypeMethodDescriptionorg.springframework.data.domain.Page<Role>
RoleRepository.findAll
(org.springframework.data.jpa.domain.Specification<Role> getAllCollectionSpec, org.springframework.data.domain.Pageable pageRequest) RoleRepository.findByNameAndBusinessIdInAndCollectionIdIn
(String roleName, List<Long> businessIds, List<Long> collectionIds) RoleRepository.findByNameAndCollectionIdIn
(String roleName, List<Long> collectionId) Method parameters in com.skava.auth.repository with type arguments of type Role -
Uses of Role in com.skava.auth.service.validator
Methods in com.skava.auth.service.validator that return RoleModifier and TypeMethodDescriptionAuthValidatorComponent.validateRole
(Long collectionId, Long businessId, Map<Long, Map<String, Role>> businessRolesMap, String roleName) This method validate the roles availability.AuthValidatorComponent.validateRole
(String roleName, Long collectionId, Long businessId) Methods in com.skava.auth.service.validator with parameters of type RoleModifier and TypeMethodDescriptionvoid
AuthValidatorComponent.validateBusinessIdForRole
(Role role, Long businessId) This method validate the business identifier of the custom role.Method parameters in com.skava.auth.service.validator with type arguments of type RoleModifier and TypeMethodDescriptionvoid
AuthValidatorComponent.validateClientRole
(String roleName, ClientRoleVO clientRole, Long collectionId, Map<Long, Map<String, Role>> businessRolesMap) Validates the role availability.AuthValidatorComponent.validateRole
(Long collectionId, Long businessId, Map<Long, Map<String, Role>> businessRolesMap, String roleName) This method validate the roles availability.void
AuthValidatorComponent.validateRole
(String roleName, UserRoleVO userRole, Long collectionId, Map<Long, Map<String, Role>> businessRolesMap) Validates the role availability. -
Uses of Role in com.skava.auth.util
Methods in com.skava.auth.util that return RoleModifier and TypeMethodDescriptionstatic Role
RoleUtil.createRole
(RoleVO input, Long collectionId, Long userId, RoleRepository roleRepository) static Role
RoleUtil.createRole
(RoleVO inputRole, Set<Privilege> privileges, Long collectionId, Long userId, RoleRepository roleRepository) static Role
RoleUtil.getRole
(Long roleId, RoleRepository roleRepository) static Role
FeaturesRoleMappingUtil.getRoleById
(Long roleId, RoleRepository roleRepository) static Role
RoleUtil.updateRole
(Role role, RoleRepository roleRepository) static Role
RoleUtil.updateRole
(Role role, Set<Privilege> privileges, RoleRepository roleRepository) static Role
FeaturesRoleMappingUtil.updateRoleForFeaturesRoleMapping
(FeaturesPrivilegeMapping featuresPrivilegeMapping, RoleRepository roleRepository, PrivilegeRepository privilegeRepository, Role role, FeaturesRoleMappingVO input) Methods in com.skava.auth.util that return types with arguments of type RoleModifier and TypeMethodDescriptionstatic org.springframework.data.domain.Page<Role>
RoleUtil.searchRoles
(String filter, RequestData input, RoleRepository roleRepository, jakarta.persistence.EntityManager entityManager) Methods in com.skava.auth.util with parameters of type RoleModifier and TypeMethodDescriptionstatic void
RoleUtil.deleteRole
(Role role, RoleRepository roleRepository) static Role
RoleUtil.updateRole
(Role role, RoleRepository roleRepository) static Role
RoleUtil.updateRole
(Role role, Set<Privilege> privileges, RoleRepository roleRepository) static Role
FeaturesRoleMappingUtil.updateRoleForFeaturesRoleMapping
(FeaturesPrivilegeMapping featuresPrivilegeMapping, RoleRepository roleRepository, PrivilegeRepository privilegeRepository, Role role, FeaturesRoleMappingVO input)