Class AttachmentManager
java.lang.Object
org.camunda.bpm.engine.impl.persistence.AbstractManager
org.camunda.bpm.engine.impl.persistence.AbstractHistoricManager
org.camunda.bpm.engine.impl.persistence.entity.AttachmentManager
- 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 TypeMethodDescriptionaddRemovalTimeToAttachmentsByProcessInstanceId
(String processInstanceId, Date removalTime, Integer batchSize) addRemovalTimeToAttachmentsByRootProcessInstanceId
(String rootProcessInstanceId, Date removalTime, Integer batchSize) protected void
deleteAttachments
(Map<String, Object> parameters) void
deleteAttachmentsByProcessInstanceIds
(List<String> processInstanceIds) deleteAttachmentsByRemovalTime
(Date removalTime, int minuteFrom, int minuteTo, int batchSize) void
deleteAttachmentsByTaskCaseInstanceIds
(List<String> caseInstanceIds) void
deleteAttachmentsByTaskId
(String taskId) void
deleteAttachmentsByTaskProcessInstanceIds
(List<String> processInstanceIds) findAttachmentByTaskIdAndAttachmentId
(String taskId, String attachmentId) findAttachmentsByProcessInstanceId
(String processInstanceId) findAttachmentsByTaskId
(String taskId) 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, delete, 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, insert, isAuthorizationEnabled, saveDefaultAuthorizations
-
Constructor Details
-
AttachmentManager
public AttachmentManager()
-
-
Method Details
-
findAttachmentsByProcessInstanceId
-
findAttachmentsByTaskId
-
addRemovalTimeToAttachmentsByRootProcessInstanceId
public DbOperation addRemovalTimeToAttachmentsByRootProcessInstanceId(String rootProcessInstanceId, Date removalTime, Integer batchSize) -
addRemovalTimeToAttachmentsByProcessInstanceId
public DbOperation addRemovalTimeToAttachmentsByProcessInstanceId(String processInstanceId, Date removalTime, Integer batchSize) -
deleteAttachmentsByTaskId
-
deleteAttachmentsByProcessInstanceIds
-
deleteAttachmentsByTaskProcessInstanceIds
-
deleteAttachmentsByTaskCaseInstanceIds
-
deleteAttachments
-
findAttachmentByTaskIdAndAttachmentId
-
deleteAttachmentsByRemovalTime
public DbOperation deleteAttachmentsByRemovalTime(Date removalTime, int minuteFrom, int minuteTo, int batchSize)
-