Package com.day.cq.personalization.dto
Class LocationItem
- java.lang.Object
 - 
- com.day.cq.personalization.dto.LocationItem
 
 
- 
@Deprecated @ProviderType public class LocationItem extends java.lang.ObjectDeprecated.Simple data object that represents a targeted location item. 
- 
- 
Constructor Summary
Constructors Constructor Description LocationItem(java.lang.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 java.lang.StringgetName()Deprecated.Returns the name of the locationjava.lang.StringgetPage()Deprecated.Returns the path to the parent page of the locationjava.lang.StringgetPath()Deprecated.Returns the path to the locationLocationItemwithParentPage(java.lang.String parentPage)Deprecated.Sets the parent page of this locationLocationItemwithPath(java.lang.String path)Deprecated.Sets the path of this location 
 - 
 
- 
- 
Method Detail
- 
withPath
public LocationItem withPath(java.lang.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(java.lang.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 java.lang.String getName()
Deprecated.Returns the name of the location- Returns:
 - Name of the location
 
 
- 
getPath
public java.lang.String getPath()
Deprecated.Returns the path to the location- Returns:
 - Path to the location
 
 
- 
getPage
public java.lang.String getPage()
Deprecated.Returns the path to the parent page of the location- Returns:
 - Path to the parent page of the location
 
 
 - 
 
 -