Class ByteArrayEntityManagerImpl
java.lang.Object
org.flowable.common.engine.impl.persistence.entity.AbstractEntityManager<ByteArrayEntity,ByteArrayDataManager>
org.flowable.common.engine.impl.persistence.entity.ByteArrayEntityManagerImpl
- All Implemented Interfaces:
ByteArrayEntityManager,EntityManager<ByteArrayEntity>
public class ByteArrayEntityManagerImpl
extends AbstractEntityManager<ByteArrayEntity,ByteArrayDataManager>
implements ByteArrayEntityManager
- Author:
- Joram Barrez, Marcus Klimstra (CGI)
-
Field Summary
FieldsFields inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntityManager
dataManager, engineType -
Constructor Summary
ConstructorsConstructorDescriptionByteArrayEntityManagerImpl(ByteArrayDataManager byteArrayDataManager, String engineType, Supplier<FlowableEventDispatcher> eventDispatcherSupplier) -
Method Summary
Modifier and TypeMethodDescriptionvoidbulkDeleteByteArraysById(List<String> byteArrayEntityIds) Deletes theByteArrayEntitywith the given ids from the database.voiddeleteByteArrayById(String byteArrayEntityId) Deletes theByteArrayEntitywith the given id from the database.findAll()Returns allByteArrayEntity.protected FlowableEventDispatchervoidsetEventDispatcherSupplier(Supplier<FlowableEventDispatcher> eventDispatcherSupplier) Methods inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntityManager
create, createEntityEvent, delete, delete, delete, findById, fireEntityDeletedEvent, fireEntityInsertedEvent, fireEntityUpdatedEvent, getDataManager, insert, insert, setDataManager, update, update
-
Field Details
-
eventDispatcherSupplier
-
-
Constructor Details
-
ByteArrayEntityManagerImpl
public ByteArrayEntityManagerImpl(ByteArrayDataManager byteArrayDataManager, String engineType, Supplier<FlowableEventDispatcher> eventDispatcherSupplier)
-
-
Method Details
-
findAll
Description copied from interface:ByteArrayEntityManagerReturns allByteArrayEntity.- Specified by:
findAllin interfaceByteArrayEntityManager
-
deleteByteArrayById
Description copied from interface:ByteArrayEntityManagerDeletes theByteArrayEntitywith 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!.- Specified by:
deleteByteArrayByIdin interfaceByteArrayEntityManager
-
bulkDeleteByteArraysById
Description copied from interface:ByteArrayEntityManagerDeletes theByteArrayEntitywith the given ids 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!.- Specified by:
bulkDeleteByteArraysByIdin interfaceByteArrayEntityManager
-
getEventDispatcher
- Specified by:
getEventDispatcherin classAbstractEntityManager<ByteArrayEntity,ByteArrayDataManager>
-
setEventDispatcherSupplier
-