Interface PostStatusRepository
-
- All Superinterfaces:
org.sakaiproject.springframework.data.Repository<PostStatus,Long>,org.sakaiproject.springframework.data.SpringCrudRepository<PostStatus,Long>
public interface PostStatusRepository extends org.sakaiproject.springframework.data.SpringCrudRepository<PostStatus,Long>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IntegerdeleteByPostId(String postId)Optional<PostStatus>findByPostIdAndUserId(String postId, String userId)List<PostStatus>findByPostIdAndUserIdNot(String postId, String userId)List<PostStatus>findByTopicIdAndUserId(String topicId, String userId)List<PostStatus>findByTopicIdAndUserIdAndViewed(String topicId, String userId, Boolean viewed)List<PostStatus>findByUserId(String userId)
-
-
-
Method Detail
-
findByUserId
List<PostStatus> findByUserId(String userId)
-
findByTopicIdAndUserId
List<PostStatus> findByTopicIdAndUserId(String topicId, String userId)
-
findByTopicIdAndUserIdAndViewed
List<PostStatus> findByTopicIdAndUserIdAndViewed(String topicId, String userId, Boolean viewed)
-
findByPostIdAndUserId
Optional<PostStatus> findByPostIdAndUserId(String postId, String userId)
-
findByPostIdAndUserIdNot
List<PostStatus> findByPostIdAndUserIdNot(String postId, String userId)
-
-