Class ByteArrayManager
- java.lang.Object
-
- org.camunda.bpm.engine.impl.persistence.AbstractManager
-
- org.camunda.bpm.engine.impl.persistence.entity.ByteArrayManager
-
- All Implemented Interfaces:
Session
public class ByteArrayManager extends AbstractManager
- Author:
- Joram Barrez
-
-
Constructor Summary
Constructors Constructor Description ByteArrayManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addRemovalTimeToByteArraysByProcessInstanceId(String processInstanceId, Date removalTime)
void
addRemovalTimeToByteArraysByRootProcessInstanceId(String rootProcessInstanceId, Date removalTime)
void
deleteByteArrayById(String byteArrayEntityId)
Deletes theByteArrayEntity
with the given id from the database.DbOperation
deleteByteArraysByRemovalTime(Date removalTime, int minuteFrom, int minuteTo, int batchSize)
void
insertByteArray(ByteArrayEntity arr)
-
Methods inherited from class org.camunda.bpm.engine.impl.persistence.AbstractManager
checkAuthorization, close, configureQuery, delete, deleteAuthorizations, deleteAuthorizationsForGroup, deleteAuthorizationsForUser, deleteDefaultAuthorizations, flush, getAttachmentManager, getAuthorizationManager, getBatchManager, getByteArrayManager, getCamundaFormDefinitionManager, getCaseDefinitionManager, getCaseExecutionManager, getCaseInstanceManager, getCommandContext, getCurrentAuthentication, getDbEntityManager, getDbSqlSession, getDecisionDefinitionManager, getDecisionRequirementsDefinitionManager, getDeploymentManager, getEventSubscriptionManager, getHistoricActivityInstanceManager, getHistoricBatchManager, getHistoricCaseActivityInstanceManager, getHistoricCaseInstanceManager, getHistoricDecisionInstanceManager, getHistoricDetailManager, getHistoricExternalTaskLogManager, getHistoricIdentityLinkManager, getHistoricIncidentManager, getHistoricJobLogManager, getHistoricProcessInstanceManager, getHistoricReportManager, getHistoricTaskInstanceManager, getHistoricVariableInstanceManager, getIdentityInfoManager, getIdentityLinkManager, getJobDefinitionManager, getJobManager, getProcessDefinitionManager, getProcessInstanceManager, getResourceAuthorizationProvider, getResourceManager, getSession, getTaskManager, getTaskReportManager, getTenantManager, getUserOperationLogManager, getVariableInstanceManager, insert, isAuthorizationEnabled, saveDefaultAuthorizations
-
-
-
-
Method Detail
-
deleteByteArrayById
public void deleteByteArrayById(String byteArrayEntityId)
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!.
-
insertByteArray
public void insertByteArray(ByteArrayEntity arr)
-
addRemovalTimeToByteArraysByRootProcessInstanceId
public void addRemovalTimeToByteArraysByRootProcessInstanceId(String rootProcessInstanceId, Date removalTime)
-
addRemovalTimeToByteArraysByProcessInstanceId
public void addRemovalTimeToByteArraysByProcessInstanceId(String processInstanceId, Date removalTime)
-
deleteByteArraysByRemovalTime
public DbOperation deleteByteArraysByRemovalTime(Date removalTime, int minuteFrom, int minuteTo, int batchSize)
-
-