Class ByteArrayManager

java.lang.Object
org.camunda.bpm.engine.impl.persistence.AbstractManager
org.camunda.bpm.engine.impl.persistence.entity.ByteArrayManager
All Implemented Interfaces:
Session

public class ByteArrayManager extends AbstractManager
Author:
Joram Barrez
  • Constructor Details

    • ByteArrayManager

      public ByteArrayManager()
  • Method Details

    • deleteByteArrayById

      public void deleteByteArrayById(String byteArrayEntityId)
      Deletes the ByteArrayEntity with the given id from the database. Important: this operation will NOT do any optimistic locking, to avoid loading the bytes in memory. So use this method only in conjunction with an entity that has optimistic locking!.
    • insertByteArray

      public void insertByteArray(ByteArrayEntity arr)
    • addRemovalTimeToByteArraysByRootProcessInstanceId

      public DbOperation addRemovalTimeToByteArraysByRootProcessInstanceId(String rootProcessInstanceId, Date removalTime, Integer batchSize)
    • addRemovalTimeToByteArraysByProcessInstanceId

      public List<DbOperation> addRemovalTimeToByteArraysByProcessInstanceId(String processInstanceId, Date removalTime, Integer batchSize)
    • deleteByteArraysByRemovalTime

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