Class AttachmentManager

All Implemented Interfaces:
Session

public class AttachmentManager extends AbstractHistoricManager
Author:
Tom Baeyens
  • Constructor Details

    • AttachmentManager

      public AttachmentManager()
  • Method Details

    • findAttachmentsByProcessInstanceId

      public List<Attachment> findAttachmentsByProcessInstanceId(String processInstanceId)
    • findAttachmentsByTaskId

      public List<Attachment> findAttachmentsByTaskId(String taskId)
    • addRemovalTimeToAttachmentsByRootProcessInstanceId

      public DbOperation addRemovalTimeToAttachmentsByRootProcessInstanceId(String rootProcessInstanceId, Date removalTime, Integer batchSize)
    • addRemovalTimeToAttachmentsByProcessInstanceId

      public DbOperation addRemovalTimeToAttachmentsByProcessInstanceId(String processInstanceId, Date removalTime, Integer batchSize)
    • deleteAttachmentsByTaskId

      public void deleteAttachmentsByTaskId(String taskId)
    • deleteAttachmentsByProcessInstanceIds

      public void deleteAttachmentsByProcessInstanceIds(List<String> processInstanceIds)
    • deleteAttachmentsByTaskProcessInstanceIds

      public void deleteAttachmentsByTaskProcessInstanceIds(List<String> processInstanceIds)
    • deleteAttachmentsByTaskCaseInstanceIds

      public void deleteAttachmentsByTaskCaseInstanceIds(List<String> caseInstanceIds)
    • deleteAttachments

      protected void deleteAttachments(Map<String,Object> parameters)
    • findAttachmentByTaskIdAndAttachmentId

      public Attachment findAttachmentByTaskIdAndAttachmentId(String taskId, String attachmentId)
    • deleteAttachmentsByRemovalTime

      public DbOperation deleteAttachmentsByRemovalTime(Date removalTime, int minuteFrom, int minuteTo, int batchSize)