public class AttachmentManager extends AbstractHistoricManager
historyLevel, isHistoryEnabled, isHistoryLevelFullEnabled, LOG
Constructor and Description |
---|
AttachmentManager() |
Modifier and Type | Method and Description |
---|---|
void |
addRemovalTimeToAttachmentsByRootProcessInstanceId(String rootProcessInstanceId,
Date removalTime) |
protected void |
deleteAttachments(Map<String,Object> parameters) |
void |
deleteAttachmentsByProcessInstanceIds(List<String> processInstanceIds) |
DbOperation |
deleteAttachmentsByRemovalTime(Date removalTime,
int minuteFrom,
int minuteTo,
int batchSize) |
void |
deleteAttachmentsByTaskCaseInstanceIds(List<String> caseInstanceIds) |
void |
deleteAttachmentsByTaskId(String taskId) |
void |
deleteAttachmentsByTaskProcessInstanceIds(List<String> processInstanceIds) |
Attachment |
findAttachmentByTaskIdAndAttachmentId(String taskId,
String attachmentId) |
List<Attachment> |
findAttachmentsByProcessInstanceId(String processInstanceId) |
List<Attachment> |
findAttachmentsByTaskId(String taskId) |
checkHistoryEnabled, isHistoryEnabled, isHistoryLevelFullEnabled
checkAuthorization, close, configureQuery, delete, 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, insert, isAuthorizationEnabled, saveDefaultAuthorizations
public List<Attachment> findAttachmentsByProcessInstanceId(String processInstanceId)
public List<Attachment> findAttachmentsByTaskId(String taskId)
public void addRemovalTimeToAttachmentsByRootProcessInstanceId(String rootProcessInstanceId, Date removalTime)
public void deleteAttachmentsByTaskId(String taskId)
public void deleteAttachmentsByProcessInstanceIds(List<String> processInstanceIds)
public void deleteAttachmentsByTaskProcessInstanceIds(List<String> processInstanceIds)
public void deleteAttachmentsByTaskCaseInstanceIds(List<String> caseInstanceIds)
public Attachment findAttachmentByTaskIdAndAttachmentId(String taskId, String attachmentId)
public DbOperation deleteAttachmentsByRemovalTime(Date removalTime, int minuteFrom, int minuteTo, int batchSize)
Copyright © 2020. All rights reserved.