java.lang.Object | +--com.ibm.commerce.user.beansrc.MemberAttributeValueListDataBeanBase | +--com.ibm.commerce.user.beans.MemberAttributeValueListDataBean
This data bean is used to retrieve the value or values of a Member Attribute for a member. Member Attribute is the attribute defined in the MBRATTR table. It may be multiple valued or store entity sensitive. To use this databean, first sets the attribute name and the memberId of the member, then actives this databean. After the databean is actived, calls one of the get value methods to get the value or values.
Field Summary | |
---|---|
static java.lang.String |
CLASSNAME The full class name. |
static java.lang.String |
COPYRIGHT IBM Copyright statement. |
Constructor Summary | |
---|---|
MemberAttributeValueListDataBean() |
Method Summary | |
---|---|
java.lang.String |
getAttributeName() Gets the name of the Member Attribute. |
java.lang.String |
getAttributeType() Gets the type of the Member Attribute. |
java.lang.String |
getValue() Gets a single value of this Member Attribute for this member. |
java.lang.String |
getValue(java.lang.String storeEntityId) Gets a single store-dependent value of this Member Attribute for this member. |
java.util.List |
getValues() Gets a list of values of this Member Attribute for this member. |
java.util.List |
getValues(java.lang.String storeEntityId) Gets a list of store-dependent values of this Member Attribute for this member. |
void |
populate() Populates the databean |
void |
setAttributeName(java.lang.String attrName) Sets the name of the Member Attribute. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
public static final java.lang.String CLASSNAME
Constructor Detail |
---|
public MemberAttributeValueListDataBean()
Method Detail |
---|
public void setAttributeName(java.lang.String attrName)
attrName
- The name of the Member
Attribute.public java.lang.String getAttributeName()
public void populate() throws java.lang.Exception
java.lang.Exception
- Any exception thrown when populates the
data bean.public java.lang.String getAttributeType()
public java.util.List getValues()
public java.lang.String getValue()
public java.util.List getValues(java.lang.String storeEntityId)
storeEntityId
- The store entity id under which the values are
defined. If store entity id is null or a String "null", returns
store-independant values instead.public java.lang.String getValue(java.lang.String storeEntityId)
storeEntityId
- The store entity id under which the values are
defined. If store entity id is null or a String "null", returns
store-independant value instead.