|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectatg.nucleus.logging.VariableArgumentApplicationLoggingImpl
atg.nucleus.logging.ApplicationLoggingImpl
atg.commerce.order.processor.SavedProperties
atg.commerce.order.processor.ProcSavePriceInfoObjects
public class ProcSavePriceInfoObjects
This processor saves the PriceInfo objects into the OrderRepository from the Order, CommerceItem and ShippingGroup objects.
AmountInfo
,
OrderPriceInfo
,
ItemPriceInfo
,
ShippingPriceInfo
,
TaxPriceInfo
Field Summary | |
---|---|
protected static java.lang.String |
ALL
The possible "saveModes" for saving the PriceInfo objects: ALL - Saves all PriceInfo objects associated with the order. |
protected static java.lang.String |
ALL_NO_AUDIT
|
static java.lang.String |
CLASS_VERSION
Class version string |
protected boolean |
mVerifiedSaveModes
|
protected static java.lang.String |
NONE
|
protected static java.lang.String |
ORDER
|
protected static java.lang.String |
ORDER_NO_AUDIT
|
protected static java.lang.String[] |
VALID_SAVE_MODES
|
Fields inherited from class atg.commerce.order.processor.SavedProperties |
---|
ORDER_PROPERTY, TYPE_PROPERTY |
Fields inherited from interface atg.service.pipeline.PipelineProcessor |
---|
STOP_CHAIN_EXECUTION, STOP_CHAIN_EXECUTION_AND_COMMIT, STOP_CHAIN_EXECUTION_AND_ROLLBACK |
Fields inherited from interface atg.nucleus.logging.TraceApplicationLogging |
---|
DEFAULT_LOG_TRACE_STATUS |
Fields inherited from interface atg.nucleus.logging.ApplicationLogging |
---|
DEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS |
Constructor Summary | |
---|---|
ProcSavePriceInfoObjects()
|
Method Summary | |
---|---|
java.lang.String |
getAdjustmentsProperty()
Returns the adjustmentsProperty |
java.lang.String |
getCurrentPriceDetailsProperty()
Returns the currentPriceDetailsProperty |
java.lang.String |
getDefaultSaveMode()
The saveMode to be used for orders that do not have a corresponding entry in orderStateSaveModes |
java.lang.String |
getDetailedItemPriceInfoDescName()
Returns the detailedItemPriceInfoDescName |
java.lang.String[] |
getDetailedItemPriceInfoProperties()
Returns the detailedItemPriceInfoProperties |
java.lang.String[] |
getDetailsRangeProperties()
The list of properties from the DetailedItemPriceInfo's Range property that are stored in the details repository item |
java.lang.String |
getItemPriceInfoProperty()
Returns the itemPriceInfoProperty |
java.lang.String |
getLoggingIdentifier()
Returns property LoggingIdentifier |
java.lang.String |
getNonTaxableShippingItemsSubtotalPriceInfosProperty()
Returns property nonTaxableShippingItemsSubtotalPriceInfosProperty |
java.lang.String |
getOrderPriceInfoDescName()
Returns property orderPriceInfoDescName |
java.lang.String |
getOrderPriceInfoProperty()
Returns the orderPriceInfoProperty |
java.util.Map |
getOrderStateSaveModes()
Mapping of order states to the "saveMode" that indicates the level of pricing information that should be saved for an order in that state. |
java.lang.String |
getPricingAdjustmentDescName()
Returns the pricingAdjustmentDescName |
java.lang.String[] |
getPricingAdjustmentProperties()
Returns the pricingAdjustmentProperties |
int[] |
getRetCodes()
Returns the valid return codes 1 - The processor completed |
boolean |
getSavePriceInfosInIncompleteOrders()
Returns property savePriceInfosInIncompleteOrders |
java.lang.String |
getShippingItemsSubtotalPriceInfosProperty()
Returns property ShippingItemsSubtotalPriceInfosProperty |
java.lang.String |
getShippingItemsTaxPriceInfosProperty()
Returns property ShippingItemsTaxPriceInfosProperty |
java.lang.String |
getShippingPriceInfoProperty()
Returns the shippingPriceInfoProperty |
java.lang.String |
getTaxableShippingItemsSubtotalPriceInfosProperty()
Returns property TaxableShippingItemsSubtotalPriceInfosProperty |
java.lang.String |
getTaxPriceInfoDescName()
Returns property taxPriceInfoDescName |
java.lang.String |
getTaxPriceInfoProperty()
Returns the taxPriceInfoProperty |
int |
runProcess(java.lang.Object pParam,
PipelineResult pResult)
This method saves the PriceInfo objects into the OrderRepository from the Order, CommerceItem, and ShippingGroup objects. |
protected void |
saveDetailedItemPriceInfos(Order order,
AmountInfo pPriceInfo,
MutableRepositoryItem mutItem,
MutableRepository mutRep,
OrderManager orderManager)
This method saves a List of DetailedItemPriceInfo objects in an ItemPriceInfo. |
protected void |
saveDetailedRange(Order pOrder,
DetailedItemPriceInfo pDetail,
MutableRepositoryItem pDetMutItem,
MutableRepository pMutRep,
OrderManager pOrderManager)
Save the range property in a detailed item price info See the detailsRangeProperties for a list
of properties that are copied |
protected void |
saveItemPriceInfo(Order order,
CommerceItem cItem,
MutableRepositoryItem cItemRepItem,
MutableRepository mutRep,
OrderManager orderManager)
This method saves an ItemPriceInfo object. |
protected void |
saveNonTaxableShippingItemsSubtotalPriceInfos(Order order,
AmountInfo pPriceInfo,
MutableRepositoryItem mutItem,
MutableRepository mutRep,
OrderManager orderManager)
This method is a pass through to the saveSubtotalPriceInfos |
protected void |
saveOrderPriceInfo(Order order,
MutableRepositoryItem orderRepItem,
MutableRepository mutRep,
OrderManager orderManager)
This method saves the OrderPriceInfo object in the Order class. |
protected MutableRepositoryItem |
savePriceInfo(Order order,
CommerceIdentifier ci,
MutableRepositoryItem piRepItem,
java.lang.String repItemPropName,
AmountInfo pPriceInfo,
MutableRepository mutRep,
OrderManager orderManager)
This method saves an individual PriceInfo object. |
protected void |
savePricingAdjustments(Order order,
AmountInfo pPriceInfo,
MutableRepositoryItem mutItem,
MutableRepository mutRep,
OrderManager orderManager)
This method saves a List of PricingAdjustment objects in an AmountInfo. |
protected void |
saveShippingItemsSubtotalPriceInfos(Order order,
AmountInfo pPriceInfo,
MutableRepositoryItem mutItem,
MutableRepository mutRep,
OrderManager orderManager)
This method is a pass through to the saveSubtotalPriceInfos |
protected void |
saveShippingItemsTaxPriceInfos(Order order,
AmountInfo pPriceInfo,
MutableRepositoryItem mutItem,
MutableRepository mutRep,
OrderManager orderManager)
This method saves a Map of ShippingItemsTaxPriceInfos objects into the repository See the savedProperties for a list
of properties that are copied |
protected void |
saveShippingPriceInfo(Order order,
ShippingGroup group,
MutableRepositoryItem groupRepItem,
MutableRepository mutRep,
OrderManager orderManager)
This method saves a ShippingPriceInfo object. |
protected void |
saveSubSkuPriceInfo(Order order,
CommerceItem cItem,
MutableRepositoryItem configRepItem,
MutableRepository mutRep,
OrderManager orderManager)
This method saves ItemPriceInfo objects for skus of a configurable sku. |
protected void |
saveSubtotalPriceInfos(Order order,
AmountInfo pPriceInfo,
MutableRepositoryItem mutItem,
MutableRepository mutRep,
OrderManager orderManager,
java.lang.String pPropertyName)
This method saves a Map of (shipping group -> price info) objects into the repository See the savedProperties for a list
of properties that are copied |
protected void |
saveTaxableShippingItemsSubtotalPriceInfos(Order order,
AmountInfo pPriceInfo,
MutableRepositoryItem mutItem,
MutableRepository mutRep,
OrderManager orderManager)
This method is a pass through to the saveSubtotalPriceInfos |
protected void |
saveTaxPriceInfo(Order order,
MutableRepositoryItem orderRepItem,
MutableRepository mutRep,
OrderManager orderManager)
This method saves the TaxPriceInfo object in the Order class. |
void |
setAdjustmentsProperty(java.lang.String pAdjustmentsProperty)
Sets the adjustmentsProperty |
void |
setCurrentPriceDetailsProperty(java.lang.String pCurrentPriceDetailsProperty)
Sets the currentPriceDetailsProperty |
void |
setDefaultSaveMode(java.lang.String pDefaultSaveMode)
The saveMode to be used for orders that do not have a corresponding entry in orderStateSaveModes |
void |
setDetailedItemPriceInfoDescName(java.lang.String pDetailedItemPriceInfoDescName)
Sets the detailedItemPriceInfoDescName |
void |
setDetailedItemPriceInfoProperties(java.lang.String[] pDetailedItemPriceInfoProperties)
Sets the detailedItemPriceInfoProperties |
void |
setDetailsRangeProperties(java.lang.String[] pDetailsRangeProperties)
|
void |
setItemPriceInfoProperty(java.lang.String pItemPriceInfoProperty)
Sets the itemPriceInfoProperty |
void |
setLoggingIdentifier(java.lang.String pLoggingIdentifier)
Sets property LoggingIdentifier |
void |
setNonTaxableShippingItemsSubtotalPriceInfosProperty(java.lang.String pNonTaxableShippingItemsSubtotalPriceInfosProperty)
Sets property NonTaxableShippingItemsSubtotalPriceInfosProperty |
void |
setOrderPriceInfoDescName(java.lang.String pOrderPriceInfoDescName)
Sets property orderPriceInfoDescName |
void |
setOrderPriceInfoProperty(java.lang.String pOrderPriceInfoProperty)
Sets the orderPriceInfoProperty |
void |
setOrderStateSaveModes(java.util.Map pOrderStateSaveModes)
Mapping of order states to the "saveMode" that indicates the level of pricing information that should be saved for an order in that state. |
void |
setPricingAdjustmentDescName(java.lang.String pPricingAdjustmentDescName)
Sets the pricingAdjustmentDescName |
void |
setPricingAdjustmentProperties(java.lang.String[] pPricingAdjustmentProperties)
Sets the pricingAdjustmentProperties |
void |
setSavePriceInfosInIncompleteOrders(boolean pSavePriceInfosInIncompleteOrders)
Deprecated. Use orderStateSaveModes instead |
void |
setShippingItemsSubtotalPriceInfosProperty(java.lang.String pShippingItemsSubtotalPriceInfosProperty)
Sets property ShippingItemsSubtotalPriceInfosProperty |
void |
setShippingItemsTaxPriceInfosProperty(java.lang.String pShippingItemsTaxPriceInfosProperty)
Sets property ShippingItemsTaxPriceInfosProperty |
void |
setShippingPriceInfoProperty(java.lang.String pShippingPriceInfoProperty)
Sets the shippingPriceInfoProperty |
void |
setTaxableShippingItemsSubtotalPriceInfosProperty(java.lang.String pTaxableShippingItemsSubtotalPriceInfosProperty)
Sets property TaxableShippingItemsSubtotalPriceInfosProperty |
void |
setTaxPriceInfoDescName(java.lang.String pTaxPriceInfoDescName)
Sets property taxPriceInfoDescName |
void |
setTaxPriceInfoProperty(java.lang.String pTaxPriceInfoProperty)
Sets the taxPriceInfoProperty |
protected void |
verifySaveModes()
Verify that each of the saveModes in orderStateSaveModes, and defaultSaveMode, are valid saveModes |
protected void |
writeProperties(Order order,
java.lang.String[] propertyList,
java.lang.Object obj,
MutableRepositoryItem mutItem,
MutableRepository mutRep,
OrderManager orderManager)
This method saves a List of properties to a repository item. |
Methods inherited from class atg.commerce.order.processor.SavedProperties |
---|
getMappedPropertyName, getPropertyDescriptorToBeanPropertyMap, getSaveChangedPropertiesOnly, getSavedProperties, setPropertyDescriptorToBeanPropertyMap, setSaveChangedPropertiesOnly, setSavedProperties |
Methods inherited from class atg.nucleus.logging.VariableArgumentApplicationLoggingImpl |
---|
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarning |
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
protected static final java.lang.String ALL
protected static final java.lang.String ALL_NO_AUDIT
protected static final java.lang.String ORDER
protected static final java.lang.String ORDER_NO_AUDIT
protected static final java.lang.String NONE
protected static final java.lang.String[] VALID_SAVE_MODES
protected boolean mVerifiedSaveModes
Constructor Detail |
---|
public ProcSavePriceInfoObjects()
Method Detail |
---|
public int[] getRetCodes()
getRetCodes
in interface PipelineProcessor
public boolean getSavePriceInfosInIncompleteOrders()
public void setSavePriceInfosInIncompleteOrders(boolean pSavePriceInfosInIncompleteOrders)
pSavePriceInfosInIncompleteOrders
- the value to set for property savePriceInfosInIncompleteOrderspublic java.util.Map getOrderStateSaveModes()
public void setOrderStateSaveModes(java.util.Map pOrderStateSaveModes)
pOrderStateSaveModes
- mapping of order states to the "saveMode" that
indicates the level of pricing information that should be saved for an
order in that state.public java.lang.String getDefaultSaveMode()
public void setDefaultSaveMode(java.lang.String pDefaultSaveMode)
pDefaultSaveMode
- he saveMode to be used for orders that do not
have a corresponding entry in orderStateSaveModespublic java.lang.String[] getPricingAdjustmentProperties()
public void setPricingAdjustmentProperties(java.lang.String[] pPricingAdjustmentProperties)
public java.lang.String[] getDetailedItemPriceInfoProperties()
public void setDetailedItemPriceInfoProperties(java.lang.String[] pDetailedItemPriceInfoProperties)
public java.lang.String getAdjustmentsProperty()
public void setAdjustmentsProperty(java.lang.String pAdjustmentsProperty)
public java.lang.String getCurrentPriceDetailsProperty()
public void setCurrentPriceDetailsProperty(java.lang.String pCurrentPriceDetailsProperty)
public java.lang.String getOrderPriceInfoProperty()
public void setOrderPriceInfoProperty(java.lang.String pOrderPriceInfoProperty)
public java.lang.String getTaxPriceInfoProperty()
public void setTaxPriceInfoProperty(java.lang.String pTaxPriceInfoProperty)
public java.lang.String getShippingPriceInfoProperty()
public void setShippingPriceInfoProperty(java.lang.String pShippingPriceInfoProperty)
public java.lang.String getItemPriceInfoProperty()
public void setItemPriceInfoProperty(java.lang.String pItemPriceInfoProperty)
public java.lang.String getShippingItemsSubtotalPriceInfosProperty()
public void setShippingItemsSubtotalPriceInfosProperty(java.lang.String pShippingItemsSubtotalPriceInfosProperty)
pShippingItemsSubtotalPriceInfosProperty
- the value to set for property ShippingItemsSubtotalPriceInfosPropertypublic java.lang.String getTaxableShippingItemsSubtotalPriceInfosProperty()
public void setTaxableShippingItemsSubtotalPriceInfosProperty(java.lang.String pTaxableShippingItemsSubtotalPriceInfosProperty)
pTaxableShippingItemsSubtotalPriceInfosProperty
- the value to set for property TaxableShippingItemsSubtotalPriceInfosPropertypublic java.lang.String getNonTaxableShippingItemsSubtotalPriceInfosProperty()
public void setNonTaxableShippingItemsSubtotalPriceInfosProperty(java.lang.String pNonTaxableShippingItemsSubtotalPriceInfosProperty)
pNonTaxableShippingItemsSubtotalPriceInfosProperty
- the value to set for property NonTaxableShippingItemsSubtotalPriceInfosPropertypublic java.lang.String getShippingItemsTaxPriceInfosProperty()
public void setShippingItemsTaxPriceInfosProperty(java.lang.String pShippingItemsTaxPriceInfosProperty)
pShippingItemsTaxPriceInfosProperty
- the value to set for property ShippingItemsTaxPriceInfosPropertypublic java.lang.String getOrderPriceInfoDescName()
public void setOrderPriceInfoDescName(java.lang.String pOrderPriceInfoDescName)
pOrderPriceInfoDescName
- the value to set for property orderPriceInfoDescNamepublic java.lang.String getTaxPriceInfoDescName()
public void setTaxPriceInfoDescName(java.lang.String pTaxPriceInfoDescName)
pTaxPriceInfoDescName
- the value to set for property taxPriceInfoDescNamepublic java.lang.String getDetailedItemPriceInfoDescName()
public void setDetailedItemPriceInfoDescName(java.lang.String pDetailedItemPriceInfoDescName)
public java.lang.String getPricingAdjustmentDescName()
public void setPricingAdjustmentDescName(java.lang.String pPricingAdjustmentDescName)
public void setDetailsRangeProperties(java.lang.String[] pDetailsRangeProperties)
public java.lang.String[] getDetailsRangeProperties()
public void setLoggingIdentifier(java.lang.String pLoggingIdentifier)
setLoggingIdentifier
in class ApplicationLoggingImpl
public java.lang.String getLoggingIdentifier()
getLoggingIdentifier
in class ApplicationLoggingImpl
public int runProcess(java.lang.Object pParam, PipelineResult pResult) throws java.lang.Exception
runProcess
in interface PipelineProcessor
pParam
- a HashMap which must contain an Order, OrderRepository, and OrderManager objectpResult
- a PipelineResult object which stores any information which must
be returned from this method invokation
java.lang.Exception
- throws any exception back to the callerPipelineProcessor.runProcess(Object, PipelineResult)
,
AmountInfo
,
OrderPriceInfo
,
ItemPriceInfo
,
ShippingPriceInfo
,
TaxPriceInfo
protected void saveOrderPriceInfo(Order order, MutableRepositoryItem orderRepItem, MutableRepository mutRep, OrderManager orderManager) throws RepositoryException, java.beans.IntrospectionException, PropertyNotFoundException, CommerceException
order
- The order being savedorderRepItem
- The repository item corresponding to the ordermutRep
- The repository where the order is being savedorderManager
- The OrderManager from the pipeline params
RepositoryException
java.beans.IntrospectionException
PropertyNotFoundException
CommerceException
savePriceInfo(atg.commerce.order.Order, atg.commerce.order.CommerceIdentifier, atg.repository.MutableRepositoryItem, java.lang.String, atg.commerce.pricing.AmountInfo, atg.repository.MutableRepository, atg.commerce.order.OrderManager)
protected void saveTaxPriceInfo(Order order, MutableRepositoryItem orderRepItem, MutableRepository mutRep, OrderManager orderManager) throws RepositoryException, java.beans.IntrospectionException, PropertyNotFoundException, CommerceException
order
- The order being savedorderRepItem
- The repository item corresponding to the ordermutRep
- The repository where the order is being savedorderManager
- The OrderManager from the pipeline params
RepositoryException
java.beans.IntrospectionException
PropertyNotFoundException
CommerceException
savePriceInfo(atg.commerce.order.Order, atg.commerce.order.CommerceIdentifier, atg.repository.MutableRepositoryItem, java.lang.String, atg.commerce.pricing.AmountInfo, atg.repository.MutableRepository, atg.commerce.order.OrderManager)
protected void saveItemPriceInfo(Order order, CommerceItem cItem, MutableRepositoryItem cItemRepItem, MutableRepository mutRep, OrderManager orderManager) throws RepositoryException, java.beans.IntrospectionException, PropertyNotFoundException, CommerceException
order
- The order being savedcItem
- The commerce item objectcItemRepItem
- The repository item corresponding to the commerce itemmutRep
- The repository where the order is being savedorderManager
- The OrderManager from the pipeline params
RepositoryException
java.beans.IntrospectionException
PropertyNotFoundException
CommerceException
savePriceInfo(atg.commerce.order.Order, atg.commerce.order.CommerceIdentifier, atg.repository.MutableRepositoryItem, java.lang.String, atg.commerce.pricing.AmountInfo, atg.repository.MutableRepository, atg.commerce.order.OrderManager)
protected void saveSubSkuPriceInfo(Order order, CommerceItem cItem, MutableRepositoryItem configRepItem, MutableRepository mutRep, OrderManager orderManager) throws RepositoryException, java.beans.IntrospectionException, PropertyNotFoundException, CommerceException
order
- The order being savedcItem
- The configurable commerce item whose price is being savedconfigRepItem
- The repository item corresponding to the commerce itemmutRep
- The repository where the order is being savedorderManager
- The OrderManager from the pipeline params
RepositoryException
java.beans.IntrospectionException
PropertyNotFoundException
CommerceException
savePriceInfo(atg.commerce.order.Order, atg.commerce.order.CommerceIdentifier, atg.repository.MutableRepositoryItem, java.lang.String, atg.commerce.pricing.AmountInfo, atg.repository.MutableRepository, atg.commerce.order.OrderManager)
protected void saveShippingPriceInfo(Order order, ShippingGroup group, MutableRepositoryItem groupRepItem, MutableRepository mutRep, OrderManager orderManager) throws RepositoryException, java.beans.IntrospectionException, PropertyNotFoundException, CommerceException
order
- The order being savedgroup
- The shipping group whose price is being savedgroupRepItem
- The repository item corresponding to the shipping groupmutRep
- The repository where the order is being savedorderManager
- The OrderManager from the pipeline params
RepositoryException
java.beans.IntrospectionException
PropertyNotFoundException
CommerceException
savePriceInfo(atg.commerce.order.Order, atg.commerce.order.CommerceIdentifier, atg.repository.MutableRepositoryItem, java.lang.String, atg.commerce.pricing.AmountInfo, atg.repository.MutableRepository, atg.commerce.order.OrderManager)
protected MutableRepositoryItem savePriceInfo(Order order, CommerceIdentifier ci, MutableRepositoryItem piRepItem, java.lang.String repItemPropName, AmountInfo pPriceInfo, MutableRepository mutRep, OrderManager orderManager) throws RepositoryException, java.beans.IntrospectionException, PropertyNotFoundException, CommerceException
order
- The order being savedci
- The commerce object whose price info is being savedpiRepItem
- The repository item corresponding to the commerce objectrepItemPropName
- The property of piRepItem that stores the price infopPriceInfo
- The price info object that will be saved to piRepItem.repItemPropNamemutRep
- The repository where the order is being savedorderManager
- The OrderManager from the pipeline params
RepositoryException
java.beans.IntrospectionException
PropertyNotFoundException
CommerceException
writeProperties(atg.commerce.order.Order, java.lang.String[], java.lang.Object, atg.repository.MutableRepositoryItem, atg.repository.MutableRepository, atg.commerce.order.OrderManager)
,
savePricingAdjustments(atg.commerce.order.Order, atg.commerce.pricing.AmountInfo, atg.repository.MutableRepositoryItem, atg.repository.MutableRepository, atg.commerce.order.OrderManager)
,
saveDetailedItemPriceInfos(atg.commerce.order.Order, atg.commerce.pricing.AmountInfo, atg.repository.MutableRepositoryItem, atg.repository.MutableRepository, atg.commerce.order.OrderManager)
,
saveShippingItemsSubtotalPriceInfos(atg.commerce.order.Order, atg.commerce.pricing.AmountInfo, atg.repository.MutableRepositoryItem, atg.repository.MutableRepository, atg.commerce.order.OrderManager)
,
saveTaxableShippingItemsSubtotalPriceInfos(atg.commerce.order.Order, atg.commerce.pricing.AmountInfo, atg.repository.MutableRepositoryItem, atg.repository.MutableRepository, atg.commerce.order.OrderManager)
,
saveNonTaxableShippingItemsSubtotalPriceInfos(atg.commerce.order.Order, atg.commerce.pricing.AmountInfo, atg.repository.MutableRepositoryItem, atg.repository.MutableRepository, atg.commerce.order.OrderManager)
,
saveShippingItemsTaxPriceInfos(atg.commerce.order.Order, atg.commerce.pricing.AmountInfo, atg.repository.MutableRepositoryItem, atg.repository.MutableRepository, atg.commerce.order.OrderManager)
protected void saveShippingItemsSubtotalPriceInfos(Order order, AmountInfo pPriceInfo, MutableRepositoryItem mutItem, MutableRepository mutRep, OrderManager orderManager) throws RepositoryException, java.beans.IntrospectionException, PropertyNotFoundException, CommerceException
saveSubtotalPriceInfos method. It passes in the
shippingItemsSubtotalPriceInfosProperty
value as
the property name
- Throws:
RepositoryException
java.beans.IntrospectionException
PropertyNotFoundException
CommerceException
- See Also:
saveSubtotalPriceInfos(atg.commerce.order.Order, atg.commerce.pricing.AmountInfo, atg.repository.MutableRepositoryItem, atg.repository.MutableRepository, atg.commerce.order.OrderManager, java.lang.String)
protected void saveTaxableShippingItemsSubtotalPriceInfos(Order order, AmountInfo pPriceInfo, MutableRepositoryItem mutItem, MutableRepository mutRep, OrderManager orderManager) throws RepositoryException, java.beans.IntrospectionException, PropertyNotFoundException, CommerceException
saveSubtotalPriceInfos method. It passes in the
taxableShippingItemsSubtotalPriceInfosProperty
value as
the property name
- Throws:
RepositoryException
java.beans.IntrospectionException
PropertyNotFoundException
CommerceException
- See Also:
saveSubtotalPriceInfos(atg.commerce.order.Order, atg.commerce.pricing.AmountInfo, atg.repository.MutableRepositoryItem, atg.repository.MutableRepository, atg.commerce.order.OrderManager, java.lang.String)
protected void saveNonTaxableShippingItemsSubtotalPriceInfos(Order order, AmountInfo pPriceInfo, MutableRepositoryItem mutItem, MutableRepository mutRep, OrderManager orderManager) throws RepositoryException, java.beans.IntrospectionException, PropertyNotFoundException, CommerceException
saveSubtotalPriceInfos method. It passes in the
nonTaxableShippingItemsSubtotalPriceInfosProperty
value as
the property name
- Throws:
RepositoryException
java.beans.IntrospectionException
PropertyNotFoundException
CommerceException
- See Also:
saveSubtotalPriceInfos(atg.commerce.order.Order, atg.commerce.pricing.AmountInfo, atg.repository.MutableRepositoryItem, atg.repository.MutableRepository, atg.commerce.order.OrderManager, java.lang.String)
protected void saveSubtotalPriceInfos(Order order, AmountInfo pPriceInfo, MutableRepositoryItem mutItem, MutableRepository mutRep, OrderManager orderManager, java.lang.String pPropertyName) throws RepositoryException, java.beans.IntrospectionException, PropertyNotFoundException, CommerceException
savedProperties
for a list
of properties that are copied
order
- The order being loadedpPriceInfo
- The amount info being savedmutItem
- The repository item for the pPriceInfomutRep
- The repository being updatedorderManager
- The OrderManager in the pipeline paramspPropertyName
- The name of the map to load
RepositoryException
java.beans.IntrospectionException
PropertyNotFoundException
CommerceException
writeProperties(atg.commerce.order.Order, java.lang.String[], java.lang.Object, atg.repository.MutableRepositoryItem, atg.repository.MutableRepository, atg.commerce.order.OrderManager)
,
savePricingAdjustments(atg.commerce.order.Order, atg.commerce.pricing.AmountInfo, atg.repository.MutableRepositoryItem, atg.repository.MutableRepository, atg.commerce.order.OrderManager)
,
saveDetailedItemPriceInfos(atg.commerce.order.Order, atg.commerce.pricing.AmountInfo, atg.repository.MutableRepositoryItem, atg.repository.MutableRepository, atg.commerce.order.OrderManager)
protected void saveShippingItemsTaxPriceInfos(Order order, AmountInfo pPriceInfo, MutableRepositoryItem mutItem, MutableRepository mutRep, OrderManager orderManager) throws RepositoryException, java.beans.IntrospectionException, PropertyNotFoundException, CommerceException
savedProperties
for a list
of properties that are copied
order
- The order being loadedpPriceInfo
- The amount info being savedmutItem
- The repository item for the pPriceInfomutRep
- The repository being updatedorderManager
- The OrderManager in the pipeline paramspPropertyName
- The name of the map to load
RepositoryException
java.beans.IntrospectionException
PropertyNotFoundException
CommerceException
writeProperties(atg.commerce.order.Order, java.lang.String[], java.lang.Object, atg.repository.MutableRepositoryItem, atg.repository.MutableRepository, atg.commerce.order.OrderManager)
,
savePricingAdjustments(atg.commerce.order.Order, atg.commerce.pricing.AmountInfo, atg.repository.MutableRepositoryItem, atg.repository.MutableRepository, atg.commerce.order.OrderManager)
,
saveDetailedItemPriceInfos(atg.commerce.order.Order, atg.commerce.pricing.AmountInfo, atg.repository.MutableRepositoryItem, atg.repository.MutableRepository, atg.commerce.order.OrderManager)
protected void savePricingAdjustments(Order order, AmountInfo pPriceInfo, MutableRepositoryItem mutItem, MutableRepository mutRep, OrderManager orderManager) throws RepositoryException, java.beans.IntrospectionException, PropertyNotFoundException, CommerceException
savedProperties
for a list
of properties that are copied
order
- The order being savedpPriceInfo
- The price info being savedmutItem
- The repository item corresponding to the price infomutRep
- The repository being updatedorderManager
- The OrderManager from the pipeline params
RepositoryException
java.beans.IntrospectionException
PropertyNotFoundException
CommerceException
writeProperties(atg.commerce.order.Order, java.lang.String[], java.lang.Object, atg.repository.MutableRepositoryItem, atg.repository.MutableRepository, atg.commerce.order.OrderManager)
protected void saveDetailedItemPriceInfos(Order order, AmountInfo pPriceInfo, MutableRepositoryItem mutItem, MutableRepository mutRep, OrderManager orderManager) throws RepositoryException, java.beans.IntrospectionException, PropertyNotFoundException, CommerceException
detailedItemPriceInfoProperties
for a list
of properties that are copied
order
- The order being loadedamtInfo
- The amount info for the commerce itempiRepItem
- The repository item for the amount infoorderManager
- The OrderManager in the pipeline paramsinvalidateCache
- If true, then each pricing adjustment repository cache
entry is invalidated
RepositoryException
java.beans.IntrospectionException
PropertyNotFoundException
CommerceException
writeProperties(atg.commerce.order.Order, java.lang.String[], java.lang.Object, atg.repository.MutableRepositoryItem, atg.repository.MutableRepository, atg.commerce.order.OrderManager)
,
savePricingAdjustments(atg.commerce.order.Order, atg.commerce.pricing.AmountInfo, atg.repository.MutableRepositoryItem, atg.repository.MutableRepository, atg.commerce.order.OrderManager)
,
saveDetailedRange(atg.commerce.order.Order, atg.commerce.pricing.DetailedItemPriceInfo, atg.repository.MutableRepositoryItem, atg.repository.MutableRepository, atg.commerce.order.OrderManager)
protected void writeProperties(Order order, java.lang.String[] propertyList, java.lang.Object obj, MutableRepositoryItem mutItem, MutableRepository mutRep, OrderManager orderManager) throws RepositoryException, java.beans.IntrospectionException, CommerceException
order
- The order being loadedpropertyList
- The list of properties to writeobj
- The object that each property is copied frommutItem
- The repository item that each property is copied intomutRep
- The repository that is updatedorderManager
- The OrderManager in the pipeline params
RepositoryException
java.beans.IntrospectionException
CommerceException
protected void saveDetailedRange(Order pOrder, DetailedItemPriceInfo pDetail, MutableRepositoryItem pDetMutItem, MutableRepository pMutRep, OrderManager pOrderManager) throws RepositoryException, java.beans.IntrospectionException, PropertyNotFoundException, CommerceException
detailsRangeProperties
for a list
of properties that are copied
pOrder
- The order being loadedpDetail
- The detailed item price being loadedpDetMutItem
- The repository item corresponding to the detailpMutRep
- The repository that is updatedpOrderManager
- The order manager in the pipeline params
RepositoryException
java.beans.IntrospectionException
PropertyNotFoundException
CommerceException
writeProperties(atg.commerce.order.Order, java.lang.String[], java.lang.Object, atg.repository.MutableRepositoryItem, atg.repository.MutableRepository, atg.commerce.order.OrderManager)
protected void verifySaveModes() throws CommerceException
CommerceException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |