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
engineConfigurationFields inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntityManager
dataManager, engineType -
Constructor Summary
ConstructorsConstructorDescriptionCommentEntityManagerImpl(ProcessEngineConfigurationImpl processEngineConfiguration, CommentDataManager commentDataManager) -
Method Summary
Modifier and TypeMethodDescriptionvoidbulkDeleteCommentsForProcessInstanceIds(Collection<String> processInstanceIds) voidbulkDeleteCommentsForTaskIds(Collection<String> taskIds) protected voidvoiddelete(CommentEntity commentEntity) voiddeleteCommentsByProcessInstanceId(String processInstanceId) voiddeleteCommentsByTaskId(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 ExecutionEntityManagerprotected HistoryManagervoidinsert(CommentEntity commentEntity) update(CommentEntity commentEntity) Methods inherited from class org.flowable.engine.impl.persistence.entity.AbstractProcessEngineEntityManager
createEntityEventMethods inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEngineEntityManager
getClock, getCommandExecutor, getEngineConfiguration, getEventDispatcherMethods 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:
insertin interfaceEntityManager<CommentEntity>- Overrides:
insertin classAbstractEntityManager<CommentEntity,CommentDataManager>
-
update
- Specified by:
updatein interfaceEntityManager<CommentEntity>- Overrides:
updatein classAbstractEntityManager<CommentEntity,CommentDataManager>
-
findCommentsByTaskId
- Specified by:
findCommentsByTaskIdin interfaceCommentEntityManager
-
findCommentsByTaskIdAndType
- Specified by:
findCommentsByTaskIdAndTypein interfaceCommentEntityManager
-
findCommentsByType
- Specified by:
findCommentsByTypein interfaceCommentEntityManager
-
findEventsByTaskId
- Specified by:
findEventsByTaskIdin interfaceCommentEntityManager
-
findEventsByProcessInstanceId
- Specified by:
findEventsByProcessInstanceIdin interfaceCommentEntityManager
-
deleteCommentsByTaskId
- Specified by:
deleteCommentsByTaskIdin interfaceCommentEntityManager
-
deleteCommentsByProcessInstanceId
- Specified by:
deleteCommentsByProcessInstanceIdin interfaceCommentEntityManager
-
bulkDeleteCommentsForTaskIds
- Specified by:
bulkDeleteCommentsForTaskIdsin interfaceCommentEntityManager
-
bulkDeleteCommentsForProcessInstanceIds
- Specified by:
bulkDeleteCommentsForProcessInstanceIdsin interfaceCommentEntityManager
-
findCommentsByProcessInstanceId
- Specified by:
findCommentsByProcessInstanceIdin interfaceCommentEntityManager
-
findCommentsByProcessInstanceId
- Specified by:
findCommentsByProcessInstanceIdin interfaceCommentEntityManager
-
findComment
- Specified by:
findCommentin interfaceCommentEntityManager
-
findEvent
- Specified by:
findEventin interfaceCommentEntityManager
-
delete
- Specified by:
deletein interfaceEntityManager<CommentEntity>- Overrides:
deletein classAbstractEntityManager<CommentEntity,CommentDataManager>
-
checkHistoryEnabled
protected void checkHistoryEnabled() -
getExecutionEntityManager
-
getHistoryManager
-