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 |
|---|---|
ByteArrayEntity |
createAndInsert(byte[] bytes) |
ByteArrayEntity |
createAndInsert(String name,
byte[] bytes) |
void |
deleteByteArrayById(String byteArrayEntityId)
Deletes the
ByteArrayEntity with the given id from the database. |
ByteArrayDataManager |
getByteArrayDataManager() |
protected DataManager<ByteArrayEntity> |
getDataManager() |
void |
setByteArrayDataManager(ByteArrayDataManager byteArrayDataManager) |
create, delete, delete, delete, findById, insert, insert, update, updategetAsyncExecutor, getAttachmentEntityManager, getByteArrayEntityManager, getClock, getCommandContext, getCommandExecutor, getCommentEntityManager, getDeploymentEntityManager, getEventDispatcher, getEventSubscriptionEntityManager, getExecutionEntityManager, getGroupEntityManager, getHistoricActivityInstanceEntityManager, getHistoricDetailEntityManager, getHistoricIdentityLinkEntityManager, getHistoricProcessInstanceEntityManager, getHistoricTaskInstanceEntityManager, getHistoricVariableInstanceEntityManager, getHistoryManager, getIdentityInfoEntityManager, getIdentityLinkEntityManager, getJobEntityManager, getJobExecutor, getMembershipEntityManager, getModelEntityManager, getProcessDefinitionEntityManager, getProcessDefinitionInfoEntityManager, getProcessEngineConfiguration, getResourceEntityManager, getSession, getTaskEntityManager, getUserIdentityEntityManager, getVariableInstanceEntityManagerprotected ByteArrayDataManager byteArrayDataManager
public ByteArrayEntityManagerImpl(ProcessEngineConfigurationImpl processEngineConfiguration, ByteArrayDataManager byteArrayDataManager)
protected DataManager<ByteArrayEntity> getDataManager()
getDataManager in class AbstractEntityManager<ByteArrayEntity>public ByteArrayEntity createAndInsert(byte[] bytes)
createAndInsert in interface ByteArrayEntityManagerpublic ByteArrayEntity createAndInsert(String name, byte[] bytes)
createAndInsert 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 ByteArrayEntityManagerpublic ByteArrayDataManager getByteArrayDataManager()
public void setByteArrayDataManager(ByteArrayDataManager byteArrayDataManager)
Copyright © 2015 Alfresco. All rights reserved.