Class ByteArrayManager

  • All Implemented Interfaces:
    Session

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

      • ByteArrayManager

        public ByteArrayManager()
    • Method Detail

      • deleteByteArrayById

        public void deleteByteArrayById​(java.lang.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!.
      • addRemovalTimeToByteArraysByRootProcessInstanceId

        public void addRemovalTimeToByteArraysByRootProcessInstanceId​(java.lang.String rootProcessInstanceId,
                                                                      java.util.Date removalTime)
      • addRemovalTimeToByteArraysByProcessInstanceId

        public void addRemovalTimeToByteArraysByProcessInstanceId​(java.lang.String processInstanceId,
                                                                  java.util.Date removalTime)
      • deleteByteArraysByRemovalTime

        public DbOperation deleteByteArraysByRemovalTime​(java.util.Date removalTime,
                                                         int minuteFrom,
                                                         int minuteTo,
                                                         int batchSize)