public class ByteArrayEntityManagerImpl extends AbstractEntityManager<ByteArrayEntity> implements ByteArrayEntityManager
Modifier and Type | Field and Description |
---|---|
protected ByteArrayDataManager |
byteArrayDataManager |
processEngineConfiguration
Constructor and Description |
---|
ByteArrayEntityManagerImpl(ProcessEngineConfigurationImpl processEngineConfiguration,
ByteArrayDataManager byteArrayDataManager) |
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 . |
ByteArrayDataManager |
getByteArrayDataManager() |
protected DataManager<ByteArrayEntity> |
getDataManager() |
void |
setByteArrayDataManager(ByteArrayDataManager byteArrayDataManager) |
create, delete, delete, delete, findById, insert, insert, isExecutionRelatedEntityCountEnabled, isExecutionRelatedEntityCountEnabled, isExecutionRelatedEntityCountEnabledGlobally, update, update
getAsyncExecutor, getAttachmentEntityManager, getByteArrayEntityManager, getClock, getCommandContext, getCommandExecutor, getCommentEntityManager, getDeadLetterJobEntityManager, getDeploymentEntityManager, getEventDispatcher, getEventSubscriptionEntityManager, getExecutionEntityManager, getHistoricActivityInstanceEntityManager, getHistoricDetailEntityManager, getHistoricIdentityLinkEntityManager, getHistoricProcessInstanceEntityManager, getHistoricTaskInstanceEntityManager, getHistoricVariableInstanceEntityManager, getHistoryManager, getIdentityLinkEntityManager, getJobEntityManager, getJobManager, getModelEntityManager, getProcessDefinitionEntityManager, getProcessDefinitionInfoEntityManager, getProcessEngineConfiguration, getResourceEntityManager, getSession, getSuspendedJobEntityManager, getTaskEntityManager, getTimerJobEntityManager, getVariableInstanceEntityManager
protected ByteArrayDataManager byteArrayDataManager
public ByteArrayEntityManagerImpl(ProcessEngineConfigurationImpl processEngineConfiguration, ByteArrayDataManager byteArrayDataManager)
protected DataManager<ByteArrayEntity> getDataManager()
getDataManager
in class AbstractEntityManager<ByteArrayEntity>
public List<ByteArrayEntity> findAll()
ByteArrayEntityManager
ByteArrayEntity
.findAll
in interface ByteArrayEntityManager
public void deleteByteArrayById(String byteArrayEntityId)
ByteArrayEntityManager
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!.deleteByteArrayById
in interface ByteArrayEntityManager
public ByteArrayDataManager getByteArrayDataManager()
public void setByteArrayDataManager(ByteArrayDataManager byteArrayDataManager)
Copyright © 2010–2017 Alfresco. All rights reserved.