public class ProcSavePriceInfoObjects extends SavedProperties implements PipelineProcessor
AmountInfo,
OrderPriceInfo,
ItemPriceInfo,
ShippingPriceInfo,
TaxPriceInfo| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ALL
The possible "saveModes" for saving the PriceInfo objects:
ALL - Saves all PriceInfo objects associated with the order.
|
static java.lang.String |
ALL_NO_AUDIT |
static java.lang.String |
CLASS_VERSION
Class version string
|
protected boolean |
mVerifiedSaveModes |
static java.lang.String |
NONE |
static java.lang.String |
ORDER |
static java.lang.String |
ORDER_NO_AUDIT |
protected static java.lang.String[] |
VALID_SAVE_MODES |
ORDER_PROPERTY, TYPE_PROPERTYSTOP_CHAIN_EXECUTION, STOP_CHAIN_EXECUTION_AND_COMMIT, STOP_CHAIN_EXECUTION_AND_ROLLBACKDEFAULT_LOG_TRACE_STATUSDEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS| Constructor and Description |
|---|
ProcSavePriceInfoObjects() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addProperties(Order order,
java.lang.String[] propertyList,
java.lang.Object obj,
MutableRepositoryItem mutItem,
MutableRepository mutRep,
OrderManager orderManager) |
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()
Deprecated.
Use orderStateSaveModes instead
|
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
|
boolean |
isSaveOrderPriceInfo(java.lang.String pOrderState)
Returns true if the order price info will be saved for the given order state.
|
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 |
writeItemToRepository(Order order,
MutableRepository mutRep,
MutableRepositoryItem mutItem)
Update a given repository with the item passed in.
|
protected void |
writeProperties(Order pOrder,
java.util.Map<java.lang.String[],java.lang.Object> pPropertyListToSourceObject,
MutableRepositoryItem pItemToCopyTo,
MutableRepository pMutRep,
OrderManager pOrderManager)
This method saves a List of properties to a repository item, allowing for more than one source object.
|
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.
|
getMappedPropertyName, getPropertyDescriptorToBeanPropertyMap, getSaveChangedPropertiesOnly, getSavedProperties, setPropertyDescriptorToBeanPropertyMap, setSaveChangedPropertiesOnly, setSavedPropertiesaddGlobalLogListeners, addLogListener, getLoggingForVlogging, getLoggingIdentifer, getLogListenerCount, getLogListeners, initializeFromServiceEvent, isAutoInitListeners, isLoggingDebug, isLoggingError, isLoggingInfo, isLoggingTrace, isLoggingWarning, logDebug, logDebug, logDebug, logError, logError, logError, logInfo, logInfo, logInfo, logTrace, logTrace, logTrace, logWarning, logWarning, logWarning, removeLogListener, sendLogEvent, setAutoInitListeners, setLoggingDebug, setLoggingError, setLoggingInfo, setLoggingTrace, setLoggingWarningvlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarningpublic static java.lang.String CLASS_VERSION
public static final java.lang.String ALL
public static final java.lang.String ALL_NO_AUDIT
public static final java.lang.String ORDER
public static final java.lang.String ORDER_NO_AUDIT
public static final java.lang.String NONE
protected static final java.lang.String[] VALID_SAVE_MODES
protected boolean mVerifiedSaveModes
public int[] getRetCodes()
getRetCodes in interface PipelineProcessorpublic 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 ApplicationLoggingImplpublic java.lang.String getLoggingIdentifier()
getLoggingIdentifier in class ApplicationLoggingImplpublic boolean isSaveOrderPriceInfo(java.lang.String pOrderState)
pOrderState - The order statepublic int runProcess(java.lang.Object pParam,
PipelineResult pResult)
throws java.lang.Exception
runProcess in interface PipelineProcessorpParam - 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 invokationjava.lang.Exception - throws any exception back to the callerPipelineProcessor.runProcess(Object, PipelineResult),
AmountInfo,
OrderPriceInfo,
ItemPriceInfo,
ShippingPriceInfo,
TaxPriceInfoprotected 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 paramsRepositoryExceptionjava.beans.IntrospectionExceptionPropertyNotFoundExceptionCommerceExceptionsavePriceInfo(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 paramsRepositoryExceptionjava.beans.IntrospectionExceptionPropertyNotFoundExceptionCommerceExceptionsavePriceInfo(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 paramsRepositoryExceptionjava.beans.IntrospectionExceptionPropertyNotFoundExceptionCommerceExceptionsavePriceInfo(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 paramsRepositoryExceptionjava.beans.IntrospectionExceptionPropertyNotFoundExceptionCommerceExceptionsavePriceInfo(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 paramsRepositoryExceptionjava.beans.IntrospectionExceptionPropertyNotFoundExceptionCommerceExceptionsavePriceInfo(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 paramsRepositoryExceptionjava.beans.IntrospectionExceptionPropertyNotFoundExceptionCommerceExceptionwriteProperties(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 nameRepositoryExceptionjava.beans.IntrospectionExceptionPropertyNotFoundExceptionCommerceExceptionsaveSubtotalPriceInfos(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 nameRepositoryExceptionjava.beans.IntrospectionExceptionPropertyNotFoundExceptionCommerceExceptionsaveSubtotalPriceInfos(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 nameRepositoryExceptionjava.beans.IntrospectionExceptionPropertyNotFoundExceptionCommerceExceptionsaveSubtotalPriceInfos(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 copiedorder - 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 loadRepositoryExceptionjava.beans.IntrospectionExceptionPropertyNotFoundExceptionCommerceExceptionwriteProperties(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 copiedorder - The order being loadedpPriceInfo - The amount info being savedmutItem - The repository item for the pPriceInfomutRep - The repository being updatedorderManager - The OrderManager in the pipeline paramsRepositoryExceptionjava.beans.IntrospectionExceptionPropertyNotFoundExceptionCommerceExceptionwriteProperties(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 copiedorder - 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 paramsRepositoryExceptionjava.beans.IntrospectionExceptionPropertyNotFoundExceptionCommerceExceptionwriteProperties(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 copiedorder - The order being loadedpPriceInfo - The amount info for the commerce itemmutItem - The repository item for the price infomutRep - The repository for the price infoorderManager - The OrderManager in the pipeline paramsRepositoryExceptionjava.beans.IntrospectionExceptionPropertyNotFoundExceptionCommerceExceptionwriteProperties(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 addProperties(Order order, java.lang.String[] propertyList, java.lang.Object obj, MutableRepositoryItem mutItem, MutableRepository mutRep, OrderManager orderManager) throws RepositoryException, java.beans.IntrospectionException, CommerceException
RepositoryExceptionjava.beans.IntrospectionExceptionCommerceExceptionprotected void writeItemToRepository(Order order, MutableRepository mutRep, MutableRepositoryItem mutItem) throws RepositoryException, java.beans.IntrospectionException, CommerceException
order - - The order associated with the item we are writing to the repository.mutRep - - the repository we are writing tomutItem - - the item we are writingRepositoryExceptionjava.beans.IntrospectionExceptionCommerceExceptionprotected 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 paramsRepositoryExceptionjava.beans.IntrospectionExceptionCommerceExceptionprotected void writeProperties(Order pOrder, java.util.Map<java.lang.String[],java.lang.Object> pPropertyListToSourceObject, MutableRepositoryItem pItemToCopyTo, MutableRepository pMutRep, OrderManager pOrderManager) throws RepositoryException, java.beans.IntrospectionException, CommerceException
pOrder - The order being loadedpPropertyListToSourceObject - A map of property lists to copy and their associated source objectspMutItem - The repository item that each property is copied intopMutRep - The repository that is being updatedpOrderManager - The OrderManager in the pipeline paramsRepositoryExceptionjava.beans.IntrospectionExceptionCommerceExceptionprotected 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 copiedpOrder - 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 paramsRepositoryExceptionjava.beans.IntrospectionExceptionPropertyNotFoundExceptionCommerceExceptionwriteProperties(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