Class ConversationsCommentRepositoryImpl
- java.lang.Object
-
- org.sakaiproject.springframework.data.SpringCrudRepositoryImpl<ConversationsComment,String>
-
- org.sakaiproject.conversations.impl.repository.ConversationsCommentRepositoryImpl
-
- All Implemented Interfaces:
ConversationsCommentRepository,Repository<ConversationsComment,String>,SpringCrudRepository<ConversationsComment,String>
public class ConversationsCommentRepositoryImpl extends SpringCrudRepositoryImpl<ConversationsComment,String> implements ConversationsCommentRepository
-
-
Field Summary
-
Fields inherited from class org.sakaiproject.springframework.data.SpringCrudRepositoryImpl
sessionFactory
-
-
Constructor Summary
Constructors Constructor Description ConversationsCommentRepositoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegerdeleteByPostId(String postId)IntegerdeleteByTopicId(String topicId)List<ConversationsComment>findByPostId(String postId)List<ConversationsComment>findBySiteId(String siteId)IntegerlockByPostId(String postId, Boolean locked)IntegerlockBySiteId(String siteId, Boolean locked)-
Methods inherited from class org.sakaiproject.springframework.data.SpringCrudRepositoryImpl
count, delete, deleteAll, deleteAll, deleteById, existsById, findAll, findAll, findAllById, findById, getById, getDomainClass, save, saveAll, setSessionFactory, startCriteriaQuery
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.sakaiproject.springframework.data.SpringCrudRepository
count, delete, deleteAll, deleteAll, deleteById, existsById, findAll, findAll, findAllById, findById, getById, save, saveAll
-
-
-
-
Method Detail
-
findByPostId
@Transactional(readOnly=true) public List<ConversationsComment> findByPostId(String postId)
- Specified by:
findByPostIdin interfaceConversationsCommentRepository
-
findBySiteId
@Transactional(readOnly=true) public List<ConversationsComment> findBySiteId(String siteId)
- Specified by:
findBySiteIdin interfaceConversationsCommentRepository
-
deleteByPostId
@Transactional public Integer deleteByPostId(String postId)
- Specified by:
deleteByPostIdin interfaceConversationsCommentRepository
-
lockByPostId
@Transactional public Integer lockByPostId(String postId, Boolean locked)
- Specified by:
lockByPostIdin interfaceConversationsCommentRepository
-
lockBySiteId
@Transactional public Integer lockBySiteId(String siteId, Boolean locked)
- Specified by:
lockBySiteIdin interfaceConversationsCommentRepository
-
deleteByTopicId
@Transactional public Integer deleteByTopicId(String topicId)
- Specified by:
deleteByTopicIdin interfaceConversationsCommentRepository
-
-