public abstract class AbstractProceduralAction<T extends BusinessProcessModel> extends AbstractAction<T>
| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractProceduralAction.Transition |
modelService, processParameterHelperERROR_RETURN_CODE, RETRY_RETURN_CODE| Constructor and Description |
|---|
AbstractProceduralAction() |
| Modifier and Type | Method and Description |
|---|---|
String |
execute(T process)
Executes this
Action's business logic working on the given BusinessProcessModel. |
abstract void |
executeAction(T process)
Executes this
Action's business logic working on the given BusinessProcessModel. |
Set<String> |
getTransitions()
Accesses all possible return codes of this
Action. |
createTransitions, getModelService, getProcessParameterHelper, getProcessParameterValue, refresh, save, setModelService, setOrderStatus, setProcessParameterHelperpublic Set<String> getTransitions()
ActionAction. This method is used by the process engine to validate a
process definition. Furthermore it can be used by (graphical) editors to access all return codes which have to
mapped in transitions.Actionpublic final String execute(T process) throws RetryLaterException, Exception
ActionAction's business logic working on the given BusinessProcessModel.process - The process context to work on.ExceptionRetryLaterExceptionpublic abstract void executeAction(T process) throws RetryLaterException, Exception
Action's business logic working on the given BusinessProcessModel.process - The process context to work on.RetryLaterExceptionExceptionCopyright © 2017 SAP SE. All Rights Reserved.