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 TypeMethodDescriptionvoid
bulkDeleteByteArraysById
(List<String> byteArrayEntityIds) Deletes theByteArrayEntity
with the given ids from the database.void
deleteByteArrayById
(String byteArrayEntityId) Deletes theByteArrayEntity
with the given id from the database.findAll()
Returns allByteArrayEntity
.protected FlowableEventDispatcher
void
setEventDispatcherSupplier
(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:ByteArrayEntityManager
Returns allByteArrayEntity
.- Specified by:
findAll
in interfaceByteArrayEntityManager
-
deleteByteArrayById
Description copied from interface:ByteArrayEntityManager
Deletes theByteArrayEntity
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!.- Specified by:
deleteByteArrayById
in interfaceByteArrayEntityManager
-
bulkDeleteByteArraysById
Description copied from interface:ByteArrayEntityManager
Deletes theByteArrayEntity
with 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:
bulkDeleteByteArraysById
in interfaceByteArrayEntityManager
-
getEventDispatcher
- Specified by:
getEventDispatcher
in classAbstractEntityManager<ByteArrayEntity,
ByteArrayDataManager>
-
setEventDispatcherSupplier
-