public abstract class AbstractConsignmentWorkflow
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected static int |
RETRIES |
| Constructor and Description |
|---|
AbstractConsignmentWorkflow() |
| Modifier and Type | Method and Description |
|---|---|
protected <any> |
getConsignmentActionResult(<any> actionContext,
java.lang.String successMessage,
java.lang.String failedMessage,
ConsignmentStatus expectedStatus)
Get the result of a shipping/pickup action for a given
ActionContext which contains a ConsignmentModel |
protected ModelService |
getModelService() |
protected NotificationService |
getNotificationService() |
protected ConsignmentStatus |
getUpdatedConsignmentStatus(ConsignmentModel consignmentModel)
Returns the updated
ConsignmentStatus of the given ConsignmentModel as a result of workflow event
triggered by this action |
protected boolean |
isFulfillmentExternal(ConsignmentModel consignmentModel)
Determines whether a given
ConsignmentModel is linked to an external fulfillment configuration |
protected static final int RETRIES
protected <any> getConsignmentActionResult(<any> actionContext,
java.lang.String successMessage,
java.lang.String failedMessage,
ConsignmentStatus expectedStatus)
ActionContext which contains a ConsignmentModelactionContext - the ActionContext containing the ConsignmentModelsuccessMessage - the code of the success message to be displayedfailedMessage - the code of the failure message to be displayedexpectedStatus - the expected consignment status after the actionActionResultprotected ConsignmentStatus getUpdatedConsignmentStatus(ConsignmentModel consignmentModel)
ConsignmentStatus of the given ConsignmentModel as a result of workflow event
triggered by this actionconsignmentModel - the consignment to be updatedprotected boolean isFulfillmentExternal(ConsignmentModel consignmentModel)
ConsignmentModel is linked to an external fulfillment configurationconsignmentModel - the consignment to be verifiedprotected ModelService getModelService()
protected NotificationService getNotificationService()
Copyright © 2018 SAP SE. All Rights Reserved.