com.ibm.commerce.emarketing.beans
Class CustomerProfileDataBean

java.lang.Object
  |
  +--com.ibm.commerce.beans.InputDataBeanImpl
        |
        +--com.ibm.commerce.beans.SmartDataBeanImpl
              |
              +--com.ibm.commerce.emarketing.beans.CustomerProfileDataBeanBase
                    |
                    +--com.ibm.commerce.emarketing.beans.CustomerProfileDataBean
All Implemented Interfaces:
DataBean, InputDataBean, java.io.Serializable, SmartDataBean

public class CustomerProfileDataBean
extends CustomerProfileDataBeanBase

Used to locate a list of Customer Profiles for a given store. Both names and IDs of the profiles become available after this bean is populated.

See Also:
Serialized Form

Field Summary
static java.lang.String COPYRIGHT
          Copyright.
 
Fields inherited from class com.ibm.commerce.beans. SmartDataBeanImpl
commandContext
 
Fields inherited from class com.ibm.commerce.beans. InputDataBeanImpl
requestProperties
 
Fields inherited from interface com.ibm.commerce.beans. DataBean
emptyString
 
Constructor Summary
CustomerProfileDataBean()
          Null argument constructor.
 
Method Summary
 java.util.Vector getAllMemberGroupIds()
          Gets a vector of the member group IDs which represent the profiles found for the given store.
 java.util.Vector getAllMemberGroupNames()
          Gets the names of the customer profiles within the given store.
 int getMemberGroupLength()
          Gets the number of Customer Profiles within the given store.
 void populate()
          Populate the data bean.
 
Methods inherited from class com.ibm.commerce.emarketing.beans. CustomerProfileDataBeanBase
getDelegate, getOwner
 
Methods inherited from class com.ibm.commerce.beans. SmartDataBeanImpl
fulfills, getCommandContext, getResources, setCommandContext
 
Methods inherited from class com.ibm.commerce.beans. InputDataBeanImpl
getRequestProperties, setRequestProperties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.ibm.commerce.beans. InputDataBean
getRequestProperties, setRequestProperties
 

Field Detail
public static final java.lang.String COPYRIGHT
Copyright.
See Also:
Constant Field Values
Constructor Detail

CustomerProfileDataBean

public CustomerProfileDataBean()
Null argument constructor.
Method Detail

getAllMemberGroupNames

public java.util.Vector getAllMemberGroupNames()
Gets the names of the customer profiles within the given store.
Returns:
the names of the customer profiles

getAllMemberGroupIds

public java.util.Vector getAllMemberGroupIds()
Gets a vector of the member group IDs which represent the profiles found for the given store.
Returns:
the member group IDs for the store

getMemberGroupLength

public int getMemberGroupLength()
Gets the number of Customer Profiles within the given store.
Returns:
the number of Customer Profiles within the given store

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 - Thrown when MemberGroupAccessBean cannot retreive the data for this member group.