Class CommentManager
java.lang.Object
org.camunda.bpm.engine.impl.persistence.AbstractManager
org.camunda.bpm.engine.impl.persistence.AbstractHistoricManager
org.camunda.bpm.engine.impl.persistence.entity.CommentManager
- All Implemented Interfaces:
Session
- Author:
- Tom Baeyens
-
Field Summary
Fields inherited from class org.camunda.bpm.engine.impl.persistence.AbstractHistoricManager
historyLevel, isHistoryEnabled, isHistoryLevelFullEnabled, LOG
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddRemovalTimeToCommentsByProcessInstanceId
(String processInstanceId, Date removalTime, Integer batchSize) addRemovalTimeToCommentsByRootProcessInstanceId
(String rootProcessInstanceId, Date removalTime, Integer batchSize) void
protected void
deleteComments
(Map<String, Object> parameters) void
deleteCommentsByProcessInstanceIds
(List<String> processInstanceIds) deleteCommentsByRemovalTime
(Date removalTime, int minuteFrom, int minuteTo, int batchSize) void
deleteCommentsByTaskCaseInstanceIds
(List<String> caseInstanceIds) void
deleteCommentsByTaskId
(String taskId) void
deleteCommentsByTaskProcessInstanceIds
(List<String> processInstanceIds) findCommentByProcessInstanceIdAndCommentId
(String processInstanceId, String commentId) findCommentByTaskIdAndCommentId
(String taskId, String commentId) findCommentsByProcessInstanceId
(String processInstanceId) findCommentsByTaskId
(String taskId) findEventsByTaskId
(String taskId) void
Methods inherited from class org.camunda.bpm.engine.impl.persistence.AbstractHistoricManager
addOperation, addOperation, checkHistoryEnabled, isHistoryEnabled, isHistoryLevelFullEnabled, isPerformUpdate, isPerformUpdateOnly
Methods inherited from class org.camunda.bpm.engine.impl.persistence.AbstractManager
checkAuthorization, close, configureQuery, deleteAuthorizations, deleteAuthorizationsForGroup, deleteAuthorizationsForUser, deleteDefaultAuthorizations, flush, getAttachmentManager, getAuthorizationManager, getBatchManager, getByteArrayManager, getCamundaFormDefinitionManager, getCaseDefinitionManager, getCaseExecutionManager, getCaseInstanceManager, getCommandContext, getCurrentAuthentication, getDbEntityManager, getDbSqlSession, getDecisionDefinitionManager, getDecisionRequirementsDefinitionManager, getDeploymentManager, getEventSubscriptionManager, getHistoricActivityInstanceManager, getHistoricBatchManager, getHistoricCaseActivityInstanceManager, getHistoricCaseInstanceManager, getHistoricDecisionInstanceManager, getHistoricDetailManager, getHistoricExternalTaskLogManager, getHistoricIdentityLinkManager, getHistoricIncidentManager, getHistoricJobLogManager, getHistoricProcessInstanceManager, getHistoricReportManager, getHistoricTaskInstanceManager, getHistoricVariableInstanceManager, getIdentityInfoManager, getIdentityLinkManager, getJobDefinitionManager, getJobManager, getProcessDefinitionManager, getProcessInstanceManager, getResourceAuthorizationProvider, getResourceManager, getSession, getTaskManager, getTaskReportManager, getTenantManager, getUserOperationLogManager, getVariableInstanceManager, isAuthorizationEnabled, saveDefaultAuthorizations
-
Constructor Details
-
CommentManager
public CommentManager()
-
-
Method Details
-
delete
- Overrides:
delete
in classAbstractManager
-
insert
- Overrides:
insert
in classAbstractManager
-
findCommentsByTaskId
-
findEventsByTaskId
-
deleteCommentsByTaskId
-
deleteCommentsByProcessInstanceIds
-
deleteCommentsByTaskProcessInstanceIds
-
deleteCommentsByTaskCaseInstanceIds
-
deleteComments
-
findCommentsByProcessInstanceId
-
findCommentByTaskIdAndCommentId
-
findCommentByProcessInstanceIdAndCommentId
public CommentEntity findCommentByProcessInstanceIdAndCommentId(String processInstanceId, String commentId) -
addRemovalTimeToCommentsByRootProcessInstanceId
public DbOperation addRemovalTimeToCommentsByRootProcessInstanceId(String rootProcessInstanceId, Date removalTime, Integer batchSize) -
addRemovalTimeToCommentsByProcessInstanceId
public DbOperation addRemovalTimeToCommentsByProcessInstanceId(String processInstanceId, Date removalTime, Integer batchSize) -
deleteCommentsByRemovalTime
public DbOperation deleteCommentsByRemovalTime(Date removalTime, int minuteFrom, int minuteTo, int batchSize)
-