| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectatg.b2bcommerce.order.B2BShippingGroupRelationshipContainerImpl
public class B2BShippingGroupRelationshipContainerImpl
A class which manages the containment of B2BShippingGroupRelationship objects.
| Field Summary | |
|---|---|
| static java.lang.String | CLASS_VERSIONClass version string | 
| Constructor Summary | |
|---|---|
| B2BShippingGroupRelationshipContainerImpl()Constructs a B2BShippingGroupRelationshipContainerImpl object. | |
| Method Summary | |
|---|---|
|  void | addShippingGroupRelationship(B2BShippingGroupRelationship pShippingGroupRelationship)Add the ShippingGroupRelationship to the container. | 
|  void | addShippingGroupRelationship(B2BShippingGroupRelationship pShippingGroupRelationship,
                             int pIndex)Add the ShippingGroupRelationship to the container at the given index. | 
|  B2BShippingGroupRelationship | 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 | 
|  B2BShippingGroupRelationship | removeShippingGroupRelationship(java.lang.String pShippingGroupRelationshipId)Removes a ShippingGroupRelationship 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
| Constructor Detail | 
|---|
public B2BShippingGroupRelationshipContainerImpl()
| Method Detail | 
|---|
public java.util.List getShippingGroupRelationships()
getShippingGroupRelationships in interface B2BShippingGroupRelationshipContainer
public void addShippingGroupRelationship(B2BShippingGroupRelationship pShippingGroupRelationship)
                                  throws DuplicateRelationshipException,
                                         InvalidParameterException
addShippingGroupRelationship in interface B2BShippingGroupRelationshipContainerDuplicateRelationshipException
InvalidParameterException
public void addShippingGroupRelationship(B2BShippingGroupRelationship pShippingGroupRelationship,
                                         int pIndex)
                                  throws DuplicateRelationshipException,
                                         InvalidParameterException
addShippingGroupRelationship in interface B2BShippingGroupRelationshipContainerDuplicateRelationshipException
InvalidParameterException
public B2BShippingGroupRelationship removeShippingGroupRelationship(java.lang.String pShippingGroupRelationshipId)
                                                             throws RelationshipNotFoundException,
                                                                    InvalidParameterException
removeShippingGroupRelationship in interface B2BShippingGroupRelationshipContainerRelationshipNotFoundException
InvalidParameterExceptionpublic void removeAllShippingGroupRelationships()
removeAllShippingGroupRelationships in interface B2BShippingGroupRelationshipContainer
public B2BShippingGroupRelationship getShippingGroupRelationship(java.lang.String pShippingGroupRelationshipId)
                                                          throws RelationshipNotFoundException,
                                                                 InvalidParameterException
getShippingGroupRelationship in interface B2BShippingGroupRelationshipContainerRelationshipNotFoundException
InvalidParameterExceptionpublic int getShippingGroupRelationshipCount()
getShippingGroupRelationshipCount in interface B2BShippingGroupRelationshipContainer| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||