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 java.lang.String
CASCADE_FROM_VALUE
static java.lang.String
CHOICES_CASCADING_PARAM
static java.lang.String
GENERIC_HANDLER_PATH
static java.lang.String
REGISTERED_COMPONENTS
static java.lang.String
RULE_BASED
static java.lang.String
SOURCE_VALUE
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Set<java.lang.String>
getPaths()
Resource
handle(SlingHttpServletRequest request)
-
-
-
Field Detail
-
REGISTERED_COMPONENTS
static final java.lang.String REGISTERED_COMPONENTS
- See Also:
- Constant Field Values
-
GENERIC_HANDLER_PATH
static final java.lang.String GENERIC_HANDLER_PATH
- See Also:
- Constant Field Values
-
SOURCE_VALUE
static final java.lang.String SOURCE_VALUE
- See Also:
- Constant Field Values
-
RULE_BASED
static final java.lang.String RULE_BASED
- See Also:
- Constant Field Values
-
CHOICES_CASCADING_PARAM
static final java.lang.String CHOICES_CASCADING_PARAM
- See Also:
- Constant Field Values
-
CASCADE_FROM_VALUE
static final java.lang.String CASCADE_FROM_VALUE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getPaths
java.util.Set<java.lang.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.
-
-