public class ExportFormContext extends CommonPrintLabelContext
DOCUMENT_LANGUAGEBASE_SITE, BASE_THEME_URL, BASE_URL, MEDIA_BASE_URL, MEDIA_SECURE_BASE_URL, SECURE_BASE_URL, THEME| Constructor and Description |
|---|
ExportFormContext() |
| Modifier and Type | Method and Description |
|---|---|
protected ExportForm |
createExportFormContent(ConsignmentModel consignment)
Creates
ExportForm object with item and total prices calculated according to
ExportFormPriceStrategy |
protected ExportFormEntry |
createExportFormEntry(ConsignmentEntryModel consignmentEntry)
Creates
ExportFormEntry with unit price and total price calculated according to
ExportFormPriceStrategy, based on ConsignmentEntryModel |
ExportForm |
getExportForm() |
protected ExportFormPriceStrategy |
getExportFormPriceStrategy() |
void |
init(ConsignmentProcessModel businessProcessModel,
DocumentPageModel documentPageModel)
Initialization of the model passed in parameter
|
void |
setExportForm(ExportForm exportForm) |
void |
setExportFormPriceStrategy(ExportFormPriceStrategy exportFormPriceStrategy) |
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 CommonPrintLabelContextprotected ExportForm createExportFormContent(ConsignmentModel consignment)
ExportForm object with item and total prices calculated according to
ExportFormPriceStrategyconsignment - the ConsignmentModel to retrieve entries fromExportForm object with calculated price values or null, if the consignment doesn't contain any
entriesprotected ExportFormEntry createExportFormEntry(ConsignmentEntryModel consignmentEntry)
ExportFormEntry with unit price and total price calculated according to
ExportFormPriceStrategy, based on ConsignmentEntryModelconsignmentEntry - the ConsignmentEntryModel to calculate prices forExportFormEntry with proper dataprotected ExportFormPriceStrategy getExportFormPriceStrategy()
public void setExportFormPriceStrategy(ExportFormPriceStrategy exportFormPriceStrategy)
public ExportForm getExportForm()
public void setExportForm(ExportForm exportForm)
Copyright © 2018 SAP SE. All Rights Reserved.