Package com.day.cq.dam.api.metadata
Interface ComponentHandler
-
public interface ComponentHandlerBase class for handling runtime rendering of resources after application of rules residing on them
-
-
Field Summary
Fields Modifier and Type Field Description static StringCASCADE_FROM_VALUEstatic StringCHOICES_CASCADING_PARAMstatic StringGENERIC_HANDLER_PATHstatic StringREGISTERED_COMPONENTSstatic StringRULE_BASEDstatic StringSOURCE_VALUE
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Set<String>getPaths()Resourcehandle(SlingHttpServletRequest request)
-
-
-
Field Detail
-
REGISTERED_COMPONENTS
static final String REGISTERED_COMPONENTS
- See Also:
- Constant Field Values
-
GENERIC_HANDLER_PATH
static final String GENERIC_HANDLER_PATH
- See Also:
- Constant Field Values
-
SOURCE_VALUE
static final String SOURCE_VALUE
- See Also:
- Constant Field Values
-
RULE_BASED
static final String RULE_BASED
- See Also:
- Constant Field Values
-
CHOICES_CASCADING_PARAM
static final String CHOICES_CASCADING_PARAM
- See Also:
- Constant Field Values
-
CASCADE_FROM_VALUE
static final String CASCADE_FROM_VALUE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getPaths
Set<String> getPaths()
- Returns:
- A set of component paths for which this handler should be called.
-
handle
Resource handle(SlingHttpServletRequest request)
- Parameters:
request- client request- Returns:
- Returns a synthetic resource which may have different properties/children as compared to the actual resource.
-
-