Class TopicReactionRepositoryImpl
- java.lang.Object
-
- org.sakaiproject.springframework.data.SpringCrudRepositoryImpl<TopicReaction,Long>
-
- org.sakaiproject.conversations.impl.repository.TopicReactionRepositoryImpl
-
- All Implemented Interfaces:
TopicReactionRepository,Repository<TopicReaction,Long>,SpringCrudRepository<TopicReaction,Long>
public class TopicReactionRepositoryImpl extends SpringCrudRepositoryImpl<TopicReaction,Long> implements TopicReactionRepository
-
-
Field Summary
-
Fields inherited from class org.sakaiproject.springframework.data.SpringCrudRepositoryImpl
sessionFactory
-
-
Constructor Summary
Constructors Constructor Description TopicReactionRepositoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegerdeleteByTopicId(String topicId)List<TopicReaction>findByTopicIdAndUserId(String topicId, String userId)-
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
-
findByTopicIdAndUserId
@Transactional public List<TopicReaction> findByTopicIdAndUserId(String topicId, String userId)
- Specified by:
findByTopicIdAndUserIdin interfaceTopicReactionRepository
-
deleteByTopicId
@Transactional public Integer deleteByTopicId(String topicId)
- Specified by:
deleteByTopicIdin interfaceTopicReactionRepository
-
-