|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object UserState atg.endeca.assembler.navigation.LiveUserState
public class LiveUserState
Extends Endeca UserState to populate its userSegments list with profile segments, the current site, and all site groups that contain the current site.
Field Summary | |
---|---|
protected static java.lang.String |
CLASS_VERSION
Class version string |
Constructor Summary | |
---|---|
LiveUserState()
|
Method Summary | |
---|---|
void |
computeSegments()
Adds the IDs for current site and all site groups that contain the current site to the list of user segments to be used by the Assembler. |
java.lang.String |
getPrefixDelimiter()
|
boolean |
getSegmentsNeeded()
|
SiteGroupManager |
getSiteGroupManager()
|
java.lang.String |
getSiteGroupPrefix()
|
java.lang.String |
getSitePrefix()
|
java.util.Set<java.lang.String> |
getUserSegments()
Override that computes and fills in the set of active segments if it hasn't been computed yet. |
void |
setPrefixDelimiter(java.lang.String pPrefixDelimiter)
Sets the delimiter that separates segment types from names. |
void |
setSegmentsNeeded(boolean pSegmentsNeeded)
Sets a flag to say whether the set of segments needs to be computed. |
void |
setSiteGroupManager(SiteGroupManager pSiteGroupManager)
Sets property SiteGroupManager. |
void |
setSiteGroupPrefix(java.lang.String pSiteGroupPrefix)
Sets the prefix to use with site group IDs. |
void |
setSitePrefix(java.lang.String pSitePrefix)
Sets the prefix to use with the ID of the current site. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final java.lang.String CLASS_VERSION
Constructor Detail |
---|
public LiveUserState()
Method Detail |
---|
public void setSiteGroupManager(SiteGroupManager pSiteGroupManager)
pSiteGroupManager
- the siteGroupManagerpublic SiteGroupManager getSiteGroupManager()
public void setPrefixDelimiter(java.lang.String pPrefixDelimiter)
public java.lang.String getPrefixDelimiter()
public void setSitePrefix(java.lang.String pSitePrefix)
public java.lang.String getSitePrefix()
public void setSiteGroupPrefix(java.lang.String pSiteGroupPrefix)
public java.lang.String getSiteGroupPrefix()
public void setSegmentsNeeded(boolean pSegmentsNeeded)
public boolean getSegmentsNeeded()
public java.util.Set<java.lang.String> getUserSegments()
public void computeSegments()
This method ends with debug logging for all strings in the Assembler list. Subclasses should add their entries before calling this super method to log the combined list.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |