public class ConsignmentPrintShippingLabelStrategy extends java.lang.Object implements ConsignmentPrintDocumentStrategy
ConsignmentModel.SHIPPINGLABEL for a ConsignmentModel.| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.String |
BLOCKED_POPUP_MESSAGE |
protected static java.lang.String |
FRONTEND_TEMPLATENAME |
protected static java.lang.String |
POPUP_HEIGHT |
protected static java.lang.String |
POPUP_WIDTH |
| Constructor and Description |
|---|
ConsignmentPrintShippingLabelStrategy() |
| Modifier and Type | Method and Description |
|---|---|
protected DefaultConsignmentProcessService |
getConsignmentBusinessProcessService() |
protected DeliveryTrackingIdStrategy |
getDeliveryTrackingIdStrategy() |
protected ModelService |
getModelService() |
protected PrintMediaService |
getPrintMediaService() |
void |
printDocument(ConsignmentModel consignmentModel)
Prints a document based on the
ConsignmentModel.STATUS
. |
protected java.lang.String |
resolveLabel(java.lang.String labelKey)
Gets the localized label for the given key.
|
void |
setConsignmentBusinessProcessService(DefaultConsignmentProcessService consignmentBusinessProcessService) |
void |
setDeliveryTrackingIdStrategy(DeliveryTrackingIdStrategy deliveryTrackingIdStrategy) |
void |
setModelService(ModelService modelService) |
void |
setPrintMediaService(PrintMediaService printMediaService) |
protected static final java.lang.String FRONTEND_TEMPLATENAME
protected static final java.lang.String POPUP_WIDTH
protected static final java.lang.String POPUP_HEIGHT
protected static final java.lang.String BLOCKED_POPUP_MESSAGE
public ConsignmentPrintShippingLabelStrategy()
public void printDocument(ConsignmentModel consignmentModel)
ConsignmentPrintDocumentStrategyConsignmentModel.STATUS
.printDocument in interface ConsignmentPrintDocumentStrategyconsignmentModel - the ConsignmentModel for which a document is to be printedprotected java.lang.String resolveLabel(java.lang.String labelKey)
labelKey - the key for which the label is requiredprotected PrintMediaService getPrintMediaService()
public void setPrintMediaService(PrintMediaService printMediaService)
protected DefaultConsignmentProcessService getConsignmentBusinessProcessService()
public void setConsignmentBusinessProcessService(DefaultConsignmentProcessService consignmentBusinessProcessService)
protected DeliveryTrackingIdStrategy getDeliveryTrackingIdStrategy()
public void setDeliveryTrackingIdStrategy(DeliveryTrackingIdStrategy deliveryTrackingIdStrategy)
protected ModelService getModelService()
public void setModelService(ModelService modelService)
Copyright © 2018 SAP SE. All Rights Reserved.