|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object atg.commerce.order.PaymentGroupContainerImpl
public class PaymentGroupContainerImpl
A class which manages the containment of PaymentGroup objects.
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
protected static java.lang.String |
PAYMENT_GROUPS
|
Constructor Summary | |
---|---|
PaymentGroupContainerImpl(MutableRepositoryItem pRepositoryItem)
Constructs a PaymentGroupContainerImpl object. |
Method Summary | |
---|---|
void |
addPaymentGroup(PaymentGroup pPaymentGroup)
Add the PaymentGroup to the container. |
void |
addPaymentGroup(PaymentGroup pPaymentGroup,
int pIndex)
Add the PaymentGroup to the container at the given index. |
PaymentGroup |
getPaymentGroup(java.lang.String pPaymentGroupId)
Returns the PaymentGroup whose id is pPaymentGroupId. |
int |
getPaymentGroupCount()
Returns the number of PaymentGroups in the container. |
java.util.List |
getPaymentGroups()
Returns a List of PaymentGroups. |
protected java.util.List |
getRepositoryItemList()
|
void |
removeAllPaymentGroups()
Removes all the PaymentGroups |
PaymentGroup |
removePaymentGroup(java.lang.String pPaymentGroupId)
Removes a PaymentGroup whose id is passed in. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.lang.String CLASS_VERSION
protected static java.lang.String PAYMENT_GROUPS
Constructor Detail |
---|
public PaymentGroupContainerImpl(MutableRepositoryItem pRepositoryItem)
Method Detail |
---|
protected java.util.List getRepositoryItemList()
public java.util.List getPaymentGroups()
getPaymentGroups
in interface PaymentGroupContainer
public void addPaymentGroup(PaymentGroup pPaymentGroup) throws DuplicatePaymentGroupException, InvalidParameterException
addPaymentGroup
in interface PaymentGroupContainer
DuplicatePaymentGroupException
InvalidParameterException
public void addPaymentGroup(PaymentGroup pPaymentGroup, int pIndex) throws DuplicatePaymentGroupException, InvalidParameterException
addPaymentGroup
in interface PaymentGroupContainer
DuplicatePaymentGroupException
InvalidParameterException
public PaymentGroup removePaymentGroup(java.lang.String pPaymentGroupId) throws PaymentGroupNotFoundException, InvalidParameterException
removePaymentGroup
in interface PaymentGroupContainer
PaymentGroupNotFoundException
InvalidParameterException
public void removeAllPaymentGroups()
removeAllPaymentGroups
in interface PaymentGroupContainer
public PaymentGroup getPaymentGroup(java.lang.String pPaymentGroupId) throws PaymentGroupNotFoundException, InvalidParameterException
getPaymentGroup
in interface PaymentGroupContainer
PaymentGroupNotFoundException
InvalidParameterException
public int getPaymentGroupCount()
getPaymentGroupCount
in interface PaymentGroupContainer
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |