public abstract class AbstractProcessInstanceInterruptor extends Object
| Constructor and Description |
|---|
AbstractProcessInstanceInterruptor(org.bonitasoft.engine.log.technical.TechnicalLoggerService technicalLoggerService) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract List<org.bonitasoft.engine.core.process.instance.model.SFlowNodeInstance> |
getChildren(long processInstanceId) |
protected abstract List<org.bonitasoft.engine.core.process.instance.model.SFlowNodeInstance> |
getChildrenExcept(long processInstanceId,
long exceptionChildId) |
protected List<org.bonitasoft.engine.persistence.FilterOption> |
getFilterOptions(long processInstanceId) |
protected List<org.bonitasoft.engine.persistence.FilterOption> |
getFilterOptions(long processInstanceId,
long childExceptionId) |
protected abstract long |
getNumberOfChildren(long processInstanceId) |
protected abstract long |
getNumberOfChildrenExcept(long processInstanceId,
long exceptionChildId) |
protected org.bonitasoft.engine.persistence.QueryOptions |
getQueryOptions(long processInstanceId) |
protected org.bonitasoft.engine.persistence.QueryOptions |
getQueryOptions(long processInstanceId,
long childExceptionId) |
void |
interruptChildrenOnly(long processInstanceId,
org.bonitasoft.engine.core.process.instance.model.SStateCategory stateCategory,
long userId,
long interruptorChildId) |
void |
interruptProcessInstance(long processInstanceId,
org.bonitasoft.engine.core.process.instance.model.SStateCategory stateCategory,
long userId) |
void |
interruptProcessInstance(long processInstanceId,
org.bonitasoft.engine.core.process.instance.model.SStateCategory stateCategory,
long userId,
long exceptionChildId) |
protected abstract void |
resumeChildExecution(long childId,
long processInstanceId,
long userId) |
protected abstract void |
setChildStateCategory(long flowNodeInstanceId,
org.bonitasoft.engine.core.process.instance.model.SStateCategory stateCategory) |
protected abstract void |
setProcessStateCategory(long processInstanceId,
org.bonitasoft.engine.core.process.instance.model.SStateCategory stateCategory) |
public AbstractProcessInstanceInterruptor(org.bonitasoft.engine.log.technical.TechnicalLoggerService technicalLoggerService)
public void interruptProcessInstance(long processInstanceId,
org.bonitasoft.engine.core.process.instance.model.SStateCategory stateCategory,
long userId)
throws org.bonitasoft.engine.core.process.instance.api.exceptions.SProcessInstanceNotFoundException,
org.bonitasoft.engine.commons.exceptions.SBonitaException
org.bonitasoft.engine.core.process.instance.api.exceptions.SProcessInstanceNotFoundExceptionorg.bonitasoft.engine.commons.exceptions.SBonitaExceptionpublic void interruptProcessInstance(long processInstanceId,
org.bonitasoft.engine.core.process.instance.model.SStateCategory stateCategory,
long userId,
long exceptionChildId)
throws org.bonitasoft.engine.core.process.instance.api.exceptions.SProcessInstanceNotFoundException,
org.bonitasoft.engine.commons.exceptions.SBonitaException
org.bonitasoft.engine.core.process.instance.api.exceptions.SProcessInstanceNotFoundExceptionorg.bonitasoft.engine.commons.exceptions.SBonitaExceptionpublic void interruptChildrenOnly(long processInstanceId,
org.bonitasoft.engine.core.process.instance.model.SStateCategory stateCategory,
long userId,
long interruptorChildId)
throws org.bonitasoft.engine.commons.exceptions.SBonitaException
org.bonitasoft.engine.commons.exceptions.SBonitaExceptionprotected abstract void setProcessStateCategory(long processInstanceId,
org.bonitasoft.engine.core.process.instance.model.SStateCategory stateCategory)
throws org.bonitasoft.engine.core.process.instance.api.exceptions.SProcessInstanceNotFoundException,
org.bonitasoft.engine.commons.exceptions.SBonitaException
org.bonitasoft.engine.core.process.instance.api.exceptions.SProcessInstanceNotFoundExceptionorg.bonitasoft.engine.commons.exceptions.SBonitaExceptionprotected abstract void resumeChildExecution(long childId,
long processInstanceId,
long userId)
throws org.bonitasoft.engine.commons.exceptions.SBonitaException
org.bonitasoft.engine.commons.exceptions.SBonitaExceptionprotected abstract List<org.bonitasoft.engine.core.process.instance.model.SFlowNodeInstance> getChildren(long processInstanceId) throws org.bonitasoft.engine.commons.exceptions.SBonitaException
org.bonitasoft.engine.commons.exceptions.SBonitaExceptionprotected abstract long getNumberOfChildren(long processInstanceId)
throws org.bonitasoft.engine.persistence.SBonitaReadException
org.bonitasoft.engine.persistence.SBonitaReadExceptionprotected abstract List<org.bonitasoft.engine.core.process.instance.model.SFlowNodeInstance> getChildrenExcept(long processInstanceId, long exceptionChildId) throws org.bonitasoft.engine.commons.exceptions.SBonitaException
org.bonitasoft.engine.commons.exceptions.SBonitaExceptionprotected abstract long getNumberOfChildrenExcept(long processInstanceId,
long exceptionChildId)
throws org.bonitasoft.engine.persistence.SBonitaReadException
org.bonitasoft.engine.persistence.SBonitaReadExceptionprotected abstract void setChildStateCategory(long flowNodeInstanceId,
org.bonitasoft.engine.core.process.instance.model.SStateCategory stateCategory)
throws org.bonitasoft.engine.commons.exceptions.SBonitaException
org.bonitasoft.engine.commons.exceptions.SBonitaExceptionprotected org.bonitasoft.engine.persistence.QueryOptions getQueryOptions(long processInstanceId)
protected org.bonitasoft.engine.persistence.QueryOptions getQueryOptions(long processInstanceId,
long childExceptionId)
protected List<org.bonitasoft.engine.persistence.FilterOption> getFilterOptions(long processInstanceId)
protected List<org.bonitasoft.engine.persistence.FilterOption> getFilterOptions(long processInstanceId, long childExceptionId)
Copyright © 2015 Bonitasoft S.A.. All rights reserved.