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(java.lang.String processInstanceId, java.util.Date removalTime)
void
addRemovalTimeToByteArraysByRootProcessInstanceId(java.lang.String rootProcessInstanceId, java.util.Date removalTime)
void
deleteByteArrayById(java.lang.String byteArrayEntityId)
Deletes theByteArrayEntity
with the given id from the database.DbOperation
deleteByteArraysByRemovalTime(java.util.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(java.lang.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(java.lang.String rootProcessInstanceId, java.util.Date removalTime)
-
addRemovalTimeToByteArraysByProcessInstanceId
public void addRemovalTimeToByteArraysByProcessInstanceId(java.lang.String processInstanceId, java.util.Date removalTime)
-
deleteByteArraysByRemovalTime
public DbOperation deleteByteArraysByRemovalTime(java.util.Date removalTime, int minuteFrom, int minuteTo, int batchSize)
-
-