public abstract class AbstractB2BApproveOrderDecisionAction extends AbstractAction
| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractB2BApproveOrderDecisionAction.Transition |
modelService, processParameterHelperERROR_RETURN_CODE, RETRY_RETURN_CODE| Constructor and Description |
|---|
AbstractB2BApproveOrderDecisionAction() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
execute(BusinessProcessModel process)
Executes this
Action's business logic working on the given BusinessProcessModel. |
abstract AbstractB2BApproveOrderDecisionAction.Transition |
executeAction(B2BApprovalProcessModel process)
Execute an action of a B2B approval process
|
AbstractB2BApproveOrderDecisionAction.Transition |
executeAction(BusinessProcessModel process) |
OrderModel |
getOrderForProcess(B2BApprovalProcessModel process)
Retrieves the order object from the process
|
java.util.Set<java.lang.String> |
getTransitions()
Accesses all possible return codes of this
Action. |
createTransitions, getModelService, getProcessParameterHelper, getProcessParameterValue, refresh, save, setModelService, setOrderStatus, setProcessParameterHelperclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCurrentActionDefinitionContextpublic AbstractB2BApproveOrderDecisionAction()
public java.util.Set<java.lang.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 java.lang.String execute(BusinessProcessModel process) throws RetryLaterException, java.lang.Exception
ActionAction's business logic working on the given BusinessProcessModel.process - The process context to work on.java.lang.ExceptionRetryLaterExceptionpublic AbstractB2BApproveOrderDecisionAction.Transition executeAction(BusinessProcessModel process) throws RetryLaterException, java.lang.Exception
RetryLaterExceptionjava.lang.Exceptionpublic abstract AbstractB2BApproveOrderDecisionAction.Transition executeAction(B2BApprovalProcessModel process) throws RetryLaterException, java.lang.Exception
process - the b2b approval processRetryLaterException - Triggers the action to be processes again.java.lang.Exception - Any error has occurred.public OrderModel getOrderForProcess(B2BApprovalProcessModel process)
process - The business processCopyright © 2018 SAP SE. All Rights Reserved.