Package com.day.cq.wcm.foundation
Class TemplatedContainer
- java.lang.Object
-
- com.adobe.cq.sightly.WCMUsePojo
-
- com.day.cq.wcm.foundation.TemplatedContainer
-
- All Implemented Interfaces:
Use
public class TemplatedContainer extends WCMUsePojo
-
-
Constructor Summary
Constructors Constructor Description TemplatedContainer(TemplateManager templateManager, ComponentContext componentContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
activate()
Implement this method to perform post initialization tasks.java.lang.String
getNewResourceType()
java.util.List<Resource>
getStructureResources()
boolean
hasStructureSupport()
-
Methods inherited from class com.adobe.cq.sightly.WCMUsePojo
get, getComponent, getComponentContext, getCurrentDesign, getCurrentPage, getCurrentStyle, getDesigner, getEditContext, getInheritedPageProperties, getInheritedProperties, getPageManager, getPageProperties, getProperties, getRequest, getResource, getResourceDesign, getResourcePage, getResourceResolver, getResponse, getSlingScriptHelper, getWcmMode, getXSSAPI, init
-
-
-
-
Field Detail
-
log
public static final Logger log
-
-
Constructor Detail
-
TemplatedContainer
public TemplatedContainer(TemplateManager templateManager, ComponentContext componentContext)
-
-
Method Detail
-
activate
public void activate() throws java.lang.Exception
Description copied from class:WCMUsePojo
Implement this method to perform post initialization tasks. This method is called byWCMUsePojo.init(Bindings)
.- Specified by:
activate
in classWCMUsePojo
- Throws:
java.lang.Exception
- in case of any error during activation
-
getStructureResources
public java.util.List<Resource> getStructureResources()
-
getNewResourceType
public java.lang.String getNewResourceType()
-
hasStructureSupport
public boolean hasStructureSupport()
-
-