public class ConsignmentPrintPackSlipStrategy extends java.lang.Object implements ConsignmentPrintDocumentStrategy
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 |
|---|
ConsignmentPrintPackSlipStrategy() |
| Modifier and Type | Method and Description |
|---|---|
protected DefaultConsignmentProcessService |
getConsignmentBusinessProcessService() |
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 |
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 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)
Copyright © 2018 SAP SE. All Rights Reserved.