public interface PrintMediaService
MediaModel into popup script| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
generateHtmlMediaTemplate(MediaModel mediaModel)
Generates an HTML page for the given
MediaModel |
java.lang.String |
generatePopupScriptForMedia(MediaModel mediaModel,
java.lang.String width,
java.lang.String height,
java.lang.String blockedPopupMessage)
Generates the popup script for the given
MediaModel. |
MediaModel |
getMediaForTemplate(java.lang.String frontendTemplateName,
BusinessProcessModel businessProcessModel)
Generates the
MediaModel for the given ConsignmentModel |
MediaModel getMediaForTemplate(java.lang.String frontendTemplateName, BusinessProcessModel businessProcessModel)
MediaModel for the given ConsignmentModelfrontendTemplateName - the templateName to generate the MediaModelbusinessProcessModel - the BusinessProcessModel for which media needs to be generatedMediaModeljava.lang.String generatePopupScriptForMedia(MediaModel mediaModel, java.lang.String width, java.lang.String height, java.lang.String blockedPopupMessage)
MediaModel.mediaModel - the MediaModel to be rendered as html in popupwidth - the width of the popup windowheight - the height of the popup heightblockedPopupMessage - the localised error message if popups are not allowed to be openjava.lang.String generateHtmlMediaTemplate(MediaModel mediaModel)
MediaModelmediaModel - the MediaModel to be rendered as an HTML pageCopyright © 2018 SAP SE. All Rights Reserved.