public class TransitionServiceImpl extends Object implements org.bonitasoft.engine.core.process.instance.api.TransitionService
| Constructor and Description |
|---|
TransitionServiceImpl(org.bonitasoft.engine.persistence.ReadPersistenceService persistenceRead,
org.bonitasoft.engine.archive.ArchiveService archiveService) |
| Modifier and Type | Method and Description |
|---|---|
void |
archive(STransitionDefinition sTransitionDefinition,
org.bonitasoft.engine.core.process.instance.model.SFlowNodeInstance sFlowNodeInstance,
TransitionState transitionState) |
void |
delete(org.bonitasoft.engine.core.process.instance.model.archive.SATransitionInstance saTransitionInstance) |
void |
deleteArchivedTransitionsOfProcessInstance(long processInstanceId) |
long |
getNumberOfArchivedTransitionInstances(org.bonitasoft.engine.persistence.QueryOptions countOptions) |
List<org.bonitasoft.engine.core.process.instance.model.archive.SATransitionInstance> |
searchArchivedTransitionInstances(org.bonitasoft.engine.persistence.QueryOptions queryOptions) |
public TransitionServiceImpl(org.bonitasoft.engine.persistence.ReadPersistenceService persistenceRead,
org.bonitasoft.engine.archive.ArchiveService archiveService)
public long getNumberOfArchivedTransitionInstances(org.bonitasoft.engine.persistence.QueryOptions countOptions)
throws org.bonitasoft.engine.persistence.SBonitaReadException
getNumberOfArchivedTransitionInstances in interface org.bonitasoft.engine.core.process.instance.api.TransitionServiceorg.bonitasoft.engine.persistence.SBonitaReadExceptionpublic List<org.bonitasoft.engine.core.process.instance.model.archive.SATransitionInstance> searchArchivedTransitionInstances(org.bonitasoft.engine.persistence.QueryOptions queryOptions) throws org.bonitasoft.engine.persistence.SBonitaReadException
searchArchivedTransitionInstances in interface org.bonitasoft.engine.core.process.instance.api.TransitionServiceorg.bonitasoft.engine.persistence.SBonitaReadExceptionpublic void archive(STransitionDefinition sTransitionDefinition, org.bonitasoft.engine.core.process.instance.model.SFlowNodeInstance sFlowNodeInstance, TransitionState transitionState) throws org.bonitasoft.engine.core.process.instance.api.exceptions.STransitionCreationException
archive in interface org.bonitasoft.engine.core.process.instance.api.TransitionServiceorg.bonitasoft.engine.core.process.instance.api.exceptions.STransitionCreationExceptionpublic void delete(org.bonitasoft.engine.core.process.instance.model.archive.SATransitionInstance saTransitionInstance)
throws org.bonitasoft.engine.core.process.instance.api.exceptions.STransitionDeletionException
delete in interface org.bonitasoft.engine.core.process.instance.api.TransitionServiceorg.bonitasoft.engine.core.process.instance.api.exceptions.STransitionDeletionExceptionpublic void deleteArchivedTransitionsOfProcessInstance(long processInstanceId)
throws org.bonitasoft.engine.core.process.instance.api.exceptions.STransitionDeletionException,
org.bonitasoft.engine.persistence.SBonitaReadException
deleteArchivedTransitionsOfProcessInstance in interface org.bonitasoft.engine.core.process.instance.api.TransitionServiceorg.bonitasoft.engine.core.process.instance.api.exceptions.STransitionDeletionExceptionorg.bonitasoft.engine.persistence.SBonitaReadExceptionCopyright © 2015 Bonitasoft S.A.. All rights reserved.