Class CommentEntityManagerImpl
- java.lang.Object
-
- org.flowable.common.engine.impl.persistence.entity.AbstractEntityManager<EntityImpl,DM>
-
- org.flowable.common.engine.impl.persistence.entity.AbstractEngineEntityManager<PlatformEngineConfiguration,CommentEntity,CommentDataManager>
-
- com.flowable.platform.engine.impl.persistence.entity.CommentEntityManagerImpl
-
- All Implemented Interfaces:
CommentEntityManager
,EntityManager<CommentEntity>
public class CommentEntityManagerImpl extends AbstractEngineEntityManager<PlatformEngineConfiguration,CommentEntity,CommentDataManager> implements CommentEntityManager
-
-
Field Summary
-
Fields inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEngineEntityManager
engineConfiguration
-
Fields inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntityManager
dataManager, engineType
-
-
Constructor Summary
Constructors Constructor Description CommentEntityManagerImpl(PlatformEngineConfiguration configuration, CommentDataManager commentDataManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
Methods inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEngineEntityManager
getClock, getCommandExecutor, getEngineConfiguration, getEventDispatcher
-
Methods inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntityManager
create, createEntityEvent, delete, delete, delete, findById, fireEntityDeletedEvent, fireEntityInsertedEvent, fireEntityUpdatedEvent, getDataManager, insert, insert, setDataManager, update, update
-
-
-
-
Constructor Detail
-
CommentEntityManagerImpl
public CommentEntityManagerImpl(PlatformEngineConfiguration configuration, CommentDataManager commentDataManager)
-
-
Method Detail
-
createCommentQuery
public CommentQuery createCommentQuery()
- Specified by:
createCommentQuery
in interfaceCommentEntityManager
-
findByScopeIdAndScopeType
public List<Comment> findByScopeIdAndScopeType(String scopeId, String scopeType)
- Specified by:
findByScopeIdAndScopeType
in interfaceCommentEntityManager
-
findByUserId
public List<Comment> findByUserId(String userId)
- Specified by:
findByUserId
in interfaceCommentEntityManager
-
countByCriteria
public long countByCriteria(CommentQuery commentQuery)
- Specified by:
countByCriteria
in interfaceCommentEntityManager
-
findByCriteria
public List<Comment> findByCriteria(CommentQuery commentQuery)
- Specified by:
findByCriteria
in interfaceCommentEntityManager
-
deleteByScopeIdAndScopeType
public void deleteByScopeIdAndScopeType(String scopeId, String scopeType)
- Specified by:
deleteByScopeIdAndScopeType
in interfaceCommentEntityManager
-
-