Uses of Class
com.bytedesk.core.relation.RelationEntity
Packages that use RelationEntity
-
Uses of RelationEntity in com.bytedesk.core.relation
Methods in com.bytedesk.core.relation that return RelationEntityModifier and TypeMethodDescriptionprotected RelationEntityRelationRestService.doSave(RelationEntity entity) RelationRestService.handleOptimisticLockingFailureException(org.springframework.orm.ObjectOptimisticLockingFailureException e, RelationEntity entity) Methods in com.bytedesk.core.relation that return types with arguments of type RelationEntityModifier and TypeMethodDescriptionprotected org.springframework.data.jpa.domain.Specification<RelationEntity>RelationRestService.createSpecification(RelationRequest request) protected org.springframework.data.domain.Page<RelationEntity>RelationRestService.executePageQuery(org.springframework.data.jpa.domain.Specification<RelationEntity> spec, org.springframework.data.domain.Pageable pageable) RelationRepository.findByObjectContentUidAndTypeAndDeletedFalse(String objectContentUid, String type) 根据客体内容ID和关系类型查询关系RelationRepository.findByObjectUserUidAndTypeAndDeletedFalse(String objectUserUid, String type) 根据客体用户ID和关系类型查询关系RelationRepository.findBySubjectUserUidAndTypeAndDeletedFalse(String subjectUserUid, String type) 根据主体用户ID和关系类型查询关系RelationRepository.findFavoritesByContentId(String contentId) 查询内容被收藏的关系RelationRepository.findFavoritesByUserId(String userId) 查询用户收藏的内容org.springframework.data.domain.Page<RelationEntity>RelationRepository.findFavoritesByUserIdPageable(String userId, org.springframework.data.domain.Pageable pageable) 分页查询用户收藏的内容RelationRepository.findFollowersByUserId(String userId) 查询关注用户的粉丝org.springframework.data.domain.Page<RelationEntity>RelationRepository.findFollowersByUserIdPageable(String userId, org.springframework.data.domain.Pageable pageable) 分页查询关注用户的粉丝RelationRepository.findFollowingsByUserId(String userId) 查询用户关注的其他用户org.springframework.data.domain.Page<RelationEntity>RelationRepository.findFollowingsByUserIdPageable(String userId, org.springframework.data.domain.Pageable pageable) 分页查询用户关注的其他用户RelationRepository.findFriendsByUserId(String userId) 查询互相关注的好友RelationRepository.findLikesByContentId(String contentId) 查询内容被点赞的关系RelationRepository.findLikesByUserId(String userId) 查询用户点赞的内容org.springframework.data.domain.Page<RelationEntity>RelationRepository.findLikesByUserIdPageable(String userId, org.springframework.data.domain.Pageable pageable) 分页查询用户点赞的内容org.springframework.data.domain.Page<RelationEntity>RelationRestService.queryByOrgEntity(RelationRequest request) static org.springframework.data.jpa.domain.Specification<RelationEntity>RelationSpecification.search(RelationRequest request, AuthService authService) Methods in com.bytedesk.core.relation with parameters of type RelationEntityModifier and TypeMethodDescriptionRelationRestService.convertToExcel(RelationEntity entity) RelationRestService.convertToResponse(RelationEntity entity) protected RelationEntityRelationRestService.doSave(RelationEntity entity) RelationRestService.handleOptimisticLockingFailureException(org.springframework.orm.ObjectOptimisticLockingFailureException e, RelationEntity entity) voidRelationEntityListener.onPostPersist(RelationEntity relation) voidRelationEntityListener.onPostUpdate(RelationEntity relation) Method parameters in com.bytedesk.core.relation with type arguments of type RelationEntityModifier and TypeMethodDescriptionprotected org.springframework.data.domain.Page<RelationEntity>RelationRestService.executePageQuery(org.springframework.data.jpa.domain.Specification<RelationEntity> spec, org.springframework.data.domain.Pageable pageable) -
Uses of RelationEntity in com.bytedesk.core.relation.event
Fields in com.bytedesk.core.relation.event declared as RelationEntityModifier and TypeFieldDescriptionprivate RelationEntityRelationCreateEvent.relationprivate RelationEntityRelationDeleteEvent.relationprivate RelationEntityRelationUpdateEvent.relationConstructors in com.bytedesk.core.relation.event with parameters of type RelationEntityModifierConstructorDescriptionRelationCreateEvent(RelationEntity relation) RelationDeleteEvent(RelationEntity relation) RelationUpdateEvent(RelationEntity relation)