public class ByteArrayEntityManagerImpl extends AbstractEntityManager<ByteArrayEntity,ByteArrayDataManager> implements ByteArrayEntityManager
| Modifier and Type | Field and Description |
|---|---|
protected Supplier<FlowableEventDispatcher> |
eventDispatcherSupplier |
dataManager, engineType| Constructor and Description |
|---|
ByteArrayEntityManagerImpl(ByteArrayDataManager byteArrayDataManager,
String engineType,
Supplier<FlowableEventDispatcher> eventDispatcherSupplier) |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteByteArrayById(String byteArrayEntityId)
Deletes the
ByteArrayEntity with the given id from the database. |
List<ByteArrayEntity> |
findAll()
Returns all
ByteArrayEntity. |
protected FlowableEventDispatcher |
getEventDispatcher() |
void |
setEventDispatcherSupplier(Supplier<FlowableEventDispatcher> eventDispatcherSupplier) |
create, createEntityEvent, delete, delete, delete, findById, fireEntityDeletedEvent, fireEntityInsertedEvent, fireEntityUpdatedEvent, getDataManager, insert, insert, setDataManager, update, updateprotected Supplier<FlowableEventDispatcher> eventDispatcherSupplier
public ByteArrayEntityManagerImpl(ByteArrayDataManager byteArrayDataManager, String engineType, Supplier<FlowableEventDispatcher> eventDispatcherSupplier)
public List<ByteArrayEntity> findAll()
ByteArrayEntityManagerByteArrayEntity.findAll in interface ByteArrayEntityManagerpublic void deleteByteArrayById(String byteArrayEntityId)
ByteArrayEntityManagerByteArrayEntity 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!.deleteByteArrayById in interface ByteArrayEntityManagerprotected FlowableEventDispatcher getEventDispatcher()
getEventDispatcher in class AbstractEntityManager<ByteArrayEntity,ByteArrayDataManager>public void setEventDispatcherSupplier(Supplier<FlowableEventDispatcher> eventDispatcherSupplier)
Copyright © 2021 Flowable. All rights reserved.