Package com.day.cq.personalization
Interface TargetedContentHelper
Deprecated.
Exposes various utility functions for working with targeted content.
-
Method Summary
Modifier and TypeMethodDescriptionfindLocations(ResourceResolver resolver, String... locationName) Deprecated.findLocationsPaths(ResourceResolver resolver, String[] locations) Deprecated.UsefindLocations(ResourceResolver, String[])instead
-
Method Details
-
findLocationsPaths
Deprecated.UsefindLocations(ResourceResolver, String[])insteadFinds the actual content paths for a given list of location names.- Parameters:
resolver- aResourceResolverused to access the repositorylocations- an array of location names- Returns:
- a
ListofLocationItemobjects an empty list if no paths were found.
-
findLocations
Deprecated.Finds the actual content paths for a given list of location names.- Parameters:
resolver- aResourceResolverused to access the repositorylocationName- one or more location names for which to retrieve the path- Returns:
- a
ListofLocationobjects an empty list if no paths were found.
-
TargetedContentManager.findLocations(ResourceResolver, String...)instead