public static class WorkflowProvider.AmetysObjectWorkflow extends AbstractAmetysWorkflow
Modifier and Type | Field and Description |
---|---|
protected AmetysObjectWorkflowStore |
_workflowStore
The ametys object
|
_instancesLocks, _logger, _workflowHelper
Constructor and Description |
---|
AmetysObjectWorkflow(WorkflowHelper workflowHelper,
com.opensymphony.workflow.WorkflowContext workflowContext,
AmetysObjectWorkflowStore store) |
Modifier and Type | Method and Description |
---|---|
<A extends WorkflowAwareAmetysObject> |
getAmetysObject()
Ametys object getter
|
void |
removeWorkflow(long wId)
Delete a workflow instance
|
doAction, getAvailableActions, getAvailableActions, initialize, transitionWorkflow
canInitialize, canInitialize, canInitialize, canModifyEntryState, changeEntryState, checkImplicitFinish, completeEntry, createNewCurrentStep, executeFunction, executeTriggerFunction, getAvailableActionsForStep, getAvailableAutoActions, getAvailableAutoActionsForStep, getConfiguration, getCurrentStep, getCurrentSteps, getEntryState, getHistorySteps, getPersistence, getPersistenceProperties, getPropertySet, getResolver, getSecurityPermissions, getSecurityPermissions, getWorkflowDescriptor, getWorkflowName, getWorkflowNames, isActionAvailable, passesCondition, passesConditions, passesConditions, populateTransientMap, query, query, removeWorkflowDescriptor, saveWorkflowDescriptor, setConfiguration, setResolver, verifyInputs
protected AmetysObjectWorkflowStore _workflowStore
AmetysObjectWorkflow(WorkflowHelper workflowHelper, com.opensymphony.workflow.WorkflowContext workflowContext, AmetysObjectWorkflowStore store)
public <A extends WorkflowAwareAmetysObject> A getAmetysObject()
A
- A WorkflowAwareAmetysObject classpublic void removeWorkflow(long wId) throws com.opensymphony.workflow.WorkflowException
wId
- The id of workflow instancecom.opensymphony.workflow.WorkflowException
- if failed to delete workflow instance