Uses of Class
com.skava.auth.model.entities.UserRole
Packages that use UserRole
Package
Description
Support classes for access controlling, exception handling, session handling and caching.
Models to represent the entity classes.
Data transfer classes for user role to transfer data from service to UserRoleController.
Data transfer classes for entities to hold the entity related informations.
Repository classes to represent the data access layer of the entities.
Implementation classes to represent the service layer implementations of the user role.
Support classes for hold the reusable functionalities.
-
Uses of UserRole in com.skava.auth.helper
Method parameters in com.skava.auth.helper with type arguments of type UserRoleModifier and TypeMethodDescriptionstatic boolean
AccessControlHelper.hasPersmissionToUpdateRoles
(Set<UserRole> existingUserRoles, Set<UserRoleVO> requestUserRoles, com.skava.core.auth.AuthTokenHandler authTokenHandler, Long userId) This method will validate the auth token user has access to update rolesstatic void
AccessControlHelper.preAuthorize
(Long userId, Long collectionId, Set<UserRole> existingUserRoles, Set<UserRoleVO> requestUserRoles, com.skava.core.auth.AuthTokenHandler authTokenHandler, org.springframework.context.MessageSource messageSource) static void
AccessControlHelper.preAuthorize
(Long userId, Long collectionId, Set<UserRole> existingUserRoles, Set<UserRoleVO> requestUserRoles, com.skava.core.auth.AuthTokenHandler authTokenHandler, org.springframework.context.MessageSource messageSource, boolean skipSelfAcccess) -
Uses of UserRole in com.skava.auth.model.entities
Methods in com.skava.auth.model.entities with parameters of type UserRoleModifier and TypeMethodDescriptionboolean
UserRole.isBusinessIdNotEqual
(UserRole other) This method is to check the equality of two business identifiers from two different objects, return TRUE if equals else FALSE.boolean
UserRole.isCollectionIdNotEqual
(UserRole other) This method is to check the equality of two collection identifiers from two different objects, return TRUE if equals else FALSE.boolean
UserRole.isRoleNameNotEqual
(UserRole other) This method is to check the equality of two roles from two different objects, return TRUE if equals else FALSE.boolean
UserRole.isServiceCollectionIdNotEqual
(UserRole other) This method is to check the equality of two service collection identifiers from two different objects, return TRUE if equals else FALSE.boolean
UserRole.isServiceNotEqual
(UserRole other) This method is to check the equality of two service names from two different objects, return TRUE if equals else FALSE.boolean
UserRole.isStoreIdNotEqual
(UserRole other) This method is to check the equality of two store identifiers from two different objects, return TRUE if equals else FALSE.boolean
UserRole.isUserIdNotEqual
(UserRole other) This method is to check the equality of two user identifiers from two different objects, return TRUE if equals else FALSE.Constructors in com.skava.auth.model.entities with parameters of type UserRoleModifierConstructorDescriptionUserRole
(UserRole matchedUserRole, UserRole userRole, Collection collection) Constructor parameters in com.skava.auth.model.entities with type arguments of type UserRole -
Uses of UserRole in com.skava.auth.model.response.userrole
Constructor parameters in com.skava.auth.model.response.userrole with type arguments of type UserRoleModifierConstructorDescriptionUsersRolesResponse
(List<UserRole> userRoles, Long count, String responseCode) Instantiates new roles response.UsersRolesResponse
(List<UserRole> userRoles, String responseCode) Instantiates new roles response. -
Uses of UserRole in com.skava.auth.model.rest.entities
Constructors in com.skava.auth.model.rest.entities with parameters of type UserRole -
Uses of UserRole in com.skava.auth.repository
Methods in com.skava.auth.repository that return UserRoleModifier and TypeMethodDescriptionUserRoleRepository.findByUserIdAndRoleName
(Long userId, String roleName) Methods in com.skava.auth.repository that return types with arguments of type UserRoleModifier and TypeMethodDescriptionUserRoleRepository.findAll
(org.springframework.data.jpa.domain.Specification<UserRole> specification) org.springframework.data.domain.Page<UserRole>
UserRoleRepository.findAll
(org.springframework.data.jpa.domain.Specification<UserRole> specification, org.springframework.data.domain.Pageable pageRequest) UserRoleRepository.findAll
(org.springframework.data.jpa.domain.Specification<UserRole> specification, org.springframework.data.domain.Sort sort) UserRoleRepository.findAllByRoleName
(String roleName) UserRoleRepository.findAllByUserId
(Long userId) This method return roles of user in all business.UserRoleRepository.findAllByUserIdAndBusinessId
(Long userId, Long businessId) This method return roles of user in the business.UserRoleRepository.findAllByUserIdAndCollectionId
(Long userId, Long collectionId) UserRoleRepository.findByUserIdAndRoleNameIn
(Long userId, List<String> roleName) Method parameters in com.skava.auth.repository with type arguments of type UserRoleModifier and TypeMethodDescriptionUserRoleRepository.findAll
(org.springframework.data.jpa.domain.Specification<UserRole> specification) org.springframework.data.domain.Page<UserRole>
UserRoleRepository.findAll
(org.springframework.data.jpa.domain.Specification<UserRole> specification, org.springframework.data.domain.Pageable pageRequest) UserRoleRepository.findAll
(org.springframework.data.jpa.domain.Specification<UserRole> specification, org.springframework.data.domain.Sort sort) -
Uses of UserRole in com.skava.auth.service.impl.userrole
Methods in com.skava.auth.service.impl.userrole that return types with arguments of type UserRoleModifier and TypeMethodDescriptionGetUserRolesServiceImpl.getUserRole
(Long userId, Long collectionId) This method is used to retrieve the roles of the user.AddRolesToUsersServiceImpl.saveAllUserAttribute
(List<UserRole> userRoles) This method saves the all the user role details into the database.Method parameters in com.skava.auth.service.impl.userrole with type arguments of type UserRoleModifier and TypeMethodDescriptionAddRolesToUsersServiceImpl.saveAllUserAttribute
(List<UserRole> userRoles) This method saves the all the user role details into the database. -
Uses of UserRole in com.skava.auth.util
Methods in com.skava.auth.util that return UserRoleModifier and TypeMethodDescriptionstatic UserRole
UserRoleUtil.getMatchedUserRole
(Set<UserRole> userRoles, UserRole requestUserRole) This method return the matched user role from the set.Methods in com.skava.auth.util that return types with arguments of type UserRoleModifier and TypeMethodDescriptionUserRoleUtil.searchUserRolesByUserId
(String sort, org.springframework.data.jpa.domain.Specification<UserRole> userRoleSpecification, UserRoleRepository userRoleRepository, org.springframework.context.MessageSource messageSource) Methods in com.skava.auth.util with parameters of type UserRoleModifier and TypeMethodDescriptionstatic UserRole
UserRoleUtil.getMatchedUserRole
(Set<UserRole> userRoles, UserRole requestUserRole) This method return the matched user role from the set.Method parameters in com.skava.auth.util with type arguments of type UserRoleModifier and TypeMethodDescriptionstatic jakarta.persistence.criteria.Predicate
UserRoleUtil.addUserIdsPredicate
(jakarta.persistence.criteria.Predicate userRoleSearchPredicate, List<Long> resultUserIds, jakarta.persistence.criteria.Root<UserRole> root, jakarta.persistence.criteria.CriteriaBuilder criteriaBuilder) static List<jakarta.persistence.Tuple>
UserRoleUtil.getDistinctUserIds
(int page, int size, jakarta.persistence.criteria.CriteriaQuery<jakarta.persistence.Tuple> selectDistinctUserQuery, jakarta.persistence.criteria.Root<UserRole> root, jakarta.persistence.criteria.Predicate userRoleSearchPredicate, jakarta.persistence.EntityManager entityManager) static UserRole
UserRoleUtil.getMatchedUserRole
(Set<UserRole> userRoles, UserRole requestUserRole) This method return the matched user role from the set.static jakarta.persistence.criteria.Predicate
UserRoleUtil.getUserRoleSearchPredicate
(Long collectionId, List<SearchCriteria> params, jakarta.persistence.criteria.Root<UserRole> root, jakarta.persistence.criteria.CriteriaBuilder builder) This method is used to search auth group.UserRoleUtil.searchUserRolesByUserId
(String sort, org.springframework.data.jpa.domain.Specification<UserRole> userRoleSpecification, UserRoleRepository userRoleRepository, org.springframework.context.MessageSource messageSource)