public class ShippingGroupContainerImpl extends java.lang.Object implements ShippingGroupContainer
| Modifier and Type | Field and Description | 
|---|---|
| static java.lang.String | CLASS_VERSIONClass version string | 
| protected static java.lang.String | SHIPPING_GROUPS | 
| Constructor and Description | 
|---|
| ShippingGroupContainerImpl(MutableRepositoryItem pRepositoryItem)Constructs a ShippingGroupContainerImpl object. | 
| Modifier and Type | Method and Description | 
|---|---|
| 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. | 
public static java.lang.String CLASS_VERSION
protected static java.lang.String SHIPPING_GROUPS
public ShippingGroupContainerImpl(MutableRepositoryItem pRepositoryItem)
protected java.util.List getRepositoryItemList()
public java.util.List getShippingGroups()
getShippingGroups in interface ShippingGroupContainerpublic void addShippingGroup(ShippingGroup pShippingGroup) throws DuplicateShippingGroupException, InvalidParameterException
addShippingGroup in interface ShippingGroupContainerDuplicateShippingGroupExceptionInvalidParameterExceptionpublic void addShippingGroup(ShippingGroup pShippingGroup, int pIndex) throws DuplicateShippingGroupException, InvalidParameterException
addShippingGroup in interface ShippingGroupContainerDuplicateShippingGroupExceptionInvalidParameterExceptionpublic ShippingGroup removeShippingGroup(java.lang.String pShippingGroupId) throws ShippingGroupNotFoundException, InvalidParameterException
removeShippingGroup in interface ShippingGroupContainerShippingGroupNotFoundExceptionInvalidParameterExceptionpublic void removeAllShippingGroups()
removeAllShippingGroups in interface ShippingGroupContainerpublic ShippingGroup getShippingGroup(java.lang.String pShippingGroupId) throws ShippingGroupNotFoundException, InvalidParameterException
getShippingGroup in interface ShippingGroupContainerShippingGroupNotFoundExceptionInvalidParameterExceptionpublic int getShippingGroupCount()
getShippingGroupCount in interface ShippingGroupContainer