Uses of Class
com.bytedesk.core.rbac.role.RoleEntity
Packages that use RoleEntity
Package
Description
Utility classes package containing helper methods and common functionality
-
Uses of RoleEntity in com.bytedesk.core.rbac.role
Methods in com.bytedesk.core.rbac.role that return RoleEntityModifier and TypeMethodDescriptionprotected RoleEntity
RoleRestService.doSave
(RoleEntity entity) RoleRestService.handleOptimisticLockingFailureException
(org.springframework.orm.ObjectOptimisticLockingFailureException e, RoleEntity entity) RoleRestService.save
(RoleEntity role) Methods in com.bytedesk.core.rbac.role that return types with arguments of type RoleEntityModifier and TypeMethodDescriptionRoleRepository.findByNameAndLevel
(String name, String level) RoleRestService.findByNameAndOrgUid
(String name, String orgUid) RoleRepository.findByNameAndOrgUidAndDeletedFalse
(String name, String orgUid) RoleRestService.findByNamePlatform
(String name) org.springframework.data.domain.Page<RoleEntity>
RoleRepository.findByOrgUidAndDeletedFalse
(String orgUid, org.springframework.data.domain.Pageable pageable) static org.springframework.data.jpa.domain.Specification<RoleEntity>
RoleSpecification.search
(RoleRequest request) Methods in com.bytedesk.core.rbac.role with parameters of type RoleEntityModifier and TypeMethodDescriptionRoleRestService.convertToResponse
(RoleEntity entity) protected RoleEntity
RoleRestService.doSave
(RoleEntity entity) RoleRestService.handleOptimisticLockingFailureException
(org.springframework.orm.ObjectOptimisticLockingFailureException e, RoleEntity entity) void
RoleEntityListener.postPersist
(RoleEntity role) void
RoleEntityListener.postUpdate
(RoleEntity role) RoleRestService.save
(RoleEntity role) -
Uses of RoleEntity in com.bytedesk.core.rbac.role.event
Fields in com.bytedesk.core.rbac.role.event declared as RoleEntityModifier and TypeFieldDescriptionprivate RoleEntity
RoleCreateEvent.roleEntity
private RoleEntity
RoleUpdateEvent.roleEntity
Constructors in com.bytedesk.core.rbac.role.event with parameters of type RoleEntityModifierConstructorDescriptionRoleCreateEvent
(Object source, RoleEntity roleEntity) RoleUpdateEvent
(Object source, RoleEntity roleEntity) -
Uses of RoleEntity in com.bytedesk.core.rbac.user
Fields in com.bytedesk.core.rbac.user with type parameters of type RoleEntityModifier and TypeFieldDescriptionprivate Set<RoleEntity>
UserDetailsImpl.currentRoles
private Set<RoleEntity>
UserEntity.currentRoles
private Set<RoleEntity>
UserOrganizationRoleEntity.roles
Methods in com.bytedesk.core.rbac.user with parameters of type RoleEntityModifier and TypeMethodDescriptionvoid
UserEntity.addOrganizationRole
(RoleEntity role) boolean
UserEntity.containsRole
(RoleEntity role) void
UserEntity.removeOrganizationRole
(RoleEntity role) Constructor parameters in com.bytedesk.core.rbac.user with type arguments of type RoleEntityModifierConstructorDescriptionprivate
UserDetailsImpl
(Long id, String uid, String username, String nickname, String avatar, String mobile, String email, String password, String description, String country, String sex, boolean enabled, boolean superUser, boolean emailVerified, boolean mobileVerified, String platform, String orgUid, LocalDateTime createdAt, LocalDateTime updatedAt, Collection<? extends org.springframework.security.core.GrantedAuthority> authorities, OrganizationEntity currentOrganization, Set<RoleEntity> currentRoles, Set<UserOrganizationRoleEntity> userOrganizationRoles) -
Uses of RoleEntity in com.bytedesk.core.utils
Methods in com.bytedesk.core.utils with parameters of type RoleEntityModifier and TypeMethodDescriptionstatic RoleResponse
ConvertUtils.convertToRoleResponse
(RoleEntity entity)