public class MyBatisCommentDataManager extends org.flowable.common.engine.impl.db.AbstractDataManager<CommentEntity> implements CommentDataManager
Modifier and Type | Field and Description |
---|---|
protected CommentsByScopeAndTypeMatcher |
commentsByScopeAndTypeMatcher |
protected CommentsByUserIdTypeMatcher |
commentsByUserIdTypeMatcher |
Constructor and Description |
---|
MyBatisCommentDataManager() |
Modifier and Type | Method and Description |
---|---|
long |
countByCriteria(CommentQueryImpl commentQuery) |
CommentEntity |
create() |
void |
deleteByScopeIdAndScopeType(String scopeId,
String scopeType) |
List<Comment> |
findByCriteria(CommentQueryImpl commentQuery) |
List<Comment> |
findCommentEntityByUserId(String userId) |
List<Comment> |
findCommentsByScopeIdAndType(String scopeId,
String scopeType) |
Class<? extends CommentEntity> |
getManagedEntityClass() |
bulkDelete, delete, delete, deleteCachedEntities, deleteCachedEntities, findById, findByQuery, getCommandContext, getDbSqlSession, getEntity, getEntityCache, getList, getList, getList, getList, getListFromCache, getListFromCache, getManagedEntitySubClasses, getSession, insert, isEntityInserted, update
protected CommentsByScopeAndTypeMatcher commentsByScopeAndTypeMatcher
protected CommentsByUserIdTypeMatcher commentsByUserIdTypeMatcher
public Class<? extends CommentEntity> getManagedEntityClass()
getManagedEntityClass
in class org.flowable.common.engine.impl.db.AbstractDataManager<CommentEntity>
public CommentEntity create()
create
in interface org.flowable.common.engine.impl.persistence.entity.data.DataManager<CommentEntity>
public List<Comment> findCommentsByScopeIdAndType(String scopeId, String scopeType)
findCommentsByScopeIdAndType
in interface CommentDataManager
public List<Comment> findCommentEntityByUserId(String userId)
findCommentEntityByUserId
in interface CommentDataManager
public long countByCriteria(CommentQueryImpl commentQuery)
countByCriteria
in interface CommentDataManager
public List<Comment> findByCriteria(CommentQueryImpl commentQuery)
findByCriteria
in interface CommentDataManager
public void deleteByScopeIdAndScopeType(String scopeId, String scopeType)
deleteByScopeIdAndScopeType
in interface CommentDataManager
Copyright © 2019. All rights reserved.