Package com.day.cq.personalization
Interface TargetedContentHelper
-
@ProviderType @Deprecated public interface TargetedContentHelper
Deprecated.Exposes various utility functions for working with targeted content.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description java.util.List<Location>findLocations(ResourceResolver resolver, java.lang.String... locationName)Deprecated.java.util.List<LocationItem>findLocationsPaths(ResourceResolver resolver, java.lang.String[] locations)Deprecated.UsefindLocations(ResourceResolver, String[])instead
-
-
-
Method Detail
-
findLocationsPaths
@Deprecated java.util.List<LocationItem> findLocationsPaths(ResourceResolver resolver, java.lang.String[] locations)
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
java.util.List<Location> findLocations(ResourceResolver resolver, java.lang.String... locationName)
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.
-
-