|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object atg.commerce.order.CommerceIdentifierImpl atg.commerce.order.OrderImpl atg.b2bcommerce.order.B2BOrderImpl
public class B2BOrderImpl
Extends generic OrderImpl to include B2B-specific data and methods. Adds Cost Center Management functionality
atg.commerce.order.B2BOrder
,
Serialized FormField Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
protected CostCenterContainerImpl |
mCostCenterContainer
|
protected CostCenterRelationshipContainerImpl |
mCostCenterRelationshipContainer
|
protected static java.util.ResourceBundle |
sResourceBundle
Resource Bundle |
Fields inherited from class atg.commerce.order.OrderImpl |
---|
mCommerceItemContainer, mInitialized, mInvalidated, mPaymentGroupContainer, mPaymentGroupRelationshipContainer, mRelationshipContainer, mShippingGroupContainer |
Constructor Summary | |
---|---|
B2BOrderImpl()
|
Method Summary | |
---|---|
void |
addCommerceItem(CommerceItem pCommerceItem)
Add the CommerceItem to the container. |
void |
addCommerceItem(CommerceItem pCommerceItem,
int pIndex)
Add the CommerceItem to the container at the given index. |
void |
addCostCenter(CostCenter pCostCenter)
Add the CostCenter to the container. |
void |
addCostCenter(CostCenter pCostCenter,
int pIndex)
Add the CostCenter to the container at the given index. |
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. |
void |
addShippingGroup(B2BShippingGroup pShippingGroup,
int pIndex)
Add the ShippingGroup to the container at the given index. |
void |
addShippingGroup(ShippingGroup pShippingGroup)
Add the ShippingGroup to the container. |
java.util.List |
getApprovalSystemMessages()
Returns property approvalSystemMessages |
java.util.List |
getApproverIds()
Returns property approverIds |
java.util.List |
getApproverMessages()
Returns property approverMessages |
java.util.List |
getAuthorizedApproverIds()
Returns property authorizedApproverIds |
CostCenter |
getCostCenter(java.lang.String pCostCenterId)
Returns the CostCenter whose id is pCostCenterId. |
int |
getCostCenterCount()
Returns the number of CostCenters in the container. |
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 |
java.util.List |
getCostCenters()
Returns a List of CostCenters |
protected void |
preEnsureContainers()
Method which is called by ensureContainers to allow subclasses to do any initialization when the order is reconstructed. |
void |
removeAllCostCenterRelationships()
Removes all the CostCenterRelationships |
void |
removeAllCostCenters()
Removes all the CostCenters |
CostCenter |
removeCostCenter(java.lang.String pCostCenterId)
Removes a CostCenter whose id is passed in. |
CostCenterRelationship |
removeCostCenterRelationship(java.lang.String pCostCenterRelationshipId)
Removes a CostCenterRelationship whose id is passed in. |
void |
setApprovalSystemMessages(java.util.List pApprovalSystemMessages)
Sets property approvalSystemMessages |
void |
setApproverIds(java.util.List pApproverIds)
Sets property approverIds |
void |
setApproverMessages(java.util.List pApproverMessages)
Sets property approverMessages |
void |
setAuthorizedApproverIds(java.util.List pAuthorizedApproverIds)
Sets property authorizedApproverIds |
Methods inherited from class atg.commerce.order.CommerceIdentifierImpl |
---|
getId, setId |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface atg.commerce.order.CommerceItemContainer |
---|
getCommerceItem, getCommerceItemCount, getCommerceItems, getCommerceItemsByCatalogRefId, getTotalCommerceItemCount, removeAllCommerceItems, removeCommerceItem |
Methods inherited from interface atg.commerce.order.ShippingGroupContainer |
---|
addShippingGroup, getShippingGroup, getShippingGroupCount, getShippingGroups, removeAllShippingGroups, removeShippingGroup |
Methods inherited from interface atg.commerce.order.PaymentGroupContainer |
---|
addPaymentGroup, addPaymentGroup, getPaymentGroup, getPaymentGroupCount, getPaymentGroups, removeAllPaymentGroups, removePaymentGroup |
Methods inherited from interface atg.commerce.order.RelationshipContainer |
---|
addRelationship, addRelationship, getRelationship, getRelationshipCount, getRelationships, removeAllRelationships, removeRelationship |
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
protected static java.util.ResourceBundle sResourceBundle
protected transient CostCenterContainerImpl mCostCenterContainer
protected transient CostCenterRelationshipContainerImpl mCostCenterRelationshipContainer
Constructor Detail |
---|
public B2BOrderImpl()
Method Detail |
---|
public java.util.List getApproverIds()
getApproverIds
in interface B2BOrder
public void setApproverIds(java.util.List pApproverIds)
setApproverIds
in interface B2BOrder
pApproverIds
- the value to set for property approverIdspublic java.util.List getAuthorizedApproverIds()
getAuthorizedApproverIds
in interface B2BOrder
public void setAuthorizedApproverIds(java.util.List pAuthorizedApproverIds)
setAuthorizedApproverIds
in interface B2BOrder
pAuthorizedApproverIds
- the value to set for property authorizedApproverIdspublic java.util.List getApprovalSystemMessages()
getApprovalSystemMessages
in interface B2BOrder
public void setApprovalSystemMessages(java.util.List pApprovalSystemMessages)
setApprovalSystemMessages
in interface B2BOrder
pApprovalSystemMessages
- the value to set for property approvalSystemMessagespublic java.util.List getApproverMessages()
getApproverMessages
in interface B2BOrder
public void setApproverMessages(java.util.List pApproverMessages)
setApproverMessages
in interface B2BOrder
pApproverMessages
- the value to set for property approverMessagespublic java.util.List getCostCenters()
getCostCenters
in interface CostCenterContainer
public void addCostCenter(CostCenter pCostCenter) throws DuplicateCostCenterException, InvalidParameterException
addCostCenter
in interface CostCenterContainer
DuplicateCostCenterException
InvalidParameterException
public void addCostCenter(CostCenter pCostCenter, int pIndex) throws DuplicateCostCenterException, InvalidParameterException
addCostCenter
in interface CostCenterContainer
DuplicateCostCenterException
InvalidParameterException
public CostCenter removeCostCenter(java.lang.String pCostCenterId) throws CostCenterNotFoundException, InvalidParameterException
removeCostCenter
in interface CostCenterContainer
CostCenterNotFoundException
InvalidParameterException
public void removeAllCostCenters()
removeAllCostCenters
in interface CostCenterContainer
public CostCenter getCostCenter(java.lang.String pCostCenterId) throws CostCenterNotFoundException, InvalidParameterException
getCostCenter
in interface CostCenterContainer
CostCenterNotFoundException
InvalidParameterException
public int getCostCenterCount()
getCostCenterCount
in interface CostCenterContainer
public java.util.List getCostCenterRelationships()
getCostCenterRelationships
in interface CostCenterRelationshipContainer
public void addCostCenterRelationship(CostCenterRelationship pCostCenterRelationship) throws DuplicateRelationshipException, InvalidParameterException
addCostCenterRelationship
in interface CostCenterRelationshipContainer
DuplicateRelationshipException
InvalidParameterException
public void addCostCenterRelationship(CostCenterRelationship pCostCenterRelationship, int pIndex) throws DuplicateRelationshipException, InvalidParameterException
addCostCenterRelationship
in interface CostCenterRelationshipContainer
DuplicateRelationshipException
InvalidParameterException
public CostCenterRelationship removeCostCenterRelationship(java.lang.String pCostCenterRelationshipId) throws RelationshipNotFoundException, InvalidParameterException
removeCostCenterRelationship
in interface CostCenterRelationshipContainer
RelationshipNotFoundException
InvalidParameterException
public void removeAllCostCenterRelationships()
removeAllCostCenterRelationships
in interface CostCenterRelationshipContainer
public CostCenterRelationship getCostCenterRelationship(java.lang.String pCostCenterRelationshipId) throws RelationshipNotFoundException, InvalidParameterException
getCostCenterRelationship
in interface CostCenterRelationshipContainer
RelationshipNotFoundException
InvalidParameterException
public int getCostCenterRelationshipCount()
getCostCenterRelationshipCount
in interface CostCenterRelationshipContainer
protected void preEnsureContainers()
preEnsureContainers
in class OrderImpl
public void addCommerceItem(CommerceItem pCommerceItem) throws DuplicateCommerceItemException, InvalidParameterException
addCommerceItem
in interface CommerceItemContainer
addCommerceItem
in class OrderImpl
DuplicateCommerceItemException
InvalidParameterException
public void addCommerceItem(CommerceItem pCommerceItem, int pIndex) throws DuplicateCommerceItemException, InvalidParameterException
addCommerceItem
in interface CommerceItemContainer
addCommerceItem
in class OrderImpl
DuplicateCommerceItemException
InvalidParameterException
public void addShippingGroup(ShippingGroup pShippingGroup) throws DuplicateShippingGroupException, InvalidParameterException
addShippingGroup
in interface ShippingGroupContainer
addShippingGroup
in class OrderImpl
DuplicateShippingGroupException
InvalidParameterException
public void addShippingGroup(B2BShippingGroup pShippingGroup, int pIndex) throws DuplicateShippingGroupException, InvalidParameterException
DuplicateShippingGroupException
InvalidParameterException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |