public class CommentEntityManagerImpl extends AbstractEntityManager<CommentEntity> implements CommentEntityManager
Modifier and Type | Field and Description |
---|---|
protected CommentDataManager |
commentDataManager |
configuration
Constructor and Description |
---|
CommentEntityManagerImpl(PlatformEngineConfiguration configuration,
CommentDataManager commentDataManager) |
Modifier and Type | Method and Description |
---|---|
long |
countByCriteria(CommentQuery commentQuery) |
CommentQuery |
createCommentQuery() |
void |
deleteByScopeIdAndScopeType(String scopeId,
String scopeType) |
List<Comment> |
findByCriteria(CommentQuery commentQuery) |
List<Comment> |
findByScopeIdAndScopeType(String scopeId,
String scopeType) |
List<Comment> |
findByUserId(String userId) |
CommentDataManager |
getCommentDataManager() |
protected org.flowable.common.engine.impl.persistence.entity.data.DataManager<CommentEntity> |
getDataManager() |
void |
setCommentDataManager(CommentDataManager commentDataManager) |
create, delete, delete, delete, findById, getCommandContext, getSession, insert, insert, update, update
protected CommentDataManager commentDataManager
public CommentEntityManagerImpl(PlatformEngineConfiguration configuration, CommentDataManager commentDataManager)
public CommentQuery createCommentQuery()
createCommentQuery
in interface CommentEntityManager
public List<Comment> findByScopeIdAndScopeType(String scopeId, String scopeType)
findByScopeIdAndScopeType
in interface CommentEntityManager
public List<Comment> findByUserId(String userId)
findByUserId
in interface CommentEntityManager
public long countByCriteria(CommentQuery commentQuery)
countByCriteria
in interface CommentEntityManager
public List<Comment> findByCriteria(CommentQuery commentQuery)
findByCriteria
in interface CommentEntityManager
public void deleteByScopeIdAndScopeType(String scopeId, String scopeType)
deleteByScopeIdAndScopeType
in interface CommentEntityManager
protected org.flowable.common.engine.impl.persistence.entity.data.DataManager<CommentEntity> getDataManager()
getDataManager
in class AbstractEntityManager<CommentEntity>
public CommentDataManager getCommentDataManager()
public void setCommentDataManager(CommentDataManager commentDataManager)
Copyright © 2019. All rights reserved.