public abstract class AbstractFraudCheckAction<T extends OrderProcessModel> extends AbstractOrderAction<T>
| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractFraudCheckAction.Transition |
timeServicemodelService, processParameterHelperERROR_RETURN_CODE, RETRY_RETURN_CODE| Constructor and Description |
|---|
AbstractFraudCheckAction() |
| Modifier and Type | Method and Description |
|---|---|
protected FraudReportModel |
createFraudReport(java.lang.String providerName,
FraudServiceResponse response,
OrderModel order,
FraudStatus status) |
protected OrderHistoryEntryModel |
createHistoryLog(java.lang.String providerName,
OrderModel order,
FraudStatus status,
java.lang.String code) |
java.lang.String |
execute(T process)
Executes this
Action's business logic working on the given BusinessProcessModel. |
abstract AbstractFraudCheckAction.Transition |
executeAction(T process)
Executes this
Action's business logic working on the given BusinessProcessModel. |
java.util.Set<java.lang.String> |
getTransitions()
Accesses all possible return codes of this
Action. |
createHistoryLog, getTimeService, setTimeServicecreateTransitions, getModelService, getProcessParameterHelper, getProcessParameterValue, refresh, save, setModelService, setOrderStatus, setProcessParameterHelperclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCurrentActionDefinitionContextprotected FraudReportModel createFraudReport(java.lang.String providerName, FraudServiceResponse response, OrderModel order, FraudStatus status)
response - order - protected OrderHistoryEntryModel createHistoryLog(java.lang.String providerName, OrderModel order, FraudStatus status, java.lang.String code)
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(T 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 abstract AbstractFraudCheckAction.Transition executeAction(T process) throws RetryLaterException, java.lang.Exception
Action's business logic working on the given BusinessProcessModel.process - The process context to work on.RetryLaterExceptionjava.lang.ExceptionCopyright © 2018 SAP SE. All Rights Reserved.