com.ibm.commerce.tools.segmentation

Class SegmentDataBean

    • Field Detail

    • Constructor Detail

      • SegmentDataBean

        public SegmentDataBean()
        Constructor for SegmentDataBean.
    • Method Detail

      • getDescription

        public java.lang.String getDescription()
        Gets the description.
        Returns:
        The description.
      • getId

        public java.lang.String getId()
        Gets the member group ID.
        Returns:
        The member group ID.
      • getLastUpdateDate

        public java.lang.Long getLastUpdateDate()
        Gets the last update date to the member group.
        Returns:
        The last update date.
      • getLastUpdatedBy

        public java.lang.String getLastUpdatedBy()
        Gets the logon ID of the last user to update the member group.
        Returns:
        The logon ID of the last user to update the member group.
      • getField1

        public java.lang.String getField1()
        Gets customizable field 1
        Returns:
        customizable field 1
      • getField2

        public java.lang.String getField2()
        Gets customizable field 2
        Returns:
        customizable field 2
      • getField3

        public java.lang.String getField3()
        Gets customizable field 3
        Returns:
        customizable field 3
      • getProfile

        public java.lang.String getProfile()
        Gets the conditions of the member group.
        Returns:
        The conditions of the member group.
      • getSegmentName

        public java.lang.String getSegmentName()
        Gets the name of the member group.
        Returns:
        The name of the member group.
      • getSegmentDisplayName

        public java.lang.String getSegmentDisplayName()
        Gets the display name of the member group.
        Returns:
        The display name of the member group.
      • getStoreId

        public java.lang.Integer getStoreId()
        Gets the store ID for which this member group belongs to. If one is not specified by the caller, the a lookup attempt is made in the STOREMBRGP table.
        Returns:
        The store ID for which this member group belongs to. Returns null if a store ID can not be found.
      • getMemberGroupAccessBean

        public MemberGroupAccessBean getMemberGroupAccessBean()
        Gets the member group access bean
        Returns:
        The member group access bean
      • setMemberGroupAccessBean

        public void setMemberGroupAccessBean(MemberGroupAccessBean abMemberGroup)
        Sets the member group access bean
        Parameters:
        abMemberGroup - The member group access bean
      • getUsageTypeId

        public java.lang.Integer getUsageTypeId()
        Gets the usage type ID of the member group.
        Returns:
        The usage type ID of the member group.
      • populate

        public void populate()
                      throws java.lang.Exception
        Populate the data bean.
        Specified by:
        populate in interface SmartDataBean
        Overrides:
        populate in class SmartDataBeanImpl
        Throws:
        java.lang.Exception - if an error occurs
      • setId

        public void setId(java.lang.String id)
        Sets the member group ID.
        Parameters:
        id - The member group ID.
      • setStoreId

        public void setStoreId(java.lang.Integer storeId)
        Sets the store ID for which this member group belongs to.
        Parameters:
        storeId - The store ID for which this member group belongs to.
      • setXML

        public void setXML(java.util.Hashtable xml)
        Sets the XML.
        Parameters:
        xml - The XML that describes this member group.
      • getOwner

        public java.lang.Long getOwner()
                                throws java.lang.Exception
        Returns the member ID of the store owner of the store that owns the customer segment.
        Specified by:
        getOwner in interface Protectable
        Overrides:
        getOwner in class SegmentDataBeanBase
        Returns:
        the member ID of the store owner of the store that owns the customer segment.
        Throws:
        Exception
        RemoteException
        java.lang.Exception
        See Also:
        Protectable#getOwner()