public class ShippingGroupRelationshipContainerImpl extends java.lang.Object implements ShippingGroupRelationshipContainer
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
| Constructor and Description |
|---|
ShippingGroupRelationshipContainerImpl()
Constructs a ShippingGroupRelationshipContainerImpl object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addShippingGroupRelationship(ShippingGroupRelationship pShippingGroupRelationship)
Add the ShippingGroupRelationship to the container.
|
void |
addShippingGroupRelationship(ShippingGroupRelationship pShippingGroupRelationship,
int pIndex)
Add the ShippingGroupRelationship to the container at the given index.
|
ShippingGroupRelationship |
getShippingGroupRelationship(java.lang.String pShippingGroupRelationshipId)
Returns the ShippingGroupRelationship whose id is pShippingGroupRelationshipId.
|
int |
getShippingGroupRelationshipCount()
Returns the number of ShippingGroupRelationships in the container.
|
java.util.List |
getShippingGroupRelationships()
Returns a List of ShippingGroupRelationships.
|
void |
removeAllShippingGroupRelationships()
Removes all the ShippingGroupRelationships
|
ShippingGroupRelationship |
removeShippingGroupRelationship(java.lang.String pShippingGroupRelationshipId)
Removes a ShippingGroupRelationship whose id is passed in.
|
public ShippingGroupRelationshipContainerImpl()
public java.util.List getShippingGroupRelationships()
getShippingGroupRelationships in interface ShippingGroupRelationshipContainerpublic void addShippingGroupRelationship(ShippingGroupRelationship pShippingGroupRelationship) throws DuplicateRelationshipException, InvalidParameterException
addShippingGroupRelationship in interface ShippingGroupRelationshipContainerDuplicateRelationshipExceptionInvalidParameterExceptionpublic void addShippingGroupRelationship(ShippingGroupRelationship pShippingGroupRelationship, int pIndex) throws DuplicateRelationshipException, InvalidParameterException
addShippingGroupRelationship in interface ShippingGroupRelationshipContainerDuplicateRelationshipExceptionInvalidParameterExceptionpublic ShippingGroupRelationship removeShippingGroupRelationship(java.lang.String pShippingGroupRelationshipId) throws RelationshipNotFoundException, InvalidParameterException
removeShippingGroupRelationship in interface ShippingGroupRelationshipContainerRelationshipNotFoundExceptionInvalidParameterExceptionpublic void removeAllShippingGroupRelationships()
removeAllShippingGroupRelationships in interface ShippingGroupRelationshipContainerpublic ShippingGroupRelationship getShippingGroupRelationship(java.lang.String pShippingGroupRelationshipId) throws RelationshipNotFoundException, InvalidParameterException
getShippingGroupRelationship in interface ShippingGroupRelationshipContainerRelationshipNotFoundExceptionInvalidParameterExceptionpublic int getShippingGroupRelationshipCount()
getShippingGroupRelationshipCount in interface ShippingGroupRelationshipContainer