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 voidaddRemovalTimeToByteArraysByProcessInstanceId(String processInstanceId, Date removalTime)voidaddRemovalTimeToByteArraysByRootProcessInstanceId(String rootProcessInstanceId, Date removalTime)voiddeleteByteArrayById(String byteArrayEntityId)Deletes theByteArrayEntitywith the given id from the database.DbOperationdeleteByteArraysByRemovalTime(Date removalTime, int minuteFrom, int minuteTo, int batchSize)voidinsertByteArray(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 theByteArrayEntitywith 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)
-
-