Package com.day.cq.dam.api.metadata
Interface ComponentHandler
-
public interface ComponentHandler
Base class for handling runtime rendering of resources after application of rules residing on them
-
-
Field Summary
Fields Modifier and Type Field Description static String
CASCADE_FROM_VALUE
static String
CHOICES_CASCADING_PARAM
static String
GENERIC_HANDLER_PATH
static String
REGISTERED_COMPONENTS
static String
RULE_BASED
static String
SOURCE_VALUE
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Set<String>
getPaths()
Resource
handle(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.
-
-