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
public class AttachmentManager 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 AttachmentManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addRemovalTimeToAttachmentsByProcessInstanceId(java.lang.String processInstanceId, java.util.Date removalTime)
void
addRemovalTimeToAttachmentsByRootProcessInstanceId(java.lang.String rootProcessInstanceId, java.util.Date removalTime)
protected void
deleteAttachments(java.util.Map<java.lang.String,java.lang.Object> parameters)
void
deleteAttachmentsByProcessInstanceIds(java.util.List<java.lang.String> processInstanceIds)
DbOperation
deleteAttachmentsByRemovalTime(java.util.Date removalTime, int minuteFrom, int minuteTo, int batchSize)
void
deleteAttachmentsByTaskCaseInstanceIds(java.util.List<java.lang.String> caseInstanceIds)
void
deleteAttachmentsByTaskId(java.lang.String taskId)
void
deleteAttachmentsByTaskProcessInstanceIds(java.util.List<java.lang.String> processInstanceIds)
Attachment
findAttachmentByTaskIdAndAttachmentId(java.lang.String taskId, java.lang.String attachmentId)
java.util.List<Attachment>
findAttachmentsByProcessInstanceId(java.lang.String processInstanceId)
java.util.List<Attachment>
findAttachmentsByTaskId(java.lang.String taskId)
-
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, 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
-
-
-
-
Method Detail
-
findAttachmentsByProcessInstanceId
public java.util.List<Attachment> findAttachmentsByProcessInstanceId(java.lang.String processInstanceId)
-
findAttachmentsByTaskId
public java.util.List<Attachment> findAttachmentsByTaskId(java.lang.String taskId)
-
addRemovalTimeToAttachmentsByRootProcessInstanceId
public void addRemovalTimeToAttachmentsByRootProcessInstanceId(java.lang.String rootProcessInstanceId, java.util.Date removalTime)
-
addRemovalTimeToAttachmentsByProcessInstanceId
public void addRemovalTimeToAttachmentsByProcessInstanceId(java.lang.String processInstanceId, java.util.Date removalTime)
-
deleteAttachmentsByTaskId
public void deleteAttachmentsByTaskId(java.lang.String taskId)
-
deleteAttachmentsByProcessInstanceIds
public void deleteAttachmentsByProcessInstanceIds(java.util.List<java.lang.String> processInstanceIds)
-
deleteAttachmentsByTaskProcessInstanceIds
public void deleteAttachmentsByTaskProcessInstanceIds(java.util.List<java.lang.String> processInstanceIds)
-
deleteAttachmentsByTaskCaseInstanceIds
public void deleteAttachmentsByTaskCaseInstanceIds(java.util.List<java.lang.String> caseInstanceIds)
-
deleteAttachments
protected void deleteAttachments(java.util.Map<java.lang.String,java.lang.Object> parameters)
-
findAttachmentByTaskIdAndAttachmentId
public Attachment findAttachmentByTaskIdAndAttachmentId(java.lang.String taskId, java.lang.String attachmentId)
-
deleteAttachmentsByRemovalTime
public DbOperation deleteAttachmentsByRemovalTime(java.util.Date removalTime, int minuteFrom, int minuteTo, int batchSize)
-
-