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
public class CommentManager extends AbstractHistoricManager
- Author:
- Tom Baeyens
-
-
Field Summary
-
Fields inherited from class org.camunda.bpm.engine.impl.persistence.AbstractHistoricManager
historyLevel, isHistoryEnabled, isHistoryLevelFullEnabled, LOG
-
-
Constructor Summary
Constructors Constructor Description CommentManager()
-
Method Summary
-
Methods inherited from class org.camunda.bpm.engine.impl.persistence.AbstractHistoricManager
checkHistoryEnabled, isHistoryEnabled, isHistoryLevelFullEnabled
-
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
-
-
-
-
Method Detail
-
delete
public void delete(DbEntity dbEntity)
- Overrides:
delete
in classAbstractManager
-
insert
public void insert(DbEntity dbEntity)
- Overrides:
insert
in classAbstractManager
-
deleteCommentsByTaskId
public void deleteCommentsByTaskId(String taskId)
-
deleteCommentsByProcessInstanceIds
public void deleteCommentsByProcessInstanceIds(List<String> processInstanceIds)
-
deleteCommentsByTaskProcessInstanceIds
public void deleteCommentsByTaskProcessInstanceIds(List<String> processInstanceIds)
-
deleteCommentsByTaskCaseInstanceIds
public void deleteCommentsByTaskCaseInstanceIds(List<String> caseInstanceIds)
-
findCommentsByProcessInstanceId
public List<Comment> findCommentsByProcessInstanceId(String processInstanceId)
-
findCommentByTaskIdAndCommentId
public CommentEntity findCommentByTaskIdAndCommentId(String taskId, String commentId)
-
addRemovalTimeToCommentsByRootProcessInstanceId
public void addRemovalTimeToCommentsByRootProcessInstanceId(String rootProcessInstanceId, Date removalTime)
-
addRemovalTimeToCommentsByProcessInstanceId
public void addRemovalTimeToCommentsByProcessInstanceId(String processInstanceId, Date removalTime)
-
deleteCommentsByRemovalTime
public DbOperation deleteCommentsByRemovalTime(Date removalTime, int minuteFrom, int minuteTo, int batchSize)
-
-