Interface ConversationsPostRepository
-
- All Superinterfaces:
Repository<ConversationsPost,String>,SpringCrudRepository<ConversationsPost,String>
public interface ConversationsPostRepository extends SpringCrudRepository<ConversationsPost,String>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LongcountByParentPostId(String parentPostId)IntegerdeleteByTopicId(String topicId)List<ConversationsPost>findByParentPostId(String parentPostId)List<ConversationsPost>findByParentThreadId(String parentThreadId)List<ConversationsPost>findBySiteId(String siteId)List<ConversationsPost>findByTopicId(String topicId)List<ConversationsPost>findByTopicIdAndMetadata_Creator(String topicId, String creatorId)List<ConversationsPost>findByTopicIdAndParentPostIdIsNull(String topicId)IntegerlockByParentPostId(Boolean locked, String parentPostId)IntegerlockBySiteId(String siteId, Boolean locked)IntegerlockByTopicId(Boolean locked, String topicId)-
Methods inherited from interface org.sakaiproject.springframework.data.SpringCrudRepository
count, delete, deleteAll, deleteAll, deleteById, existsById, findAll, findAll, findAllById, findById, getById, save, saveAll
-
-
-
-
Method Detail
-
findByTopicId
List<ConversationsPost> findByTopicId(String topicId)
-
findByTopicIdAndParentPostIdIsNull
List<ConversationsPost> findByTopicIdAndParentPostIdIsNull(String topicId)
-
findByTopicIdAndMetadata_Creator
List<ConversationsPost> findByTopicIdAndMetadata_Creator(String topicId, String creatorId)
-
findByParentPostId
List<ConversationsPost> findByParentPostId(String parentPostId)
-
findBySiteId
List<ConversationsPost> findBySiteId(String siteId)
-
findByParentThreadId
List<ConversationsPost> findByParentThreadId(String parentThreadId)
-
-