public class MyBatisConversationRegistryEntryDataManager extends org.flowable.common.engine.impl.db.AbstractDataManager<ConversationRegistryEntryEntity> implements ConversationRegistryEntryDataManager
Modifier and Type | Field and Description |
---|---|
protected org.flowable.common.engine.impl.persistence.cache.CachedEntityMatcher<ConversationRegistryEntryEntity> |
registryEntryByConversationIdCacheMatcher |
Constructor and Description |
---|
MyBatisConversationRegistryEntryDataManager() |
bulkDelete, delete, delete, deleteCachedEntities, deleteCachedEntities, findById, findByQuery, getCommandContext, getDbSqlSession, getEntity, getEntityCache, getList, getList, getList, getList, getListFromCache, getListFromCache, getManagedEntitySubClasses, getSession, insert, isEntityInserted, update
protected org.flowable.common.engine.impl.persistence.cache.CachedEntityMatcher<ConversationRegistryEntryEntity> registryEntryByConversationIdCacheMatcher
public MyBatisConversationRegistryEntryDataManager()
public Class<? extends ConversationRegistryEntryEntity> getManagedEntityClass()
getManagedEntityClass
in class org.flowable.common.engine.impl.db.AbstractDataManager<ConversationRegistryEntryEntity>
public ConversationRegistryEntryEntity create()
create
in interface org.flowable.common.engine.impl.persistence.entity.data.DataManager<ConversationRegistryEntryEntity>
public List<ConversationRegistryEntryEntity> findByConversation(String conversationId)
findByConversation
in interface ConversationRegistryEntryDataManager
public List<ConversationRegistryEntryEntity> findByConversationAndUser(String conversationId, String userId)
findByConversationAndUser
in interface ConversationRegistryEntryDataManager
public List<ConversationRegistryEntryEntity> findByConversationAndGroups(String conversationId, Collection<String> groups)
findByConversationAndGroups
in interface ConversationRegistryEntryDataManager
public List<ConversationRegistryEntryEntity> findCurrentByConversationAndGroupsAndType(String conversationId, Collection<String> groups, String participantType)
findCurrentByConversationAndGroupsAndType
in interface ConversationRegistryEntryDataManager
public List<ConversationRegistryEntryEntity> findCurrentByConversationAndUsersAndType(String conversationId, Collection<String> participants, String participantType)
findCurrentByConversationAndUsersAndType
in interface ConversationRegistryEntryDataManager
public List<ConversationRegistryEntryEntity> findByConversationIdAndDateRange(String conversationId, Date startDate, Date endDate)
findByConversationIdAndDateRange
in interface ConversationRegistryEntryDataManager
public List<ConversationRegistryEntryEntity> findByConversationIdAndTypes(String conversationId, Collection<String> types)
findByConversationIdAndTypes
in interface ConversationRegistryEntryDataManager
public void deleteByConversationId(String conversationId)
deleteByConversationId
in interface ConversationRegistryEntryDataManager
public List<ConversationRegistryEntry> findByCriteria(ConversationRegistryEntryQuery query)
findByCriteria
in interface ConversationRegistryEntryDataManager
public long countByCriteria(ConversationRegistryEntryQuery query)
countByCriteria
in interface ConversationRegistryEntryDataManager
public long countConversationParticipants(String conversationId, Date date)
countConversationParticipants
in interface ConversationRegistryEntryDataManager
public List<String> findConversationParticipantsBetween(String conversationId, Date from, Date until)
findConversationParticipantsBetween
in interface ConversationRegistryEntryDataManager
Copyright © 2019. All rights reserved.