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
Fields Modifier and Type Field Description protected Supplier<FlowableEventDispatcher>eventDispatcherSupplier-
Fields inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntityManager
dataManager, engineType
-
-
Constructor Summary
Constructors Constructor Description ByteArrayEntityManagerImpl(ByteArrayDataManager byteArrayDataManager, String engineType, Supplier<FlowableEventDispatcher> eventDispatcherSupplier)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbulkDeleteByteArraysById(List<String> byteArrayEntityIds)Deletes theByteArrayEntitywith the given ids from the database.voiddeleteByteArrayById(String byteArrayEntityId)Deletes theByteArrayEntitywith the given id from the database.List<ByteArrayEntity>findAll()Returns allByteArrayEntity.protected FlowableEventDispatchergetEventDispatcher()voidsetEventDispatcherSupplier(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 Detail
-
eventDispatcherSupplier
protected Supplier<FlowableEventDispatcher> eventDispatcherSupplier
-
-
Constructor Detail
-
ByteArrayEntityManagerImpl
public ByteArrayEntityManagerImpl(ByteArrayDataManager byteArrayDataManager, String engineType, Supplier<FlowableEventDispatcher> eventDispatcherSupplier)
-
-
Method Detail
-
findAll
public List<ByteArrayEntity> findAll()
Description copied from interface:ByteArrayEntityManagerReturns allByteArrayEntity.- Specified by:
findAllin interfaceByteArrayEntityManager
-
deleteByteArrayById
public void deleteByteArrayById(String byteArrayEntityId)
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
public void bulkDeleteByteArraysById(List<String> byteArrayEntityIds)
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
protected FlowableEventDispatcher getEventDispatcher()
- Specified by:
getEventDispatcherin classAbstractEntityManager<ByteArrayEntity,ByteArrayDataManager>
-
setEventDispatcherSupplier
public void setEventDispatcherSupplier(Supplier<FlowableEventDispatcher> eventDispatcherSupplier)
-
-