Class ReturnShippingLabelContext
java.lang.Object
org.apache.velocity.context.AbstractContext
org.apache.velocity.VelocityContext
de.hybris.platform.acceleratorservices.document.context.AbstractHybrisVelocityContext
de.hybris.platform.acceleratorservices.document.context.AbstractDocumentContext<BusinessProcessModel>
de.hybris.platform.warehousing.labels.context.CommonReturnDocumentContext
de.hybris.platform.warehousing.labels.context.ReturnShippingLabelContext
- All Implemented Interfaces:
Serializable,Cloneable,org.apache.velocity.context.Context,org.apache.velocity.context.InternalEventContext
Context specific to Return Shipping Label.
- See Also:
-
Field Summary
Fields inherited from class de.hybris.platform.acceleratorservices.document.context.AbstractDocumentContext
DOCUMENT_LANGUAGEFields inherited from class de.hybris.platform.acceleratorservices.document.context.AbstractHybrisVelocityContext
BASE_SITE, BASE_THEME_URL, BASE_URL, MEDIA_BASE_URL, MEDIA_SECURE_BASE_URL, SECURE_BASE_URL, THEME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.velocity.app.event.EventCartridgeattachEventCartridge(org.apache.velocity.app.event.EventCartridge arg0) protected StringExtracts the image url for the barcode of the labelintorg.apache.velocity.runtime.resource.Resourceorg.apache.velocity.app.event.EventCartridgeprotected ImpersonationServiceList<org.apache.velocity.Template>String[]protected MediaServiceString[]org.apache.velocity.util.introspection.IntrospectionCacheDatavoidvoidvoidvoidpushCurrentMacroName(String arg0) voidvoidsetBarcodeMediaImageName(String barcodeMediaImageName) voidsetCurrentResource(org.apache.velocity.runtime.resource.Resource arg0) voidsetImpersonationService(ImpersonationService impersonationService) voidsetMacroLibraries(List<org.apache.velocity.Template> arg0) voidsetMediaService(MediaService mediaService) Methods inherited from class de.hybris.platform.warehousing.labels.context.CommonReturnDocumentContext
escapeHtml, getAddress, getDate, getDocumentLanguage, getOrder, getOrder, getPosAddress, getPosSelectionStrategy, getSite, init, setAddress, setDate, setOrder, setPosSelectionStrategy, validateProcessTypeMethods inherited from class de.hybris.platform.acceleratorservices.document.context.AbstractDocumentContext
getDocumentLanguageMethods inherited from class de.hybris.platform.acceleratorservices.document.context.AbstractHybrisVelocityContext
getBaseSite, getBaseThemeUrl, getBaseUrl, getCmsSlotContents, getMediaBaseUrl, getMediaSecureBaseUrl, getMessage, getMessages, getSecureBaseUrl, getSiteBaseUrlResolutionService, getTheme, getUrlEncoderService, getUrlEncodingAttributes, init, setBaseSite, setCmsSlotContents, setMessages, setSiteBaseUrlResolutionService, setUrlEncoderService, setUrlEncodingAttributesMethods inherited from class org.apache.velocity.VelocityContext
clone, internalContainsKey, internalGet, internalGetKeys, internalPut, internalRemoveMethods inherited from class org.apache.velocity.context.AbstractContext
containsKey, get, getChainedContext, getKeys, put, remove
-
Constructor Details
-
ReturnShippingLabelContext
public ReturnShippingLabelContext()
-
-
Method Details
-
getBarcodeMediaImageURL
Extracts the image url for the barcode of the label- Parameters:
order- theAbstractOrderModelfor which we request the Return Shipping Label- Returns:
- the source url for the barcode image of the label (expecting the relative path as a string)
-
getBarcodeMediaImageName
-
setBarcodeMediaImageName
-
getMediaService
-
setMediaService
-
getImpersonationService
-
setImpersonationService
-
pushCurrentTemplateName
-
popCurrentTemplateName
public void popCurrentTemplateName() -
getCurrentTemplateName
-
getTemplateNameStack
-
pushCurrentMacroName
-
popCurrentMacroName
public void popCurrentMacroName() -
getCurrentMacroName
-
getCurrentMacroCallDepth
public int getCurrentMacroCallDepth() -
getMacroNameStack
-
icacheGet
-
icachePut
public void icachePut(Object arg0, org.apache.velocity.util.introspection.IntrospectionCacheData arg1) -
setCurrentResource
public void setCurrentResource(org.apache.velocity.runtime.resource.Resource arg0) -
getCurrentResource
public org.apache.velocity.runtime.resource.Resource getCurrentResource() -
setMacroLibraries
-
getMacroLibraries
-
attachEventCartridge
public org.apache.velocity.app.event.EventCartridge attachEventCartridge(org.apache.velocity.app.event.EventCartridge arg0) - Specified by:
attachEventCartridgein interfaceorg.apache.velocity.context.InternalEventContext
-
getEventCartridge
public org.apache.velocity.app.event.EventCartridge getEventCartridge()- Specified by:
getEventCartridgein interfaceorg.apache.velocity.context.InternalEventContext
-