Uses of Class
com.bytedesk.core.rbac.user.UserEntity
Packages that use UserEntity
Package
Description
Configuration package containing Spring configuration classes and properties
Message handling package containing message models and processors
Thread package containing thread models and handlers
Utility classes package containing helper methods and common functionality
会话转接包
处理会话转接相关功能
-
Uses of UserEntity in com.bytedesk.core.action
Fields in com.bytedesk.core.action declared as UserEntityModifier and TypeFieldDescriptionprivate UserEntityActionEntity.userUser who performed the action -
Uses of UserEntity in com.bytedesk.core.config
Methods in com.bytedesk.core.config with parameters of type UserEntityModifier and TypeMethodDescriptionvoidBytedeskEventPublisher.publishUserCreateEvent(UserEntity user) voidBytedeskEventPublisher.publishUserUpdateEvent(UserEntity user) -
Uses of UserEntity in com.bytedesk.core.config.idempotency
Methods in com.bytedesk.core.config.idempotency that return UserEntity -
Uses of UserEntity in com.bytedesk.core.group
Fields in com.bytedesk.core.group declared as UserEntityModifier and TypeFieldDescriptionprivate UserEntityGroupEntity.creatorUser who created the groupFields in com.bytedesk.core.group with type parameters of type UserEntityModifier and TypeFieldDescriptionprivate List<UserEntity>GroupEntity.adminsAdministrators of the groupMethods in com.bytedesk.core.group with parameters of type UserEntityModifier and TypeMethodDescriptionvoidGroupEntity.addAdmin(UserEntity user) GroupEntity.isAdmin(UserEntity user) GroupEntity.isMember(UserEntity user) voidGroupEntity.removeAdmin(UserEntity user) voidGroupEntity.removeMember(UserEntity user) Method parameters in com.bytedesk.core.group with type arguments of type UserEntity -
Uses of UserEntity in com.bytedesk.core.member
Fields in com.bytedesk.core.member declared as UserEntityModifier and TypeFieldDescriptionprivate UserEntityMemberEntity.userAssociated user account for this memberMethods in com.bytedesk.core.member with parameters of type UserEntityModifier and TypeMethodDescriptionMemberRestService.findByUserAndOrgUid(UserEntity user, String orgUid) MemberRepository.findByUserAndOrgUidAndDeletedFalse(UserEntity user, String orgUid) private Set<RoleResponseSimple>MemberRestService.getRolesForOrg(UserEntity user, String orgUid) -
Uses of UserEntity in com.bytedesk.core.message
Methods in com.bytedesk.core.message with parameters of type UserEntityModifier and TypeMethodDescriptionstatic org.springframework.data.jpa.domain.Specification<MessageEntity>MessageSpecificationVip.searchAllLeaveMessageSubmitted(MessageRequest request, UserEntity user) static org.springframework.data.jpa.domain.Specification<MessageEntity>MessageSpecificationVip.searchAllUnread(MessageRequest request, UserEntity user) static org.springframework.data.jpa.domain.Specification<MessageEntity>MessageSpecificationVip.searchLeaveMessageSubmitted(MessageRequest request, UserEntity user) 查询某会话下的留言提交消息的 Specificationstatic org.springframework.data.jpa.domain.Specification<MessageEntity>MessageSpecificationVip.searchUnread(MessageRequest request, UserEntity user) 查询某会话下的未读消息的 Specification 参考 ThreadEntity.getUnreadCount 的逻辑 -
Uses of UserEntity in com.bytedesk.core.rbac.auth
Methods in com.bytedesk.core.rbac.auth that return UserEntity -
Uses of UserEntity in com.bytedesk.core.rbac.auth.oauth2
Fields in com.bytedesk.core.rbac.auth.oauth2 declared as UserEntity -
Uses of UserEntity in com.bytedesk.core.rbac.organization
Fields in com.bytedesk.core.rbac.organization declared as UserEntityMethods in com.bytedesk.core.rbac.organization with parameters of type UserEntityModifier and TypeMethodDescriptionorg.springframework.data.domain.Page<OrganizationEntity>OrganizationRepository.findByUser(UserEntity user, org.springframework.data.domain.Pageable pageable) private booleanOrganizationRestService.isPlatformSuper(UserEntity user) -
Uses of UserEntity in com.bytedesk.core.rbac.role
Methods in com.bytedesk.core.rbac.role with parameters of type UserEntityModifier and TypeMethodDescriptionprivate voidRoleRestService.assertRoleAccessible(RoleEntity role, UserEntity user) private voidRoleRestService.bindOrgUidForNonSuper(RoleRequest request, UserEntity user) private voidRoleRestService.validateDelegableAuthorities(Set<String> authorityUids, UserEntity user) -
Uses of UserEntity in com.bytedesk.core.rbac.user
Fields in com.bytedesk.core.rbac.user declared as UserEntityMethods in com.bytedesk.core.rbac.user that return UserEntityModifier and TypeMethodDescriptionUserService.addRole(UserEntity user, String roleName) UserService.addRoleAdmin(UserEntity user) UserService.addRoleAgent(UserEntity user) UserService.addRoleDeptAdmin(UserEntity user) UserService.addRoleSuper(UserEntity user) UserService.addRoleUser(UserEntity user) UserService.addRoleWorkgroupAdmin(UserEntity user) UserService.createUserFromMember(UserRequest request) protected UserEntityUserRestService.doSave(UserEntity entity) UserService.ensureCurrentOrganization(UserEntity user, String orgUid) 确保 user 的 currentOrganization 指向 orgUid。UserRestService.handleOptimisticLockingFailureException(org.springframework.orm.ObjectOptimisticLockingFailureException e, UserEntity entity) UserService.removeRole(UserEntity user, String roleName) UserService.removeRoleAdmin(UserEntity user) UserService.removeRoleAgent(UserEntity user) UserService.removeRoleDeptAdmin(UserEntity user) UserService.removeRoleSuper(UserEntity user) UserService.removeRoleWorkgroupAdmin(UserEntity user) UserService.save(UserEntity user) UserService.updateUserFromMember(UserEntity user, MemberRequest request) UserService.updateUserRoles(UserEntity user, Set<String> roleUids) 更新用户在“当前组织(currentOrganization)”下的角色列表。Methods in com.bytedesk.core.rbac.user that return types with arguments of type UserEntityModifier and TypeMethodDescriptionprotected org.springframework.data.jpa.domain.Specification<UserEntity>UserRestService.createSpecification(UserRequest request) protected org.springframework.data.domain.Page<UserEntity>UserRestService.executePageQuery(org.springframework.data.jpa.domain.Specification<UserEntity> spec, org.springframework.data.domain.Pageable pageable) UserRestService.findAll(UserRequest request) UserDetailsServiceImpl.findByEmailAndPlatform(String email, String platform) UserService.findByEmailAndPlatform(String email, String platform) UserRepository.findByEmailAndPlatformAndDeletedFalse(String email, String platform) UserDetailsServiceImpl.findByMobileAndPlatform(String mobile, String platform) UserService.findByMobileAndPlatform(String mobile, String platform) UserRepository.findByMobileAndPlatformAndDeletedFalse(String mobile, String platform) UserDetailsServiceImpl.findByUsernameAndPlatform(String username, String platform) UserService.findByUsernameAndPlatform(String username, String platform) UserRepository.findByUsernameAndPlatformAndDeletedFalse(String username, String platform) UserService.getSuper()static org.springframework.data.jpa.domain.Specification<UserEntity>UserSpecification.search(UserRequest request, AuthService authService) Methods in com.bytedesk.core.rbac.user with parameters of type UserEntityModifier and TypeMethodDescriptionUserService.addRole(UserEntity user, String roleName) UserService.addRoleAdmin(UserEntity user) UserService.addRoleAgent(UserEntity user) UserService.addRoleDeptAdmin(UserEntity user) UserService.addRoleSuper(UserEntity user) UserService.addRoleUser(UserEntity user) UserService.addRoleWorkgroupAdmin(UserEntity user) static UserDetailsImplUserDetailsImpl.build(UserEntity user) UserRestService.convertToExcel(UserEntity entity) UserRestService.convertToResponse(UserEntity entity) voidUserService.delete(UserEntity user) protected UserEntityUserRestService.doSave(UserEntity entity) UserService.ensureCurrentOrganization(UserEntity user, String orgUid) 确保 user 的 currentOrganization 指向 orgUid。static UserProtobufUserProtobuf.fromEntity(UserEntity user) UserRestService.handleOptimisticLockingFailureException(org.springframework.orm.ObjectOptimisticLockingFailureException e, UserEntity entity) voidUserEntityListener.postPersist(UserEntity user) voidUserEntityListener.postUpdate(UserEntity user) UserService.removeRole(UserEntity user, String roleName) UserService.removeRoleAdmin(UserEntity user) UserService.removeRoleAgent(UserEntity user) UserService.removeRoleDeptAdmin(UserEntity user) UserService.removeRoleSuper(UserEntity user) UserService.removeRoleWorkgroupAdmin(UserEntity user) UserService.save(UserEntity user) UserService.updateUserFromMember(UserEntity user, MemberRequest request) UserService.updateUserRoles(UserEntity user, Set<String> roleUids) 更新用户在“当前组织(currentOrganization)”下的角色列表。Method parameters in com.bytedesk.core.rbac.user with type arguments of type UserEntityModifier and TypeMethodDescriptionprotected org.springframework.data.domain.Page<UserEntity>UserRestService.executePageQuery(org.springframework.data.jpa.domain.Specification<UserEntity> spec, org.springframework.data.domain.Pageable pageable) -
Uses of UserEntity in com.bytedesk.core.rbac.user.event
Fields in com.bytedesk.core.rbac.user.event declared as UserEntityMethods in com.bytedesk.core.rbac.user.event that return UserEntityModifier and TypeMethodDescriptionAbstractUserEvent.getUser()private UserEntityAbstractUserEvent.snapshot(UserEntity source) Methods in com.bytedesk.core.rbac.user.event with parameters of type UserEntityModifier and TypeMethodDescriptionprivate UserEntityAbstractUserEvent.snapshot(UserEntity source) Constructors in com.bytedesk.core.rbac.user.event with parameters of type UserEntityModifierConstructorDescriptionprotectedAbstractUserEvent(Object source, UserEntity user) UserCreateEvent(UserEntity user) UserLoginEvent(Object source, UserEntity user) UserLogoutEvent(Object source, UserEntity user) UserUpdateEvent(UserEntity user) -
Uses of UserEntity in com.bytedesk.core.thread
Fields in com.bytedesk.core.thread declared as UserEntityMethods in com.bytedesk.core.thread with parameters of type UserEntityModifier and TypeMethodDescriptionThreadRestService.createFileAssistantThread(UserEntity user) 文件助手会话:file/{user_uid}ThreadRestService.createGroupMemberThread(String user, String topic, String orgUid, UserEntity owner) ThreadRestService.createSystemNoticeAccountThread(UserEntity user) org.springframework.data.domain.Page<ThreadEntity>ThreadRestService.findByOwner(UserEntity user, org.springframework.data.domain.Pageable pageable) org.springframework.data.domain.Page<ThreadEntity>ThreadRepository.findByOwnerAndHideAndDeleted(UserEntity owner, Boolean hide, Boolean deleted, org.springframework.data.domain.Pageable pageable) ThreadRestService.findFirstByTopicAndOwner(String topic, UserEntity user) ThreadRepository.findFirstByTopicAndOwnerAndDeletedOrderByUpdatedAtDesc(String topic, UserEntity owner, Boolean deleted) used for member thread typevoidThreadRestService.removeGroupMemberThread(String topic, UserEntity owner) voidThreadRestService.updateGroupMemberThread(String user, String topic, UserEntity owner) -
Uses of UserEntity in com.bytedesk.core.utils
Methods in com.bytedesk.core.utils with parameters of type UserEntityModifier and TypeMethodDescriptionstatic UserProtobufConvertUtils.convertToUserProtobuf(UserEntity user) static StringConvertUtils.convertToUserProtobufString(UserEntity user) static UserResponseConvertUtils.convertToUserResponse(UserEntity user) private static UserResponseSimpleConvertUtils.convertToUserResponseSimpleManual(UserEntity user) static Set<org.springframework.security.core.GrantedAuthority>ConvertUtils.filterUserGrantedAuthorities(UserEntity user) -
Uses of UserEntity in com.bytedesk.service.thread_transfer
Methods in com.bytedesk.service.thread_transfer with parameters of type UserEntityModifier and TypeMethodDescriptionprivate ThreadTransferEntityThreadTransferService.buildTransferEntity(ThreadTransferRequest request, UserEntity user) 构建转接实体ThreadTransferService.create(ThreadTransferRequest request, UserEntity user) 创建转接请求