atg.userprofiling.endeca
Class ProfileUserState
java.lang.Object
UserState
atg.endeca.assembler.navigation.LiveUserState
atg.userprofiling.endeca.ProfileUserState
public class ProfileUserState
- extends 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 |
Methods inherited from class atg.endeca.assembler.navigation.LiveUserState |
getPrefixDelimiter, getSegmentsNeeded, getSiteGroupManager, getSiteGroupPrefix, getSitePrefix, getUserSegments, setPrefixDelimiter, setSegmentsNeeded, setSiteGroupManager, setSiteGroupPrefix, setSitePrefix |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CLASS_VERSION
protected static final java.lang.String CLASS_VERSION
- Class version string
- See Also:
- Constant Field Values
ProfileUserState
public ProfileUserState()
setProfile
public void setProfile(Profile pProfile)
- Sets the Profile for the current user.
getProfile
public Profile getProfile()
- Returns:
- the Profile for the current user
setUserSegmentPrefix
public void setUserSegmentPrefix(java.lang.String pUserSegmentPrefix)
- Sets the prefix to use with each segment name.
getUserSegmentPrefix
public java.lang.String getUserSegmentPrefix()
- Returns:
- the prefix to use with each segment name.
computeSegments
public void computeSegments()
- Adds the names of the current user's segments
the list of user segments to be used by the Assembler. Each segment name can be prefixed
by a string to distinguish segment names from other entries in the list such as sites
and site groups.
- Overrides:
computeSegments
in class LiveUserState