Package com.day.cq.personalization.dto
Class LocationItem
- java.lang.Object
-
- com.day.cq.personalization.dto.LocationItem
-
@Deprecated @ProviderType public class LocationItem extends Object
Deprecated.Simple data object that represents a targeted location item.
-
-
Constructor Summary
Constructors Constructor Description LocationItem(String name)
Deprecated.Constructs an object of this type, using the name of the location
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description String
getName()
Deprecated.Returns the name of the locationString
getPage()
Deprecated.Returns the path to the parent page of the locationString
getPath()
Deprecated.Returns the path to the locationLocationItem
withParentPage(String parentPage)
Deprecated.Sets the parent page of this locationLocationItem
withPath(String path)
Deprecated.Sets the path of this location
-
-
-
Constructor Detail
-
LocationItem
public LocationItem(String name)
Deprecated.Constructs an object of this type, using the name of the location- Parameters:
name
- the name of the location
-
-
Method Detail
-
withPath
public LocationItem withPath(String path)
Deprecated.Sets the path of this location- Parameters:
path
- the path of the location- Returns:
- a reference to this object
-
withParentPage
public LocationItem withParentPage(String parentPage)
Deprecated.Sets the parent page of this location- Parameters:
parentPage
- the path to the page that contains this targeted location- Returns:
- a reference to this object
-
getName
public String getName()
Deprecated.Returns the name of the location- Returns:
- Name of the location
-
getPath
public String getPath()
Deprecated.Returns the path to the location- Returns:
- Path to the location
-
getPage
public String getPage()
Deprecated.Returns the path to the parent page of the location- Returns:
- Path to the parent page of the location
-
-