| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectatg.commerce.order.CommerceIdentifierImpl
atg.commerce.order.CommerceItemImpl
atg.b2bcommerce.order.B2BCommerceItemImpl
public class B2BCommerceItemImpl
Extends generic CommerceItemImpl to contain B2B-specific data and methods. Adds Cost Center Management functionality
| Field Summary | |
|---|---|
static java.lang.String | 
CLASS_VERSION
Class version string  | 
| Fields inherited from class atg.commerce.order.CommerceItemImpl | 
|---|
mAuxiliaryData | 
| Constructor Summary | |
|---|---|
B2BCommerceItemImpl()
 | 
|
| Method Summary | |
|---|---|
 void | 
addCostCenterRelationship(CostCenterRelationship pCostCenterRelationship)
Add the CostCenterRelationship to the container.  | 
 void | 
addCostCenterRelationship(CostCenterRelationship pCostCenterRelationship,
                          int pIndex)
Add the CostCenterRelationship to the container at the given index.  | 
 CostCenterRelationship | 
getCostCenterRelationship(java.lang.String pCostCenterRelationshipId)
Returns the CostCenterRelationship whose id is pCostCenterRelationshipId.  | 
 int | 
getCostCenterRelationshipCount()
Returns the number of CostCenterRelationships in the container.  | 
 java.util.List | 
getCostCenterRelationships()
Returns a List of CostCenterRelationships  | 
 void | 
removeAllCostCenterRelationships()
Removes all the CostCenterRelationships  | 
 CostCenterRelationship | 
removeCostCenterRelationship(java.lang.String pCostCenterRelationshipId)
Removes a CostCenterRelationship whose id is passed in.  | 
| Methods inherited from class atg.commerce.order.CommerceIdentifierImpl | 
|---|
getId, setId | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Methods inherited from interface atg.commerce.order.CommerceItem | 
|---|
getAuxiliaryData, getCatalogId, getCatalogKey, getCatalogRefId, getCommerceItemClassType, getPriceInfo, getQuantity, getReturnedQuantity, getState, getStateDetail, setCatalogId, setCatalogKey, setCatalogRefId, setCommerceItemClassType, setPriceInfo, setQuantity, setState, setStateDetail | 
| Methods inherited from interface atg.commerce.order.ShippingGroupRelationshipContainer | 
|---|
addShippingGroupRelationship, addShippingGroupRelationship, getShippingGroupRelationship, getShippingGroupRelationshipCount, getShippingGroupRelationships, removeAllShippingGroupRelationships, removeShippingGroupRelationship | 
| Methods inherited from interface atg.commerce.order.PaymentGroupRelationshipContainer | 
|---|
addPaymentGroupRelationship, addPaymentGroupRelationship, getPaymentGroupRelationship, getPaymentGroupRelationshipCount, getPaymentGroupRelationships, removeAllPaymentGroupRelationships, removePaymentGroupRelationship | 
| Methods inherited from interface atg.commerce.order.CommerceIdentifier | 
|---|
getId | 
| Field Detail | 
|---|
public static java.lang.String CLASS_VERSION
| Constructor Detail | 
|---|
public B2BCommerceItemImpl()
| Method Detail | 
|---|
public java.util.List getCostCenterRelationships()
getCostCenterRelationships in interface CostCenterRelationshipContainer
public void addCostCenterRelationship(CostCenterRelationship pCostCenterRelationship)
                               throws DuplicateRelationshipException,
                                      InvalidParameterException
addCostCenterRelationship in interface CostCenterRelationshipContainerDuplicateRelationshipException
InvalidParameterException
public void addCostCenterRelationship(CostCenterRelationship pCostCenterRelationship,
                                      int pIndex)
                               throws DuplicateRelationshipException,
                                      InvalidParameterException
addCostCenterRelationship in interface CostCenterRelationshipContainerDuplicateRelationshipException
InvalidParameterException
public CostCenterRelationship removeCostCenterRelationship(java.lang.String pCostCenterRelationshipId)
                                                    throws RelationshipNotFoundException,
                                                           InvalidParameterException
removeCostCenterRelationship in interface CostCenterRelationshipContainerRelationshipNotFoundException
InvalidParameterExceptionpublic void removeAllCostCenterRelationships()
removeAllCostCenterRelationships in interface CostCenterRelationshipContainer
public CostCenterRelationship getCostCenterRelationship(java.lang.String pCostCenterRelationshipId)
                                                 throws RelationshipNotFoundException,
                                                        InvalidParameterException
getCostCenterRelationship in interface CostCenterRelationshipContainerRelationshipNotFoundException
InvalidParameterExceptionpublic int getCostCenterRelationshipCount()
getCostCenterRelationshipCount in interface CostCenterRelationshipContainer
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||