atg.userprofiling.endeca
Class ProfileUserState

java.lang.Object
  extended by UserState
      extended by atg.endeca.assembler.navigation.LiveUserState
          extended by 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
 
Constructor Summary
ProfileUserState()
           
 
Method Summary
 void computeSegments()
          Adds the names of the current user's segments the list of user segments to be used by the Assembler.
 Profile getProfile()
           
 java.lang.String getUserSegmentPrefix()
           
 void setProfile(Profile pProfile)
          Sets the Profile for the current user.
 void setUserSegmentPrefix(java.lang.String pUserSegmentPrefix)
          Sets the prefix to use with each segment name.
 
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
 

Field Detail

CLASS_VERSION

protected static final java.lang.String CLASS_VERSION
Class version string

See Also:
Constant Field Values
Constructor Detail

ProfileUserState

public ProfileUserState()
Method Detail

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