public class CommentManager extends AbstractHistoricManager
historyLevel, isHistoryEnabled, isHistoryLevelFullEnabled, LOG
Constructor and Description |
---|
CommentManager() |
Modifier and Type | Method and Description |
---|---|
void |
addRemovalTimeToCommentsByRootProcessInstanceId(String rootProcessInstanceId,
Date removalTime) |
void |
delete(DbEntity dbEntity) |
protected void |
deleteComments(Map<String,Object> parameters) |
void |
deleteCommentsByProcessInstanceIds(List<String> processInstanceIds) |
DbOperation |
deleteCommentsByRemovalTime(Date removalTime,
int minuteFrom,
int minuteTo,
int batchSize) |
void |
deleteCommentsByTaskCaseInstanceIds(List<String> caseInstanceIds) |
void |
deleteCommentsByTaskId(String taskId) |
void |
deleteCommentsByTaskProcessInstanceIds(List<String> processInstanceIds) |
CommentEntity |
findCommentByTaskIdAndCommentId(String taskId,
String commentId) |
List<Comment> |
findCommentsByProcessInstanceId(String processInstanceId) |
List<Comment> |
findCommentsByTaskId(String taskId) |
List<Event> |
findEventsByTaskId(String taskId) |
void |
insert(DbEntity dbEntity) |
checkHistoryEnabled, isHistoryEnabled, isHistoryLevelFullEnabled
checkAuthorization, close, configureQuery, deleteAuthorizations, deleteAuthorizationsForGroup, deleteAuthorizationsForUser, deleteDefaultAuthorizations, flush, getAttachmentManager, getAuthorizationManager, getBatchManager, getByteArrayManager, 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
public void delete(DbEntity dbEntity)
delete
in class AbstractManager
public void insert(DbEntity dbEntity)
insert
in class AbstractManager
public void deleteCommentsByTaskId(String taskId)
public void deleteCommentsByProcessInstanceIds(List<String> processInstanceIds)
public void deleteCommentsByTaskProcessInstanceIds(List<String> processInstanceIds)
public void deleteCommentsByTaskCaseInstanceIds(List<String> caseInstanceIds)
public List<Comment> findCommentsByProcessInstanceId(String processInstanceId)
public CommentEntity findCommentByTaskIdAndCommentId(String taskId, String commentId)
public void addRemovalTimeToCommentsByRootProcessInstanceId(String rootProcessInstanceId, Date removalTime)
public DbOperation deleteCommentsByRemovalTime(Date removalTime, int minuteFrom, int minuteTo, int batchSize)
Copyright © 2020. All rights reserved.