public class MybatisConversationDataManager extends org.flowable.common.engine.impl.db.AbstractDataManager<ConversationEntity> implements ConversationDataManager
Constructor and Description |
---|
MybatisConversationDataManager() |
Modifier and Type | Method and Description |
---|---|
long |
countByCriteria(ConversationQueryImpl query) |
long |
countConversationsWithLastMessageBetween(Date from,
Date until,
boolean includePrivate,
boolean includeSticky) |
ConversationEntity |
create() |
List<Conversation> |
findByCriteria(ConversationQueryImpl query) |
ConversationEntity |
findByIdWithIdentityLinks(String conversationId) |
ConversationEntity |
findByIdWithIdentityLinksAndVariables(String conversationId) |
List<Conversation> |
findConversationsWithLastMessageBetween(Date from,
Date until,
boolean includePrivate,
boolean includeSticky) |
List<ConversationEntity> |
findConversationsWithParentId(String parentId) |
Class<? extends ConversationEntity> |
getManagedEntityClass() |
int |
updateLastMessageTime(String conversationId,
Date messageUpdateTime) |
bulkDelete, delete, delete, deleteCachedEntities, deleteCachedEntities, findById, findByQuery, getCommandContext, getDbSqlSession, getEntity, getEntityCache, getList, getList, getList, getList, getListFromCache, getListFromCache, getManagedEntitySubClasses, getSession, insert, isEntityInserted, update
public Class<? extends ConversationEntity> getManagedEntityClass()
getManagedEntityClass
in class org.flowable.common.engine.impl.db.AbstractDataManager<ConversationEntity>
public ConversationEntity create()
create
in interface org.flowable.common.engine.impl.persistence.entity.data.DataManager<ConversationEntity>
public ConversationEntity findByIdWithIdentityLinks(String conversationId)
findByIdWithIdentityLinks
in interface ConversationDataManager
public ConversationEntity findByIdWithIdentityLinksAndVariables(String conversationId)
findByIdWithIdentityLinksAndVariables
in interface ConversationDataManager
public List<Conversation> findByCriteria(ConversationQueryImpl query)
findByCriteria
in interface ConversationDataManager
public long countByCriteria(ConversationQueryImpl query)
countByCriteria
in interface ConversationDataManager
public int updateLastMessageTime(String conversationId, Date messageUpdateTime)
updateLastMessageTime
in interface ConversationDataManager
public long countConversationsWithLastMessageBetween(Date from, Date until, boolean includePrivate, boolean includeSticky)
countConversationsWithLastMessageBetween
in interface ConversationDataManager
public List<Conversation> findConversationsWithLastMessageBetween(Date from, Date until, boolean includePrivate, boolean includeSticky)
findConversationsWithLastMessageBetween
in interface ConversationDataManager
public List<ConversationEntity> findConversationsWithParentId(String parentId)
findConversationsWithParentId
in interface ConversationDataManager
Copyright © 2019. All rights reserved.