Class CommentEntityManagerImpl
java.lang.Object
org.flowable.common.engine.impl.persistence.entity.AbstractEntityManager<EntityImpl,DM>
org.flowable.common.engine.impl.persistence.entity.AbstractEngineEntityManager<ProcessEngineConfigurationImpl,EntityImpl,DM>
org.flowable.engine.impl.persistence.entity.AbstractProcessEngineEntityManager<CommentEntity,CommentDataManager>
org.flowable.engine.impl.persistence.entity.CommentEntityManagerImpl
- All Implemented Interfaces:
EntityManager<CommentEntity>
,CommentEntityManager
public class CommentEntityManagerImpl
extends AbstractProcessEngineEntityManager<CommentEntity,CommentDataManager>
implements CommentEntityManager
- Author:
- Tom Baeyens, Joram Barrez
-
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
ConstructorsConstructorDescriptionCommentEntityManagerImpl
(ProcessEngineConfigurationImpl processEngineConfiguration, CommentDataManager commentDataManager) -
Method Summary
Modifier and TypeMethodDescriptionvoid
bulkDeleteCommentsForProcessInstanceIds
(Collection<String> processInstanceIds) void
bulkDeleteCommentsForTaskIds
(Collection<String> taskIds) protected void
void
delete
(CommentEntity commentEntity) void
deleteCommentsByProcessInstanceId
(String processInstanceId) void
deleteCommentsByTaskId
(String taskId) findComment
(String commentId) findCommentsByProcessInstanceId
(String processInstanceId) findCommentsByProcessInstanceId
(String processInstanceId, String type) findCommentsByTaskId
(String taskId) findCommentsByTaskIdAndType
(String taskId, String type) findCommentsByType
(String type) findEventsByProcessInstanceId
(String processInstanceId) findEventsByTaskId
(String taskId) protected ExecutionEntityManager
protected HistoryManager
void
insert
(CommentEntity commentEntity) update
(CommentEntity commentEntity) Methods inherited from class org.flowable.engine.impl.persistence.entity.AbstractProcessEngineEntityManager
createEntityEvent
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, delete, delete, findById, fireEntityDeletedEvent, fireEntityInsertedEvent, fireEntityUpdatedEvent, getDataManager, insert, setDataManager, update
-
Constructor Details
-
CommentEntityManagerImpl
public CommentEntityManagerImpl(ProcessEngineConfigurationImpl processEngineConfiguration, CommentDataManager commentDataManager)
-
-
Method Details
-
insert
- Specified by:
insert
in interfaceEntityManager<CommentEntity>
- Overrides:
insert
in classAbstractEntityManager<CommentEntity,
CommentDataManager>
-
update
- Specified by:
update
in interfaceEntityManager<CommentEntity>
- Overrides:
update
in classAbstractEntityManager<CommentEntity,
CommentDataManager>
-
findCommentsByTaskId
- Specified by:
findCommentsByTaskId
in interfaceCommentEntityManager
-
findCommentsByTaskIdAndType
- Specified by:
findCommentsByTaskIdAndType
in interfaceCommentEntityManager
-
findCommentsByType
- Specified by:
findCommentsByType
in interfaceCommentEntityManager
-
findEventsByTaskId
- Specified by:
findEventsByTaskId
in interfaceCommentEntityManager
-
findEventsByProcessInstanceId
- Specified by:
findEventsByProcessInstanceId
in interfaceCommentEntityManager
-
deleteCommentsByTaskId
- Specified by:
deleteCommentsByTaskId
in interfaceCommentEntityManager
-
deleteCommentsByProcessInstanceId
- Specified by:
deleteCommentsByProcessInstanceId
in interfaceCommentEntityManager
-
bulkDeleteCommentsForTaskIds
- Specified by:
bulkDeleteCommentsForTaskIds
in interfaceCommentEntityManager
-
bulkDeleteCommentsForProcessInstanceIds
- Specified by:
bulkDeleteCommentsForProcessInstanceIds
in interfaceCommentEntityManager
-
findCommentsByProcessInstanceId
- Specified by:
findCommentsByProcessInstanceId
in interfaceCommentEntityManager
-
findCommentsByProcessInstanceId
- Specified by:
findCommentsByProcessInstanceId
in interfaceCommentEntityManager
-
findComment
- Specified by:
findComment
in interfaceCommentEntityManager
-
findEvent
- Specified by:
findEvent
in interfaceCommentEntityManager
-
delete
- Specified by:
delete
in interfaceEntityManager<CommentEntity>
- Overrides:
delete
in classAbstractEntityManager<CommentEntity,
CommentDataManager>
-
checkHistoryEnabled
protected void checkHistoryEnabled() -
getExecutionEntityManager
-
getHistoryManager
-