public class PageLocationActivityESpot extends AbstractPageLayoutActivityESpot implements java.lang.Comparable<PageLocationActivityESpot>
A Page Location Activity ESpot has the following Naming Conventions:
Modifier | Constructor and Description |
---|---|
PageLocationActivityESpot()
Default Constructor.
|
|
protected | PageLocationActivityESpot(AbstractPageLayoutActivityESpot spot)
This is a Copy Constructor that does a shallow copy.
|
protected | PageLocationActivityESpot(java.lang.String properties)
This Constructor initializes the properties of the ESpot using a given properties string.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String | buildESpotName()
This method builds the ESpot Name using the following naming conventions: <pageGroup>_<objectId> e.g.
|
protected java.lang.String | buildProperties()
This method builds a properties string using the individual properties of this ESpot.
|
int | compareTo(PageLocationActivityESpot o)
Compares this object with the specified object to determine if the ESpot Name is similar or different.
|
java.lang.String | getObjectId()
Returns the Object Id of this Page Location Activity ESpot.
|
java.lang.String | getObjectName()
Returns the Object Name of this Page Location Activity ESpot.
|
java.lang.String | getPageGroup()
Returns the Page Group of this Page Location Activity ESpot.
|
java.lang.String | getStoreId()
Returns the Store Id of this Page Location Activity ESpot.
|
java.lang.String | getSubPageGroup()
Returns the Sub-Page Group of this Page Location Activity ESpot.
|
protected void | parse(java.lang.String properties)
This method parses a given ESpot Campaign Element properties string into the respective properties.
|
void | setObjectId(java.lang.String objectId)
Sets the Object Id of this Page Location Activity ESpot.
|
void | setObjectName(java.lang.String objectName)
Sets the Object Name of this Page Location Activity ESpot.
|
void | setPageGroup(java.lang.String pageGroup)
Sets the Page Group of this Page Location Activity ESpot.
|
void | setStoreId(java.lang.String storeId)
Sets the Store Id of this Page Location Activity ESpot.
|
void | setSubPageGroup(java.lang.String subPageGroup)
Sets the Sub-Page Group of this Page Location Activity ESpot.
|
public PageLocationActivityESpot()
protected PageLocationActivityESpot(java.lang.String properties)
This Constructor delegates to the super class Constructor super(properties)
protected PageLocationActivityESpot(AbstractPageLayoutActivityESpot spot)
This Constructor delegates to the super class Constructor super(spot)
public final java.lang.String getPageGroup()
public final void setPageGroup(java.lang.String pageGroup)
public final java.lang.String getObjectId()
public final void setObjectId(java.lang.String objectId)
public final java.lang.String getSubPageGroup()
public final void setSubPageGroup(java.lang.String subPageGroup)
public final java.lang.String getObjectName()
public final void setObjectName(java.lang.String objectName)
public final java.lang.String getStoreId()
public final void setStoreId(java.lang.String storeId)
public java.lang.String buildESpotName()
protected void parse(java.lang.String properties)
The properties string has the following format:
"pageGroup=<page group>;objectId=<object Id>;subPageGroup=<sub-page group>;objectName=<object name>;storeId=<store Id>" e.g. "pageGroup=Category;objectId=10008;subPageGroup=CatalogEntry;objectName=Apparel;storeId=10001"
protected java.lang.String buildProperties()
The constructed properties string has the following format:
"pageGroup=<page group>;objectId=<object Id>;subPageGroup=<sub-page group>;objectName=<object name>;storeId=<store Id>" e.g. "pageGroup=Category;objectId=10008;subPageGroup=CatalogEntry;objectName=Apparel;storeId=10001"
The Sub-Page Group and Object Name are appended to the properties string only if they are not NULL.
public int compareTo(PageLocationActivityESpot o)