Class CommentRepositoryImpl

  • All Implemented Interfaces:
    org.sakaiproject.conversations.api.repository.CommentRepository, org.sakaiproject.springframework.data.Repository<org.sakaiproject.conversations.api.model.Comment,​String>, org.sakaiproject.springframework.data.SpringCrudRepository<org.sakaiproject.conversations.api.model.Comment,​String>

    public class CommentRepositoryImpl
    extends org.sakaiproject.springframework.data.SpringCrudRepositoryImpl<org.sakaiproject.conversations.api.model.Comment,​String>
    implements org.sakaiproject.conversations.api.repository.CommentRepository
    • Constructor Detail

      • CommentRepositoryImpl

        public CommentRepositoryImpl()
    • Method Detail

      • findByPost_Id

        @Transactional
        public List<org.sakaiproject.conversations.api.model.Comment> findByPost_Id​(String postId)
        Specified by:
        findByPost_Id in interface org.sakaiproject.conversations.api.repository.CommentRepository
      • deleteByPost_Id

        @Transactional
        public Integer deleteByPost_Id​(String postId)
        Specified by:
        deleteByPost_Id in interface org.sakaiproject.conversations.api.repository.CommentRepository
      • lockByPost_Id

        @Transactional
        public Integer lockByPost_Id​(String postId,
                                     Boolean locked)
        Specified by:
        lockByPost_Id in interface org.sakaiproject.conversations.api.repository.CommentRepository
      • lockBySiteId

        @Transactional
        public Integer lockBySiteId​(String siteId,
                                    Boolean locked)
        Specified by:
        lockBySiteId in interface org.sakaiproject.conversations.api.repository.CommentRepository
      • deleteByPost_Topic_Id

        @Transactional
        public Integer deleteByPost_Topic_Id​(String topicId)
        Specified by:
        deleteByPost_Topic_Id in interface org.sakaiproject.conversations.api.repository.CommentRepository