Package com.day.cq.personalization.dto
Class LocationItem
java.lang.Object
com.day.cq.personalization.dto.LocationItem
Deprecated.
Simple data object that represents a targeted location item.
-
Constructor Summary
ConstructorsConstructorDescriptionLocationItem(String name) Deprecated.Constructs an object of this type, using the name of the location -
Method Summary
Modifier and TypeMethodDescriptiongetName()Deprecated.Returns the name of the locationgetPage()Deprecated.Returns the path to the parent page of the locationgetPath()Deprecated.Returns the path to the locationwithParentPage(String parentPage) Deprecated.Sets the parent page of this locationDeprecated.Sets the path of this location
-
Constructor Details
-
LocationItem
Deprecated.Constructs an object of this type, using the name of the location- Parameters:
name- the name of the location
-
-
Method Details
-
withPath
Deprecated.Sets the path of this location- Parameters:
path- the path of the location- Returns:
- a reference to this object
-
withParentPage
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
Deprecated.Returns the name of the location- Returns:
- Name of the location
-
getPath
Deprecated.Returns the path to the location- Returns:
- Path to the location
-
getPage
Deprecated.Returns the path to the parent page of the location- Returns:
- Path to the parent page of the location
-