Package com.day.cq.personalization
Interface UserPropertiesProvider
public interface UserPropertiesProvider
The
UserPropertiesProvider interface describes access to UserProperties via request or ResourceResolver.-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiongetUserProperties(ResourceResolver resolver) Extract theUserPropertiesbased on the givenresolver.getUserProperties(SlingHttpServletRequest request) Extract theUserPropertiesbased on the givenrequest.
-
Field Details
-
DEFAULT_USERPROPS_PATH
- See Also:
-
-
Method Details
-
getUserProperties
Extract theUserPropertiesbased on the givenrequest.- Parameters:
request- The request from which to extract user properties.- Returns:
- The
UserPropertiesornullif not found.
-
getUserProperties
Extract theUserPropertiesbased on the givenresolver.- Parameters:
resolver- The ResourceResolver from which to extract user properties.- Returns:
- The
UserPropertiesornullif not found.
-