Class ByteArrayManager
java.lang.Object
org.camunda.bpm.engine.impl.persistence.AbstractManager
org.camunda.bpm.engine.impl.persistence.entity.ByteArrayManager
- All Implemented Interfaces:
Session
- Author:
- Joram Barrez
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddRemovalTimeToByteArraysByProcessInstanceId
(String processInstanceId, Date removalTime, Integer batchSize) addRemovalTimeToByteArraysByRootProcessInstanceId
(String rootProcessInstanceId, Date removalTime, Integer batchSize) void
deleteByteArrayById
(String byteArrayEntityId) Deletes theByteArrayEntity
with the given id from the database.deleteByteArraysByRemovalTime
(Date removalTime, int minuteFrom, int minuteTo, int batchSize) void
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
-
Constructor Details
-
ByteArrayManager
public ByteArrayManager()
-
-
Method Details
-
deleteByteArrayById
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
-
addRemovalTimeToByteArraysByRootProcessInstanceId
public DbOperation addRemovalTimeToByteArraysByRootProcessInstanceId(String rootProcessInstanceId, Date removalTime, Integer batchSize) -
addRemovalTimeToByteArraysByProcessInstanceId
public List<DbOperation> addRemovalTimeToByteArraysByProcessInstanceId(String processInstanceId, Date removalTime, Integer batchSize) -
deleteByteArraysByRemovalTime
public DbOperation deleteByteArraysByRemovalTime(Date removalTime, int minuteFrom, int minuteTo, int batchSize)
-