public class GatewayInstanceServiceImpl extends Object implements org.bonitasoft.engine.core.process.instance.api.GatewayInstanceService
| Modifier and Type | Field and Description |
|---|---|
static Class<GatewayInstanceServiceImpl> |
TAG |
| Constructor and Description |
|---|
GatewayInstanceServiceImpl(org.bonitasoft.engine.recorder.Recorder recorder,
org.bonitasoft.engine.events.EventService eventService,
org.bonitasoft.engine.persistence.ReadPersistenceService persistenceRead,
org.bonitasoft.engine.log.technical.TechnicalLoggerService logger,
org.bonitasoft.engine.core.process.instance.api.FlowNodeInstanceService flowNodeInstanceService) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkMergingCondition(SProcessDefinition sDefinition,
org.bonitasoft.engine.core.process.instance.model.SGatewayInstance gatewayInstance) |
void |
createGatewayInstance(org.bonitasoft.engine.core.process.instance.model.SGatewayInstance gatewayInstance) |
org.bonitasoft.engine.core.process.instance.model.SGatewayInstance |
getActiveGatewayInstanceOfTheProcess(long parentProcessInstanceId,
String name) |
org.bonitasoft.engine.core.process.instance.model.SGatewayInstance |
getGatewayInstance(long gatewayInstanceId) |
List<org.bonitasoft.engine.core.process.instance.model.SGatewayInstance> |
getInclusiveGatewaysOfProcessInstanceThatShouldFire(SProcessDefinition processDefinition,
long processInstanceId) |
protected List<STransitionDefinition> |
getTransitionDefinitions(org.bonitasoft.engine.core.process.instance.model.SGatewayInstance gatewayInstance,
SProcessDefinition processDefinition) |
void |
hitTransition(org.bonitasoft.engine.core.process.instance.model.SGatewayInstance gatewayInstance,
long transitionIndex) |
List<org.bonitasoft.engine.core.process.instance.model.SGatewayInstance> |
setFinishAndCreateNewGatewayForRemainingToken(SProcessDefinition processDefinition,
org.bonitasoft.engine.core.process.instance.model.SGatewayInstance gatewayInstance) |
void |
setState(org.bonitasoft.engine.core.process.instance.model.SGatewayInstance gatewayInstance,
int stateId) |
public static final Class<GatewayInstanceServiceImpl> TAG
public GatewayInstanceServiceImpl(org.bonitasoft.engine.recorder.Recorder recorder,
org.bonitasoft.engine.events.EventService eventService,
org.bonitasoft.engine.persistence.ReadPersistenceService persistenceRead,
org.bonitasoft.engine.log.technical.TechnicalLoggerService logger,
org.bonitasoft.engine.core.process.instance.api.FlowNodeInstanceService flowNodeInstanceService)
public void createGatewayInstance(org.bonitasoft.engine.core.process.instance.model.SGatewayInstance gatewayInstance)
throws org.bonitasoft.engine.core.process.instance.api.exceptions.SGatewayCreationException
createGatewayInstance in interface org.bonitasoft.engine.core.process.instance.api.GatewayInstanceServiceorg.bonitasoft.engine.core.process.instance.api.exceptions.SGatewayCreationExceptionpublic org.bonitasoft.engine.core.process.instance.model.SGatewayInstance getGatewayInstance(long gatewayInstanceId)
throws org.bonitasoft.engine.core.process.instance.api.exceptions.SGatewayNotFoundException,
org.bonitasoft.engine.core.process.instance.api.exceptions.SGatewayReadException
getGatewayInstance in interface org.bonitasoft.engine.core.process.instance.api.GatewayInstanceServiceorg.bonitasoft.engine.core.process.instance.api.exceptions.SGatewayNotFoundExceptionorg.bonitasoft.engine.core.process.instance.api.exceptions.SGatewayReadExceptionpublic boolean checkMergingCondition(SProcessDefinition sDefinition, org.bonitasoft.engine.core.process.instance.model.SGatewayInstance gatewayInstance) throws org.bonitasoft.engine.commons.exceptions.SBonitaException
checkMergingCondition in interface org.bonitasoft.engine.core.process.instance.api.GatewayInstanceServiceorg.bonitasoft.engine.commons.exceptions.SBonitaExceptionprotected List<STransitionDefinition> getTransitionDefinitions(org.bonitasoft.engine.core.process.instance.model.SGatewayInstance gatewayInstance, SProcessDefinition processDefinition)
public void setState(org.bonitasoft.engine.core.process.instance.model.SGatewayInstance gatewayInstance,
int stateId)
throws org.bonitasoft.engine.core.process.instance.api.exceptions.SGatewayModificationException
setState in interface org.bonitasoft.engine.core.process.instance.api.GatewayInstanceServiceorg.bonitasoft.engine.core.process.instance.api.exceptions.SGatewayModificationExceptionpublic void hitTransition(org.bonitasoft.engine.core.process.instance.model.SGatewayInstance gatewayInstance,
long transitionIndex)
throws org.bonitasoft.engine.core.process.instance.api.exceptions.SGatewayModificationException
hitTransition in interface org.bonitasoft.engine.core.process.instance.api.GatewayInstanceServiceorg.bonitasoft.engine.core.process.instance.api.exceptions.SGatewayModificationExceptionpublic org.bonitasoft.engine.core.process.instance.model.SGatewayInstance getActiveGatewayInstanceOfTheProcess(long parentProcessInstanceId,
String name)
throws org.bonitasoft.engine.core.process.instance.api.exceptions.SGatewayNotFoundException,
org.bonitasoft.engine.core.process.instance.api.exceptions.SGatewayReadException
getActiveGatewayInstanceOfTheProcess in interface org.bonitasoft.engine.core.process.instance.api.GatewayInstanceServiceorg.bonitasoft.engine.core.process.instance.api.exceptions.SGatewayNotFoundExceptionorg.bonitasoft.engine.core.process.instance.api.exceptions.SGatewayReadExceptionpublic List<org.bonitasoft.engine.core.process.instance.model.SGatewayInstance> setFinishAndCreateNewGatewayForRemainingToken(SProcessDefinition processDefinition, org.bonitasoft.engine.core.process.instance.model.SGatewayInstance gatewayInstance) throws org.bonitasoft.engine.commons.exceptions.SBonitaException
setFinishAndCreateNewGatewayForRemainingToken in interface org.bonitasoft.engine.core.process.instance.api.GatewayInstanceServiceorg.bonitasoft.engine.commons.exceptions.SBonitaExceptionpublic List<org.bonitasoft.engine.core.process.instance.model.SGatewayInstance> getInclusiveGatewaysOfProcessInstanceThatShouldFire(SProcessDefinition processDefinition, long processInstanceId) throws org.bonitasoft.engine.persistence.SBonitaReadException
getInclusiveGatewaysOfProcessInstanceThatShouldFire in interface org.bonitasoft.engine.core.process.instance.api.GatewayInstanceServiceorg.bonitasoft.engine.persistence.SBonitaReadExceptionCopyright © 2015 Bonitasoft S.A.. All rights reserved.