java.lang.Object | +--com.ibm.commerce.beans.InputDataBeanImpl | +--com.ibm.commerce.beans.SmartDataBeanImpl | +--com.ibm.commerce.tools.promotions.beansrc.CustomerGroupDataBeanBase | +--com.ibm.commerce.tools.promotions.CustomerGroupDataBean
The bean representing all customer Groups within a store. This bean maps to the table storembrgrp,mbrgrp,mbrgrpusg.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT The internal copyright field. |
protected
java.util.Vector |
memberGroupId Provide a Vector of member group IDs |
protected
java.util.Vector |
memberGroupName Provide a Vector of member group names |
protected
java.lang.Integer |
memberGroupTypeId Provide a member group type ID |
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 | |
---|---|
CustomerGroupDataBean() CustomerGroupDataBean constructor. |
Method Summary | |
---|---|
int |
getLength() get the size of groups |
java.lang.String |
getMemberGroupId(int index) get ID of the member group |
java.lang.String |
getMemberGroupName(int index) get current member group name |
java.lang.Integer |
getMemberGroupTypeId() get ID of the member group type |
void |
populate() populate this databean to GUI. |
void |
setMemberGroupTypeId(java.lang.Integer newMemberGroupTypeId) Assign a member group type id |
Methods inherited from class com.ibm.commerce.tools.promotions.beansrc. CustomerGroupDataBeanBase |
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
protected java.util.Vector memberGroupName
protected java.util.Vector memberGroupId
protected java.lang.Integer memberGroupTypeId
Constructor Detail |
---|
public CustomerGroupDataBean()
Method Detail |
---|
public int getLength()
public java.lang.String getMemberGroupId(int index)
public java.lang.String getMemberGroupName(int index)
index
- in the array of the member groupspublic java.lang.Integer getMemberGroupTypeId()
public void populate() throws ECException
populate
in interface
SmartDataBean
populate
in class
SmartDataBeanImpl
com.ibm.commerce.exception.ECException.
ECException
public void setMemberGroupTypeId(java.lang.Integer newMemberGroupTypeId)