com.ibm.commerce.tools.promotions
Class CustomerGroupDataBean
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
- All Implemented Interfaces:
- DataBean, Delegator, InputDataBean, Protectable, java.io.Serializable, SmartDataBean
- public class CustomerGroupDataBean
- extends CustomerGroupDataBeanBase
The bean representing all customer Groups within a store. This bean maps to the table storembrgrp,mbrgrp,mbrgrpusg.
- See Also:
- Serialized Form
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COPYRIGHT
public static final java.lang.String COPYRIGHT
- The internal copyright field.
- See Also:
- Constant Field Values
memberGroupName
protected java.util.Vector memberGroupName
- Provide a Vector of member group names
memberGroupId
protected java.util.Vector memberGroupId
- Provide a Vector of member group IDs
memberGroupTypeId
protected java.lang.Integer memberGroupTypeId
- Provide a member group type ID
CustomerGroupDataBean
public CustomerGroupDataBean()
- CustomerGroupDataBean constructor.
getLength
public int getLength()
- get the size of groups
-
- Returns:
- int
getMemberGroupId
public java.lang.String getMemberGroupId(int index)
- get ID of the member group
-
- Returns:
- String ID of the member group
getMemberGroupName
public java.lang.String getMemberGroupName(int index)
- get current member group name
-
- Parameters:
- index - in the array of the member groups
- Returns:
- current member group name
getMemberGroupTypeId
public java.lang.Integer getMemberGroupTypeId()
- get ID of the member group type
-
- Returns:
- ID of the member group type
populate
public void populate()
throws ECException
- populate this databean to GUI.
-
- Specified by:
- populate in interface SmartDataBean
- Overrides:
- populate in class SmartDataBeanImpl
-
- Throws:
- com.ibm.commerce.exception.ECException.
- ECException
setMemberGroupTypeId
public void setMemberGroupTypeId(java.lang.Integer newMemberGroupTypeId)
- Assign a member group type id
Feedback
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.