Class ProcessInstanceService7_7_4
- java.lang.Object
-
- org.bonitasoft.engine.core.process.instance.impl.ProcessInstanceServiceImpl
-
- org.bonitasoft.engine.core.process.instance.impl.ProcessInstanceService7_7_4
-
- All Implemented Interfaces:
ProcessInstanceService
@Deprecated public class ProcessInstanceService7_7_4 extends ProcessInstanceServiceImpl
Deprecated.This implementation only override the delete of archive process instances behavior. This behavior is the same as 7.7.4 and before It is not used by default but is a fallback in case the trigger of events on archived elements deletion is important It will most likely be deleted in 7.9.0
-
-
Field Summary
-
Fields inherited from interface org.bonitasoft.engine.core.process.instance.api.ProcessInstanceService
EVENT_TRIGGER_INSTANCE, PROCESS_INSTANCE_CATEGORY_STATE, PROCESSINSTANCE, PROCESSINSTANCE_STATE, PROCESSINSTANCE_STATE_UPDATED, PROCESSINSTANCE_TOKEN_COUNT
-
-
Constructor Summary
Constructors Constructor Description ProcessInstanceService7_7_4(Recorder recorder, ReadPersistenceService persistenceRead, ActivityInstanceService activityService, TechnicalLoggerService logger, EventInstanceService bpmEventInstanceService, DataInstanceService dataInstanceService, ArchiveService archiveService, ProcessDefinitionService processDefinitionService, ConnectorInstanceService connectorInstanceService, ClassLoaderService classLoaderService, DocumentService documentService, SCommentService commentService, RefBusinessDataService refBusinessDataService, ContractDataService contractDataService)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voiddeleteArchivedFlowNodeInstance(SAFlowNodeInstance saFlowNodeInstance)Deprecated.intdeleteArchivedProcessInstances(java.util.List<java.lang.Long> sourceProcessInstanceIds)Deprecated.delete archived process instances using a list of root source process instance ids If the given id is not a root process instance (but a called process) it will not be deleted along with its elements.-
Methods inherited from class org.bonitasoft.engine.core.process.instance.impl.ProcessInstanceServiceImpl
checkIfCallerIsNotActive, createProcessInstance, deleteArchivedProcessInstance, deleteConnectorInstancesIfNecessary, deleteFlowNodeInstance, deleteParentProcessInstanceAndElements, deleteParentProcessInstanceAndElements, deleteProcessInstance, deleteProcessInstance, deleteProcessInstanceElements, getArchivedChildrenSourceObjectIdsFromRootProcessInstance, getArchivedProcessInstance, getArchivedProcessInstancesInAllStates, getChildInstanceIdsOfProcessInstance, getChildOfActivity, getLastArchivedProcessInstance, getNumberOfArchivedProcessInstances, getNumberOfArchivedProcessInstancesInvolvingUser, getNumberOfArchivedProcessInstancesSupervisedBy, getNumberOfArchivedProcessInstancesWithoutSubProcess, getNumberOfChildInstancesOfProcessInstance, getNumberOfFailedProcessInstances, getNumberOfFailedProcessInstancesSupervisedBy, getNumberOfOpenProcessInstancesInvolvingUser, getNumberOfOpenProcessInstancesInvolvingUsersManagedBy, getNumberOfOpenProcessInstancesSupervisedBy, getNumberOfProcessInstances, getNumberOfProcessInstances, getProcessInstance, getProcessInstanceIdsToRecover, getSourceProcessInstanceIdsOfArchProcessInstancesFromDefinition, getStateIdsFromStates, logProcessInstanceNotFound, searchArchivedProcessInstances, searchArchivedProcessInstancesInvolvingUser, searchArchivedProcessInstancesSupervisedBy, searchArchivedProcessInstancesWithoutSubProcess, searchFailedProcessInstances, searchFailedProcessInstancesSupervisedBy, searchOpenProcessInstancesInvolvingUser, searchOpenProcessInstancesInvolvingUsersManagedBy, searchOpenProcessInstancesSupervisedBy, searchProcessInstances, setInterruptingEventId, setState, setStateCategory, updateProcess
-
-
-
-
Constructor Detail
-
ProcessInstanceService7_7_4
public ProcessInstanceService7_7_4(Recorder recorder, ReadPersistenceService persistenceRead, ActivityInstanceService activityService, TechnicalLoggerService logger, EventInstanceService bpmEventInstanceService, DataInstanceService dataInstanceService, ArchiveService archiveService, ProcessDefinitionService processDefinitionService, ConnectorInstanceService connectorInstanceService, ClassLoaderService classLoaderService, DocumentService documentService, SCommentService commentService, RefBusinessDataService refBusinessDataService, ContractDataService contractDataService)
Deprecated.
-
-
Method Detail
-
deleteArchivedProcessInstances
public int deleteArchivedProcessInstances(java.util.List<java.lang.Long> sourceProcessInstanceIds) throws SBonitaExceptionDeprecated.Description copied from interface:ProcessInstanceServicedelete archived process instances using a list of root source process instance ids If the given id is not a root process instance (but a called process) it will not be deleted along with its elements.- Specified by:
deleteArchivedProcessInstancesin interfaceProcessInstanceService- Overrides:
deleteArchivedProcessInstancesin classProcessInstanceServiceImpl- Parameters:
sourceProcessInstanceIds- list of root source process instance ids- Returns:
- the number of archived elements deleted (might be greater than the number of ids given)
- Throws:
SBonitaException
-
deleteArchivedFlowNodeInstance
public void deleteArchivedFlowNodeInstance(SAFlowNodeInstance saFlowNodeInstance) throws SFlowNodeDeletionException
Deprecated.- Throws:
SFlowNodeDeletionException
-
-