public class CommentEntityManagerImpl extends AbstractEntityManager<CommentEntity> implements CommentEntityManager
Modifier and Type | Field and Description |
---|---|
protected CommentDataManager |
commentDataManager |
processEngineConfiguration
Constructor and Description |
---|
CommentEntityManagerImpl(ProcessEngineConfigurationImpl processEngineConfiguration,
CommentDataManager commentDataManager) |
create, delete, delete, findById, insert, isExecutionRelatedEntityCountEnabled, isExecutionRelatedEntityCountEnabled, isExecutionRelatedEntityCountEnabledGlobally, isTaskRelatedEntityCountEnabled, isTaskRelatedEntityCountEnabled, isTaskRelatedEntityCountEnabledGlobally, update
getAsyncExecutor, getAttachmentEntityManager, getByteArrayEntityManager, getClock, getCommandContext, getCommandExecutor, getCommentEntityManager, getDeadLetterJobEntityManager, getDeploymentEntityManager, getEventDispatcher, getEventSubscriptionEntityManager, getExecutionEntityManager, getHistoricActivityInstanceEntityManager, getHistoricDetailEntityManager, getHistoricIdentityLinkEntityManager, getHistoricProcessInstanceEntityManager, getHistoricTaskInstanceEntityManager, getHistoricVariableInstanceEntityManager, getHistoryManager, getIdentityLinkEntityManager, getJobEntityManager, getJobManager, getModelEntityManager, getProcessDefinitionEntityManager, getProcessDefinitionInfoEntityManager, getProcessEngineConfiguration, getResourceEntityManager, getSession, getSuspendedJobEntityManager, getTaskEntityManager, getTimerJobEntityManager, getVariableInstanceEntityManager
protected CommentDataManager commentDataManager
public CommentEntityManagerImpl(ProcessEngineConfigurationImpl processEngineConfiguration, CommentDataManager commentDataManager)
protected DataManager<CommentEntity> getDataManager()
getDataManager
in class AbstractEntityManager<CommentEntity>
public void insert(CommentEntity commentEntity)
insert
in interface EntityManager<CommentEntity>
insert
in class AbstractEntityManager<CommentEntity>
public CommentEntity update(CommentEntity commentEntity)
update
in interface EntityManager<CommentEntity>
update
in class AbstractEntityManager<CommentEntity>
public List<Comment> findCommentsByTaskId(String taskId)
findCommentsByTaskId
in interface CommentEntityManager
public List<Comment> findCommentsByTaskIdAndType(String taskId, String type)
findCommentsByTaskIdAndType
in interface CommentEntityManager
public List<Comment> findCommentsByType(String type)
findCommentsByType
in interface CommentEntityManager
public List<Event> findEventsByTaskId(String taskId)
findEventsByTaskId
in interface CommentEntityManager
public List<Event> findEventsByProcessInstanceId(String processInstanceId)
findEventsByProcessInstanceId
in interface CommentEntityManager
public void deleteCommentsByTaskId(String taskId)
deleteCommentsByTaskId
in interface CommentEntityManager
public void deleteCommentsByProcessInstanceId(String processInstanceId)
deleteCommentsByProcessInstanceId
in interface CommentEntityManager
public List<Comment> findCommentsByProcessInstanceId(String processInstanceId)
findCommentsByProcessInstanceId
in interface CommentEntityManager
public List<Comment> findCommentsByProcessInstanceId(String processInstanceId, String type)
findCommentsByProcessInstanceId
in interface CommentEntityManager
public Comment findComment(String commentId)
findComment
in interface CommentEntityManager
public Event findEvent(String commentId)
findEvent
in interface CommentEntityManager
public void delete(CommentEntity commentEntity)
delete
in interface EntityManager<CommentEntity>
delete
in class AbstractEntityManager<CommentEntity>
protected void checkHistoryEnabled()
public CommentDataManager getCommentDataManager()
public void setCommentDataManager(CommentDataManager commentDataManager)
Copyright © 2017 Flowable. All rights reserved.