public class PrintShippingLabelAction
extends java.lang.Object
ConsignmentModel.SHIPPINGLABEL| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.String |
POPUP_UNSAVED_CONSIGNMENT_MESSAGE |
protected static java.lang.String |
POPUP_UNSAVED_CONSIGNMENT_TITLE |
| Constructor and Description |
|---|
PrintShippingLabelAction() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canPerform(<any> consignmentModelActionContext) |
java.lang.String |
getConfirmationMessage(<any> consignmentModelActionContext) |
protected ConsignmentPrintDocumentStrategy |
getConsignmentPrintShippingLabelStrategy() |
protected ModelService |
getModelService() |
boolean |
needsConfirmation(<any> consignmentModelActionContext) |
<any> |
perform(<any> consignmentModelActionContext) |
protected void |
printShippingLabel(ConsignmentModel consignment)
Generates a shipping label for
ConsignmentModel based on the ConsignmentPrintDocumentStrategy |
protected void |
processMessageboxEvent(Event clickEvent,
<any> consignmentModelActionContext,
java.util.Map<java.lang.String,java.lang.Object> parentWidgetMap)
Handles the message box popup action when the object is modified.
|
protected static final java.lang.String POPUP_UNSAVED_CONSIGNMENT_MESSAGE
protected static final java.lang.String POPUP_UNSAVED_CONSIGNMENT_TITLE
public <any> perform(<any> consignmentModelActionContext)
public boolean canPerform(<any> consignmentModelActionContext)
public boolean needsConfirmation(<any> consignmentModelActionContext)
public java.lang.String getConfirmationMessage(<any> consignmentModelActionContext)
protected void processMessageboxEvent(Event clickEvent,
<any> consignmentModelActionContext,
java.util.Map<java.lang.String,java.lang.Object> parentWidgetMap)
ConsignmentModel on YES. Refreshes the ConsignmentModel on NO.
Reloads the ConsignmentModel in backoffice.clickEvent - the event that contains the button clickedconsignmentModelActionContext - the action context that contains the consignmentprotected void printShippingLabel(ConsignmentModel consignment)
ConsignmentModel based on the ConsignmentPrintDocumentStrategyconsignment - the consignmentprotected ConsignmentPrintDocumentStrategy getConsignmentPrintShippingLabelStrategy()
protected ModelService getModelService()
Copyright © 2018 SAP SE. All Rights Reserved.