| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectatg.commerce.order.ShippingGroupContainerImpl
public class ShippingGroupContainerImpl
A class which manages the containment of ShippingGroup objects.
| Field Summary | |
|---|---|
| static java.lang.String | CLASS_VERSIONClass version string | 
| protected static java.lang.String | SHIPPING_GROUPS | 
| Constructor Summary | |
|---|---|
| ShippingGroupContainerImpl(MutableRepositoryItem pRepositoryItem)Constructs a ShippingGroupContainerImpl object. | |
| Method Summary | |
|---|---|
|  void | addShippingGroup(ShippingGroup pShippingGroup)Add the ShippingGroup to the container. | 
|  void | addShippingGroup(ShippingGroup pShippingGroup,
                 int pIndex)Add the ShippingGroup to the container at the given index. | 
| protected  java.util.List | getRepositoryItemList() | 
|  ShippingGroup | getShippingGroup(java.lang.String pShippingGroupId)Returns the ShippingGroup whose id is pShippingGroupId. | 
|  int | getShippingGroupCount()Returns the number of ShippingGroups in the container. | 
|  java.util.List | getShippingGroups()Returns a List of ShippingGroups. | 
|  void | removeAllShippingGroups()Removes all the ShippingGroups | 
|  ShippingGroup | removeShippingGroup(java.lang.String pShippingGroupId)Removes a ShippingGroup 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 SHIPPING_GROUPS
| Constructor Detail | 
|---|
public ShippingGroupContainerImpl(MutableRepositoryItem pRepositoryItem)
| Method Detail | 
|---|
protected java.util.List getRepositoryItemList()
public java.util.List getShippingGroups()
getShippingGroups in interface ShippingGroupContainer
public void addShippingGroup(ShippingGroup pShippingGroup)
                      throws DuplicateShippingGroupException,
                             InvalidParameterException
addShippingGroup in interface ShippingGroupContainerDuplicateShippingGroupException
InvalidParameterException
public void addShippingGroup(ShippingGroup pShippingGroup,
                             int pIndex)
                      throws DuplicateShippingGroupException,
                             InvalidParameterException
addShippingGroup in interface ShippingGroupContainerDuplicateShippingGroupException
InvalidParameterException
public ShippingGroup removeShippingGroup(java.lang.String pShippingGroupId)
                                  throws ShippingGroupNotFoundException,
                                         InvalidParameterException
removeShippingGroup in interface ShippingGroupContainerShippingGroupNotFoundException
InvalidParameterExceptionpublic void removeAllShippingGroups()
removeAllShippingGroups in interface ShippingGroupContainer
public ShippingGroup getShippingGroup(java.lang.String pShippingGroupId)
                               throws ShippingGroupNotFoundException,
                                      InvalidParameterException
getShippingGroup in interface ShippingGroupContainerShippingGroupNotFoundException
InvalidParameterExceptionpublic int getShippingGroupCount()
getShippingGroupCount in interface ShippingGroupContainer| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||