public class ShippingLabelContext extends CommonPrintLabelContext
DOCUMENT_LANGUAGEBASE_SITE, BASE_THEME_URL, BASE_URL, MEDIA_BASE_URL, MEDIA_SECURE_BASE_URL, SECURE_BASE_URL, THEME| Constructor and Description |
|---|
ShippingLabelContext() |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
getBarcodeMediaImageName() |
java.lang.String |
getBarcodeMediaImageURL(ConsignmentModel consignmentModel)
Extracts the image url for the barcode of the label
|
protected ImpersonationService |
getImpersonationService() |
protected MediaService |
getMediaService() |
void |
init(ConsignmentProcessModel businessProcessModel,
DocumentPageModel documentPageModel)
Initialization of the model passed in parameter
|
void |
setBarcodeMediaImageName(java.lang.String barcodeMediaImageName) |
void |
setImpersonationService(ImpersonationService impersonationService) |
void |
setMediaService(MediaService mediaService) |
escapeHtml, getConsignment, getDate, getDocumentLanguage, getNumber, getOrder, getSitegetDocumentLanguagegetBaseSite, getBaseThemeUrl, getBaseUrl, getCmsSlotContents, getMediaBaseUrl, getMediaSecureBaseUrl, getMessage, getMessages, getSecureBaseUrl, getSiteBaseUrlResolutionService, getTheme, getUrlEncoderService, getUrlEncodingAttributes, init, setBaseSite, setCmsSlotContents, setMessages, setSiteBaseUrlResolutionService, setUrlEncoderService, setUrlEncodingAttributespublic void init(ConsignmentProcessModel businessProcessModel, DocumentPageModel documentPageModel)
CommonPrintLabelContextinit in class CommonPrintLabelContextpublic java.lang.String getBarcodeMediaImageURL(ConsignmentModel consignmentModel)
consignmentModel - the consignment model for which we request the Pick Slip labelprotected java.lang.String getBarcodeMediaImageName()
public void setBarcodeMediaImageName(java.lang.String barcodeMediaImageName)
protected MediaService getMediaService()
public void setMediaService(MediaService mediaService)
protected ImpersonationService getImpersonationService()
public void setImpersonationService(ImpersonationService impersonationService)
Copyright © 2018 SAP SE. All Rights Reserved.