Abstract implementation of Use interface. This could be extended to provide custom Java Use-API objects.
Constructor and Description |
---|
WCMUsePojo () |
Modifier and Type | Method and Description |
---|---|
abstract void | activate () |
Implement this method to perform post initialization tasks.
Get an object associated with the given name
Deprecated.
since 3.1.0; please switch to getInheritedPageProperties()
Initialize bindings and calls #activate()
public WCMUsePojo()
public final void init(javax.script.Bindings scriptBindings)
Initialize bindings and calls #activate()
public abstract void activate() throws java.lang.Exception
Implement this method to perform post initialization tasks. This method is called by init(Bindings) .
public final T get(java.lang.String name, java.lang.Class type)
Get an object associated with the given name
public final SightlyWCMMode getWcmMode()
public final PageManager getPageManager()
public final Page getCurrentPage()
public final Page getResourcePage()
public final ValueMap getPageProperties()
public final ValueMap getProperties()
public final Designer getDesigner()
public final Design getCurrentDesign()
public final Style getCurrentStyle()
public final Component getComponent()
@Deprecated public final ValueMap getInheritedProperties()
Deprecated. since 3.1.0; please switch to getInheritedPageProperties()
public final ValueMap getInheritedPageProperties()
public final Resource getResource()
public final ResourceResolver getResourceResolver()
public final SlingHttpServletRequest getRequest()
public final SlingHttpServletResponse getResponse()
public final SlingScriptHelper getSlingScriptHelper()
public final ComponentContext getComponentContext()
public final EditContext getEditContext()
public final Design getResourceDesign()
public final XSSAPI getXSSAPI()