Package com.day.cq.wcm.foundation
Class AllowedComponentList
- java.lang.Object
-
- com.adobe.cq.sightly.WCMUsePojo
-
- com.day.cq.wcm.foundation.AllowedComponentList
-
- All Implemented Interfaces:
Use
@Deprecated public class AllowedComponentList extends WCMUsePojo
Deprecated.UseAllowedComponents
instead
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AllowedComponentList.ComponentMapping
Deprecated.
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
POLICIES_JCR_CONTENT
Deprecated.static java.lang.String
STRUCTURE_JCR_CONTENT
Deprecated.
-
Constructor Summary
Constructors Constructor Description AllowedComponentList()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
activate()
Deprecated.Implement this method to perform post initialization tasks.java.util.List
getComponents()
Deprecated.Returns a list ofAllowedComponentList.ComponentMapping
s for Sightly resource instantiation usagejava.lang.String
getCssClass()
Deprecated.Returns the specific css class namesjava.lang.String
getTitle()
Deprecated.boolean
isApplicable()
Deprecated.Is the allowed component list applicable in the current context-
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
-
STRUCTURE_JCR_CONTENT
public static final java.lang.String STRUCTURE_JCR_CONTENT
Deprecated.- See Also:
- Constant Field Values
-
POLICIES_JCR_CONTENT
public static final java.lang.String POLICIES_JCR_CONTENT
Deprecated.- See Also:
- Constant Field Values
-
-
Method Detail
-
activate
public void activate() throws java.lang.Exception
Deprecated.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
-
getTitle
public java.lang.String getTitle()
Deprecated.
-
isApplicable
public boolean isApplicable()
Deprecated.Is the allowed component list applicable in the current context- Returns:
- true if component list applicable in the current context
-
getComponents
public java.util.List getComponents()
Deprecated.Returns a list ofAllowedComponentList.ComponentMapping
s for Sightly resource instantiation usage- Returns:
- List of component mappings
-
getCssClass
public java.lang.String getCssClass()
Deprecated.Returns the specific css class names- Returns:
- class name
-
-