com.ibm.commerce.marketingcenter.externalevent

Class WCSUserInfo

  • java.lang.Object
    • com.ibm.commerce.marketingcenter.externalevent.WCSUserInfo


  • public class WCSUserInfo
    extends java.lang.Object
    This class captures the information related to a WCS User.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT 
      static java.lang.String GENERIC_USER
      The GENERIC_USER type.
      static java.lang.String GUEST_USER
      The GUEST_USER type.
      static java.lang.String REGISTERED_USER
      The REGISTERED_USER type.
    • Constructor Summary

      Constructors 
      Constructor and Description
      WCSUserInfo(java.lang.Long userId, java.lang.String userType, java.lang.String sessionTag)
      Constructor for WCSUserInfo.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.String getUniqueSessionTag()
      Returns the unique session tag.
      java.lang.Long getUserId()
      Returns the user identifier.
      java.lang.String getUserType()
      Returns the user type (one of the predefined Strings).
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • GENERIC_USER

        public static final java.lang.String GENERIC_USER
        The GENERIC_USER type. This user type is sent to the listener.
        See Also:
        Constant Field Values
      • GUEST_USER

        public static final java.lang.String GUEST_USER
        The GUEST_USER type. This user type is sent to the listener.
        See Also:
        Constant Field Values
      • REGISTERED_USER

        public static final java.lang.String REGISTERED_USER
        The REGISTERED_USER type. This user type is sent to the listener.
        See Also:
        Constant Field Values
    • Constructor Detail

      • WCSUserInfo

        public WCSUserInfo(java.lang.Long userId,
                           java.lang.String userType,
                           java.lang.String sessionTag)
        Constructor for WCSUserInfo.
        Parameters:
        userId - java.lang.Long The WCS userId.
        userType - java.lang.String The type of the user (ie. generic, guest, or registered)
        sessionTag - java.lang.String The sessionTag, a unique identifier for guest users.
    • Method Detail

      • getUniqueSessionTag

        public java.lang.String getUniqueSessionTag()
        Returns the unique session tag. This value can be used to uniquely identify non-registered user.
        Returns:
        java.lang.String
      • getUserId

        public java.lang.Long getUserId()
        Returns the user identifier.
        Returns:
        java.lang.Long
      • getUserType

        public java.lang.String getUserType()
        Returns the user type (one of the predefined Strings).
        Returns:
        java.lang.String