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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addRemovalTimeToCommentsByProcessInstanceId(java.lang.String processInstanceId, java.util.Date removalTime)
void
addRemovalTimeToCommentsByRootProcessInstanceId(java.lang.String rootProcessInstanceId, java.util.Date removalTime)
void
delete(DbEntity dbEntity)
protected void
deleteComments(java.util.Map<java.lang.String,java.lang.Object> parameters)
void
deleteCommentsByProcessInstanceIds(java.util.List<java.lang.String> processInstanceIds)
DbOperation
deleteCommentsByRemovalTime(java.util.Date removalTime, int minuteFrom, int minuteTo, int batchSize)
void
deleteCommentsByTaskCaseInstanceIds(java.util.List<java.lang.String> caseInstanceIds)
void
deleteCommentsByTaskId(java.lang.String taskId)
void
deleteCommentsByTaskProcessInstanceIds(java.util.List<java.lang.String> processInstanceIds)
CommentEntity
findCommentByTaskIdAndCommentId(java.lang.String taskId, java.lang.String commentId)
java.util.List<Comment>
findCommentsByProcessInstanceId(java.lang.String processInstanceId)
java.util.List<Comment>
findCommentsByTaskId(java.lang.String taskId)
java.util.List<Event>
findEventsByTaskId(java.lang.String taskId)
void
insert(DbEntity dbEntity)
-
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
-
findCommentsByTaskId
public java.util.List<Comment> findCommentsByTaskId(java.lang.String taskId)
-
findEventsByTaskId
public java.util.List<Event> findEventsByTaskId(java.lang.String taskId)
-
deleteCommentsByTaskId
public void deleteCommentsByTaskId(java.lang.String taskId)
-
deleteCommentsByProcessInstanceIds
public void deleteCommentsByProcessInstanceIds(java.util.List<java.lang.String> processInstanceIds)
-
deleteCommentsByTaskProcessInstanceIds
public void deleteCommentsByTaskProcessInstanceIds(java.util.List<java.lang.String> processInstanceIds)
-
deleteCommentsByTaskCaseInstanceIds
public void deleteCommentsByTaskCaseInstanceIds(java.util.List<java.lang.String> caseInstanceIds)
-
deleteComments
protected void deleteComments(java.util.Map<java.lang.String,java.lang.Object> parameters)
-
findCommentsByProcessInstanceId
public java.util.List<Comment> findCommentsByProcessInstanceId(java.lang.String processInstanceId)
-
findCommentByTaskIdAndCommentId
public CommentEntity findCommentByTaskIdAndCommentId(java.lang.String taskId, java.lang.String commentId)
-
addRemovalTimeToCommentsByRootProcessInstanceId
public void addRemovalTimeToCommentsByRootProcessInstanceId(java.lang.String rootProcessInstanceId, java.util.Date removalTime)
-
addRemovalTimeToCommentsByProcessInstanceId
public void addRemovalTimeToCommentsByProcessInstanceId(java.lang.String processInstanceId, java.util.Date removalTime)
-
deleteCommentsByRemovalTime
public DbOperation deleteCommentsByRemovalTime(java.util.Date removalTime, int minuteFrom, int minuteTo, int batchSize)
-
-