Uses of Class
com.bytedesk.core.rbac.organization.OrganizationEntity
Packages that use OrganizationEntity
Package
Description
Configuration package containing Spring configuration classes and properties
-
Uses of OrganizationEntity in com.bytedesk.core.config
Methods in com.bytedesk.core.config with parameters of type OrganizationEntityModifier and TypeMethodDescriptionvoid
BytedeskEventPublisher.publishOrganizationCreateEvent
(OrganizationEntity organization) -
Uses of OrganizationEntity in com.bytedesk.core.rbac.organization
Methods in com.bytedesk.core.rbac.organization that return OrganizationEntityModifier and TypeMethodDescriptionprotected OrganizationEntity
OrganizationRestService.doSave
(OrganizationEntity entity) OrganizationRestService.handleOptimisticLockingFailureException
(org.springframework.orm.ObjectOptimisticLockingFailureException e, OrganizationEntity organization) Methods in com.bytedesk.core.rbac.organization that return types with arguments of type OrganizationEntityModifier and TypeMethodDescriptionprotected org.springframework.data.jpa.domain.Specification<OrganizationEntity>
OrganizationRestService.createSpecification
(OrganizationRequest request) protected org.springframework.data.domain.Page<OrganizationEntity>
OrganizationRestService.executePageQuery
(org.springframework.data.jpa.domain.Specification<OrganizationEntity> spec, org.springframework.data.domain.Pageable pageable) OrganizationRestService.findAll()
OrganizationRestService.findByCode
(String code) OrganizationRepository.findByCodeAndDeleted
(String code, Boolean deleted) OrganizationRepository.findByDeletedFalse()
OrganizationRestService.findByName
(String name) OrganizationRepository.findByNameAndDeleted
(String name, Boolean deleted) org.springframework.data.domain.Page<OrganizationEntity>
OrganizationRepository.findByUser
(UserEntity user, org.springframework.data.domain.Pageable pageable) static org.springframework.data.jpa.domain.Specification<OrganizationEntity>
OrganizationSpecification.search
(OrganizationRequest request, AuthService authService) Methods in com.bytedesk.core.rbac.organization with parameters of type OrganizationEntityModifier and TypeMethodDescriptionOrganizationRestService.convertToResponse
(OrganizationEntity organization) protected OrganizationEntity
OrganizationRestService.doSave
(OrganizationEntity entity) OrganizationRestService.handleOptimisticLockingFailureException
(org.springframework.orm.ObjectOptimisticLockingFailureException e, OrganizationEntity organization) void
OrganizationEntityListener.onPostCreate
(OrganizationEntity organization) Method parameters in com.bytedesk.core.rbac.organization with type arguments of type OrganizationEntityModifier and TypeMethodDescriptionprotected org.springframework.data.domain.Page<OrganizationEntity>
OrganizationRestService.executePageQuery
(org.springframework.data.jpa.domain.Specification<OrganizationEntity> spec, org.springframework.data.domain.Pageable pageable) -
Uses of OrganizationEntity in com.bytedesk.core.rbac.organization.event
Constructors in com.bytedesk.core.rbac.organization.event with parameters of type OrganizationEntity -
Uses of OrganizationEntity in com.bytedesk.core.rbac.user
Fields in com.bytedesk.core.rbac.user declared as OrganizationEntityModifier and TypeFieldDescriptionprivate OrganizationEntity
UserDetailsImpl.currentOrganization
private OrganizationEntity
UserEntity.currentOrganization
User's current active organization Users can belong to multiple organizations but can only be active in one at a timeprivate OrganizationEntity
UserOrganizationRoleEntity.organization
Constructors in com.bytedesk.core.rbac.user with parameters of type OrganizationEntityModifierConstructorDescriptionprivate
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 channel, String device, String orgUid, ZonedDateTime createdAt, ZonedDateTime updatedAt, Collection<? extends org.springframework.security.core.GrantedAuthority> authorities, OrganizationEntity currentOrganization, Set<RoleEntity> currentRoles, Set<UserOrganizationRoleEntity> userOrganizationRoles)