org.camunda.bpm.engine.impl.persistence.entity
Class AttachmentManager

java.lang.Object
  extended by org.camunda.bpm.engine.impl.persistence.AbstractManager
      extended by org.camunda.bpm.engine.impl.persistence.AbstractHistoricManager
          extended by 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
 
Constructor Summary
AttachmentManager()
           
 
Method Summary
 void deleteAttachmentsByTaskId(String taskId)
           
 Attachment findAttachmentByTaskIdAndAttachmentId(String taskId, String attachmentId)
           
 List<Attachment> findAttachmentsByProcessInstanceId(String processInstanceId)
           
 List<Attachment> findAttachmentsByTaskId(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, flush, getAttachmentManager, getByteArrayManager, getCaseDefinitionManager, getCaseExecutionManager, getCaseInstanceManager, getDbEntityManager, getDbSqlSession, getDeploymentManager, getHistoricActivityInstanceManager, getHistoricCaseActivityInstanceManager, getHistoricCaseInstanceManager, getHistoricDetailManager, getHistoricProcessInstanceManager, getHistoricTaskInstanceManager, getIdentityInfoManager, getIdentityLinkManager, getProcessDefinitionManager, getProcessInstanceManager, getResourceAuthorizationProvider, getResourceManager, getSession, getTaskManager, getVariableInstanceManager, insert, saveDefaultAuthorizations
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttachmentManager

public AttachmentManager()
Method Detail

findAttachmentsByProcessInstanceId

public List<Attachment> findAttachmentsByProcessInstanceId(String processInstanceId)

findAttachmentsByTaskId

public List<Attachment> findAttachmentsByTaskId(String taskId)

deleteAttachmentsByTaskId

public void deleteAttachmentsByTaskId(String taskId)

findAttachmentByTaskIdAndAttachmentId

public Attachment findAttachmentByTaskIdAndAttachmentId(String taskId,
                                                        String attachmentId)


Copyright © 2014 camunda services GmbH. All rights reserved.