|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use CloneEditState | |
---|---|
atg.commerce.csr.order | |
atg.commerce.csr.order.edit | |
atg.commerce.csr.returns | |
atg.commerce.csr.util | |
atg.commerce.order.edit |
Uses of CloneEditState in atg.commerce.csr.order |
---|
Fields in atg.commerce.csr.order declared as CloneEditState | |
---|---|
protected CloneEditState |
CSROrderHolder.mCloneEditState
|
Methods in atg.commerce.csr.order that return CloneEditState | |
---|---|
CloneEditState |
CSROrderHolder.getCloneEditState()
Contains the CloneEditState object when editing an order that's in a "submitted" state. |
Methods in atg.commerce.csr.order with parameters of type CloneEditState | |
---|---|
void |
CSROrderHolder.setCloneEditState(CloneEditState pCloneEditState)
|
Uses of CloneEditState in atg.commerce.csr.order.edit |
---|
Methods in atg.commerce.csr.order.edit with parameters of type CloneEditState | |
---|---|
void |
CSRCloneEditManager.addConsumablePromotion(CloneEditState pCloneEditState,
atg.repository.RepositoryItem pPromotion,
int pOrderCountWhenClaimed)
Deprecated. ConsumablePromotion objects are no longer used by CSC |
protected void |
AgentCommentEditHandler.addItem(CloneEditState pCloneEditState,
AddItem pAddItem)
Extends the base behavior to change the owner property of the new item to the original order. |
ConsumablePromotion |
CSRCloneEditManager.getConsumablePromotion(CloneEditState pCloneEditState,
java.lang.String pPromotionId)
Deprecated. ConsumablePromotion objects are no longer used by CSC |
protected java.util.Map |
CSRCloneEditManager.getConsumablePromotions(CloneEditState pCloneEditState)
Deprecated. ConsumablePromotion objects are no longer used by CSC |
atg.service.pipeline.PipelineResult |
CSRCloneEditManager.reconcileOrder(CloneEditState pCloneEditState,
java.util.Map pExtraParameters)
Extends the base implementation to add a ticket id parameter based on the active ticket. |
void |
CSRCommerceItemEditHandler.sendAddItemAgentEvents(java.util.Collection pAddItems,
CloneEditState pCloneEditState,
atg.repository.RepositoryItem pCustomerProfile,
java.lang.String pTicketId)
Sends agent events for newly added commerce items |
void |
AgentCommentEditHandler.sendAgentEvents(CloneEditState pCloneEditState,
atg.repository.RepositoryItem pCustomerProfile,
java.lang.String pTicketId)
Sends the AgentEvent s for the updates
made. |
void |
AgentEventHandler.sendAgentEvents(CloneEditState pCloneEditState,
atg.repository.RepositoryItem pCustomerProfile,
java.lang.String pTicketId)
Interface for sending agent events. |
void |
CSRCloneEditManager.sendAgentEvents(CloneEditState pCloneEditState,
atg.repository.RepositoryItem pCustomerProfile,
java.lang.String pTicketId)
This method sends agent events for the changes in the order. |
void |
CSRCommerceItemEditHandler.sendAgentEvents(CloneEditState pCloneEditState,
atg.repository.RepositoryItem pCustomerProfile,
java.lang.String pTicketId)
Sends the AgentEvent s for the updates
made. |
void |
CSRManualAdjustmentEditHandler.sendAgentEvents(CloneEditState pCloneEditState,
atg.repository.RepositoryItem pCustomerProfile,
java.lang.String pTicketId)
Sends the AgentEvent s for the added and removed manual adjustments |
void |
CSRPaymentGroupEditHandler.sendAgentEvents(CloneEditState pCloneEditState,
atg.repository.RepositoryItem pCustomerProfile,
java.lang.String pTicketId)
Sends the AgentEvent s for the updates
made. |
void |
CSRShippingGroupEditHandler.sendAgentEvents(CloneEditState pCloneEditState,
atg.repository.RepositoryItem pCustomerProfile,
java.lang.String pTicketId)
Sends the AgentEvent s for the updates
made. |
void |
CSRCommerceItemEditHandler.sendDeleteItemAgentEvents(java.util.Collection pDeleteItems,
CloneEditState pCloneEditState,
atg.repository.RepositoryItem pCustomerProfile,
java.lang.String pTicketId)
Sends agent events for deleted commerce items |
void |
CSRCommerceItemEditHandler.sendUpdateItemAgentEvents(java.util.Collection pUpdateItems,
CloneEditState pCloneEditState,
atg.repository.RepositoryItem pCustomerProfile,
java.lang.String pTicketId)
Sends agent events for updated commerce items |
Uses of CloneEditState in atg.commerce.csr.returns |
---|
Methods in atg.commerce.csr.returns with parameters of type CloneEditState | |
---|---|
protected void |
ProcInitializeRAOProperties.setReturnRequestProperties(ReturnRequest pReturnRequest,
CloneEditState pCloneEditState,
java.lang.Object pParam,
atg.service.pipeline.PipelineResult pResult)
Sets properties of the ReturnRequest based on data structures generated from the cloning the original order into the Return Adjusted Order. |
protected void |
ProcInitializeRCOProperties.setReturnRequestProperties(ReturnRequest pReturnRequest,
CloneEditState pCloneEditState,
java.lang.Object pParam,
atg.service.pipeline.PipelineResult pResult)
Sets properties of the ReturnRequest based on data structures generated from the cloning the Return Adjusted Order into the Return Calculation Order. |
protected void |
ProcInitializePEOProperties.setReturnRequestProperties(ReturnRequest pReturnRequest,
CloneEditState pCloneEditState,
java.lang.Object pParam,
atg.service.pipeline.PipelineResult pResult)
Sets properties of the ReturnRequest based on data structures generated from the cloning the Return Calculation Order into the Promotion Evaluation Order. |
Uses of CloneEditState in atg.commerce.csr.util |
---|
Methods in atg.commerce.csr.util with parameters of type CloneEditState | |
---|---|
void |
CSRAgentTools.claimCouponForSubmittedOrder(CloneEditState pCloneEditState,
java.lang.String pClaimCode,
atg.commerce.order.Order pOrder,
atg.repository.RepositoryItem pCustomerProfile,
atg.repository.RepositoryItem pAgentProfile,
SubmittedOrderPricingModelHolder pSubmittedOrderPricingModelHolder,
java.lang.String pRepricingOperation,
java.util.Locale pUserLocale,
java.util.Map pExtraParametersMap)
Claims a coupon for use with an already submitted order |
Uses of CloneEditState in atg.commerce.order.edit |
---|
Methods in atg.commerce.order.edit that return CloneEditState | |
---|---|
CloneEditState |
CloneEditManager.createCloneEditStateObject()
Retuns a new CloneEditState. |
static CloneEditState |
CloneOrderStateContext.getCloneEditState()
Get the CloneEditState associated with the current thread. |
CloneEditState |
CloneEditManager.initializeOrderEdit(atg.commerce.order.Order pOrder)
Executes the pipeline chain that initializes the order edit process. |
CloneEditState |
CloneEditManager.initializeOrderEdit(atg.commerce.order.Order pOrder,
java.lang.String pChainId,
java.util.Map pExtraParameters)
|
Methods in atg.commerce.order.edit with parameters of type CloneEditState | |
---|---|
protected void |
CloneEditHandler.addAddItem(CloneEditState pCloneEditState,
AddItem pAddItem)
Adds a pAddItem to the add item map in the clone edit state. |
protected void |
CloneEditHandler.addDeleteItem(CloneEditState pCloneEditState,
DeleteItem pDeleteItem)
Adds a DeleteItem to the delete item map in the clone edit state. |
protected void |
CloneEditHandler.addItem(CloneEditState pCloneEditState,
AddItem pAddItem)
This is a noop impl |
protected void |
CollectionEditHandler.addItem(CloneEditState pCloneEditState,
AddItem pAddItem)
Reconciles the AddItem by adding the object it to
the original container's collection property. |
protected void |
CommerceItemEditHandler.addItem(CloneEditState pCloneEditState,
AddItem pAddItem)
Overrides the base impl to use the commerce item container interfaces to add the new commerce item. |
protected void |
HandlingInstructionEditHandler.addItem(CloneEditState pCloneEditState,
AddItem pAddItem)
Overrides add item to use the handling group container interfaces to add the new handling instruction. |
protected void |
ListEditHandler.addItem(CloneEditState pCloneEditState,
AddItem pAddItem)
Reconciles the AddItem by adding the object it to
the original container's list property at the ordinal position
specified in the AddItem . |
protected void |
MarkerEditHandler.addItem(CloneEditState pCloneEditState,
AddItem pAddItem)
Extends the base behavior to change the owner property of the new item to the original order. |
protected void |
PaymentGroupEditHandler.addItem(CloneEditState pCloneEditState,
AddItem pAddItem)
Overrides add item to use the payment group container interfaces to add the new item. |
protected void |
RelationshipEditHandler.addItem(CloneEditState pCloneEditState,
AddItem pAddItem)
Overrides add item to use the commerce item container interfaces to add the new item. |
protected void |
ShippingGroupEditHandler.addItem(CloneEditState pCloneEditState,
AddItem pAddItem)
Overrides the base impl to use the shipping group container interfaces to add the new shipping group. |
protected void |
CloneEditHandler.addStateData(CloneEditState pCloneEditState,
java.lang.String pKey,
java.lang.Object pStateData)
adds an object to the state map maintained by this CloneEditHandler |
protected void |
CloneEditHandler.addUpdateItem(CloneEditState pCloneEditState,
UpdateItem pUpdateItem)
Adds a UpdateItem to the update item map in the clone edit state. |
void |
CloneEditHandler.adjustCloneCommerceIdReferences(CloneEditState pCloneEditState)
This API is called once the clone order is created so each handler can update any references to commerce ids in the clone order to the clone counterpart ids. |
void |
CloneEditManager.adjustCloneCommerceIdReferences(CloneEditState pCloneEditState)
This API calls the adjustCloneCommerceIdReferences on each handler, so each handler can update any references
to commerce ids in the clone order to the clone counterpart ids. |
void |
HandlingInstructionEditHandler.adjustCloneCommerceIdReferences(CloneEditState pCloneEditState)
Adjusts the commerceItemId and shippingGroupId in eac hclone handling instruction to reference the clone commerce item and shipping group id. |
protected void |
HandlingInstructionEditHandler.adjustCloneHandlingInstructionReferences(CloneEditState pCloneEditState,
atg.commerce.order.HandlingInstruction pHandlingInstruction)
Adjusts the handling instruction's commerce item and shipping group id properties so they reference the ids of the clone objects. |
protected void |
RelationshipEditHandler.adjustCommerceItemRelationship(CloneEditState pCloneEditState,
atg.commerce.order.CommerceItemRelationship pCommerceItemRelationship)
Updates a CommerceItemRelationship so that the commerce item side of the relationship points to the original order's commerce item. |
protected void |
HandlingInstructionEditHandler.adjustHandlingInstructionReferences(CloneEditState pCloneEditState,
atg.commerce.order.HandlingInstruction pHandlingInstruction)
Changes the commerceItemId and shippingGroupId of the handling instruction to their original order counter parts. |
protected void |
RelationshipEditHandler.adjustOrderRelationship(CloneEditState pCloneEditState,
atg.commerce.order.OrderRelationship pOrderRelationship)
Updates the relationships for a payment group. |
void |
CloneEditHandler.adjustOriginalCommerceIdReferences(CloneEditState pCloneEditState)
This API is called once after the reconciliation so each handler can update any references to commerce ids in the original order to the clone counterpart ids. |
void |
CloneEditManager.adjustOriginalCommerceIdReferences(CloneEditState pCloneEditState)
This API calls the adjustOriginalCommerceIdReferences on each handler, so each handler can update any references
to commerce ids in the original order to the original counterpart ids. |
void |
HandlingInstructionEditHandler.adjustOriginalCommerceIdReferences(CloneEditState pCloneEditState)
Adjusts the commerceItemId and shippingGroupId in each original order handling instruction to reference the original commerce item and shipping group id. |
protected void |
RelationshipEditHandler.adjustPaymentGroupRelationship(CloneEditState pCloneEditState,
atg.commerce.order.PaymentGroupRelationship pPaymentGroupRelationship)
Updates a PaymentGroupRelationship so that the payment group side of the relationship points to the original order's payment group. |
protected void |
RelationshipEditHandler.adjustRelationship(CloneEditState pCloneEditState,
atg.commerce.order.Relationship pRelationship)
adjusts a relationships properites so they correspond to the original order's objects. |
protected void |
RelationshipEditHandler.adjustShippingGroupRelationship(CloneEditState pCloneEditState,
atg.commerce.order.ShippingGroupRelationship pShippingGroupRelationship)
Updates a pShippingGroupRelationship so that the shipping group side of the relationship points to the original order's shipping group. |
abstract void |
CloneEditHandler.applyChanges(CloneEditState pCloneEditState)
This method is called during the reconciliation process to reconcile the data between the original and clone object. |
void |
CloneEditManager.applyChanges(CloneEditState pCloneEditState)
Applies all the changes in the clone to the original order. |
void |
CollectionEditHandler.applyChanges(CloneEditState pCloneEditState)
This method is called during the reconciliation process to reconcile the data between the original and clone object. |
void |
HandlingInstructionEditHandler.applyChanges(CloneEditState pCloneEditState)
Extends the base behavior to update the commerce item and shipping group handling instruction references to match the original counterparts. |
void |
OrderPropertyEditHandler.applyChanges(CloneEditState pCloneEditState)
Creates a single UpdateItem for order object and calls processUpdateItems |
void |
CloneEditManager.consumePromotions(CloneEditState pCloneEditState,
atg.repository.RepositoryItem pCustomerProfile,
java.lang.String pTicketId)
Compares the promotion use counts on the original order before and after the updates were applied, and consumes each promotion that was newly applied or had its use count increased. |
protected void |
ShippingGroupEditHandler.copyShippingGroupPricingModels(CloneEditState pCloneEditState)
Copies the pricing models from the original to clone shipping groups. |
AddItem |
CloneEditHandler.createAddItem(CloneEditState pCloneEditState,
java.lang.Object pItem,
java.lang.Object pOriginalContainter,
java.lang.Object pCloneContainer,
int pOrdinalPosition,
java.lang.String pPropertyName,
boolean pAutoRecoveredItem)
Creates an AddItem object that represents an object that's been added to a container. |
AddItem |
CloneEditManager.createAddItem(CloneEditState pCloneEditState,
java.lang.Object pItem,
java.lang.Object pOriginalContainter,
java.lang.Object pCloneContainer,
int pOrdinalPosition,
java.lang.String pPropertyName,
boolean pAutoRecoveredItem)
Creates an AddItem object that represents an object that's been added to a container. |
DeleteItem |
CloneEditHandler.createDeleteItem(CloneEditState pCloneEditState,
java.lang.Object pItem,
java.lang.Object pOriginalContainter,
java.lang.Object pCloneContainer,
java.lang.String pPropertyName,
int pOrdinalPosition,
boolean pAutoDeletedItem)
Creates a DeleteItem object that represents an object that's been removed to a particular list. |
DeleteItem |
CloneEditManager.createDeleteItem(CloneEditState pCloneEditState,
java.lang.Object pItem,
java.lang.Object pOriginalContainter,
java.lang.Object pCloneContainer,
java.lang.String pPropertyName,
int pOrdinalPosition,
boolean pAutoDeletedItem)
Creates a DeleteItem object that represents an object that's been removed to a particular list. |
UpdateItem |
CloneEditHandler.createUpdateItem(CloneEditState pCloneEditState,
java.lang.Object pOriginalItem,
java.lang.Object pCloneItem,
int pOrdinalPosition,
java.lang.String pPropertyName,
java.lang.Object pOriginalContainter,
java.lang.Object pCloneContainer)
Creates an UpdateItem object that represents an updated object. |
UpdateItem |
CloneEditManager.createUpdateItem(CloneEditState pCloneEditState,
java.lang.Object pOriginalItem,
java.lang.Object pCloneItem,
int pOrdinalPosition,
java.lang.String pPropertyName,
java.lang.Object pOriginalContainter,
java.lang.Object pCloneContainer)
Creates an UpdateItem object that represents an updated object. |
protected void |
CloneEditHandler.deleteItem(CloneEditState pCloneEditState,
DeleteItem pDeleteItem)
This is a noop impl. |
protected void |
CollectionEditHandler.deleteItem(CloneEditState pCloneEditState,
DeleteItem pDeleteItem)
Reconciles the DeleteItem by deleting the original object from the
original container. |
protected void |
CommerceItemEditHandler.deleteItem(CloneEditState pCloneEditState,
DeleteItem pDeleteItem)
Overrides the base impl to use the commerce item container interfaces to remove the commerce item |
protected void |
HandlingInstructionEditHandler.deleteItem(CloneEditState pCloneEditState,
DeleteItem pDeleteItem)
Overrides delete item to use the handling instruction container interfaces to remove the item |
protected void |
PaymentGroupEditHandler.deleteItem(CloneEditState pCloneEditState,
DeleteItem pDeleteItem)
Overrides delete item to use the payment group container interfaces to remove the item |
protected void |
RelationshipEditHandler.deleteItem(CloneEditState pCloneEditState,
DeleteItem pDeleteItem)
Overrides delete item to use the relationship container interfaces to remove the relationship |
protected void |
ShippingGroupEditHandler.deleteItem(CloneEditState pCloneEditState,
DeleteItem pDeleteItem)
Overrides the base impl to use the shipping group container interfaces to remove the shipping group |
void |
CollectionEditHandler.detectChanges(CloneEditState pCloneEditState)
Detects updates, adds and deletes in the collection. |
void |
CommerceItemEditHandler.detectChanges(CloneEditState pCloneEditState)
Overrides standard list handling to walk the CommerceItemContainer chain starting at the order and walking down through each commerce item in the container. |
protected void |
CollectionEditHandler.detectChangesToCollection(CloneEditState pCloneEditState,
java.lang.Object pOriginalCollectionContainer,
java.lang.Object pCloneCollectionContainer)
Detects changes to the collections using the maps created when the CloneEditState was initialized. |
protected void |
HandlingInstructionEditHandler.detectChangesToCollection(CloneEditState pCloneEditState,
java.lang.Object pOriginalCollectionContainer,
java.lang.Object pCloneCollectionContainer)
Extends the base behavior by first getting the shipping group lists from the containers and calling super with the shipping group lists. |
protected void |
PaymentGroupEditHandler.detectChangesToCollection(CloneEditState pCloneEditState,
java.lang.Object pOriginalCollectionContainer,
java.lang.Object pCloneCollectionContainer)
After applying changes, this method resets all the the payment groups that were flagged as auto recovered in the AddItem object. |
protected void |
CommerceItemEditHandler.detectCommerceItemChanges(CloneEditState pCloneEditState,
atg.commerce.order.CommerceItemContainer pOriginalCommerceItemContainer,
atg.commerce.order.CommerceItemContainer pCloneCommerceItemContainer)
Detects changes to the commerce items in the CommerceItemContainerr. |
protected void |
CollectionEditHandler.detectDeletes(CloneEditState pCloneEditState,
java.lang.Object pOriginalContainer,
java.lang.Object pCloneContainer)
A DeleteItem object is created for each object in the original container
that was mapped to a counterpart that no longer exists in the clone container. |
protected void |
HandlingInstructionEditHandler.detectRemovedHandlingInstructions(CloneEditState pCloneEditState)
Iterates over all the handling instructions that were originally mapped and determines if any of the clone shipping groups contain the counterpart clone handling instruction . |
protected void |
HandlingInstructionEditHandler.detectUpdatesForNewShippingGroup(CloneEditState pCloneEditState,
atg.commerce.order.ShippingGroup pNewShippingGroup)
Iterates over all the new shipping groups in the clone order (e.g. |
protected void |
CollectionEditHandler.executeSubPropertyHandlerInitialization(CloneEditState pCloneEditState,
java.lang.Object pOriginalParent,
java.lang.Object pCloneParent)
Executes the initialization interface for each SubPropertyHandler attached to this
handler. |
protected void |
CollectionEditHandler.executeSubPropertyHandlerUpdates(CloneEditState pCloneEditState,
java.lang.Object pOriginalParent,
java.lang.Object pCloneParent)
Executes the update interface for each SubPropertyHandler attached to this
handler. |
protected atg.commerce.order.ShippingGroup |
HandlingInstructionEditHandler.findCloneShippingGroupForHI(CloneEditState pCloneEditState,
java.lang.String pCloneHIId)
Finds the clone shipping group that contains the given clone handling instruction |
protected java.lang.Object |
CollectionEditHandler.findCounterpartObject(CloneEditState pCloneEditState,
java.lang.Object pObject,
java.util.Collection pCounterpartCollection,
java.util.Map pCounterpartMap)
Finds the counter part object for the given object. |
protected atg.commerce.order.ShippingGroup |
HandlingInstructionEditHandler.findOriginalShippingGroupForHI(CloneEditState pCloneEditState,
java.lang.String pOriginalHIId)
Finds the original shipping group that contains the given original handling instruction |
protected atg.commerce.order.Relationship |
RelationshipEditHandler.findRelationshipsCloneCounterpart(CloneEditState pCloneEditState,
atg.commerce.order.Relationship pOriginalRelationship)
Finds the counterpart relationship to the given original relationship item |
java.util.List |
CloneEditHandler.generateModifications(CloneEditState pCloneEditState)
Generates the list of Modification objects that are sent to fulfillment |
java.util.List |
CommerceItemEditHandler.generateModifications(CloneEditState pCloneEditState)
Generates the list of Modification objects for commerce items using the AddItem ,
UpdateItem and DeleteItem objects |
java.util.List |
OrderPropertyEditHandler.generateModifications(CloneEditState pCloneEditState)
Generates Modification objects for changes in the original order's state and stateDetail properties. |
java.util.List |
PaymentGroupEditHandler.generateModifications(CloneEditState pCloneEditState)
Generates the list of Modification objects for payment groups using the AddItem and
UpdateItem objects |
java.util.List |
ShippingGroupEditHandler.generateModifications(CloneEditState pCloneEditState)
Generates the list of Modification objects for shipping groups using the AddItem and
UpdateItem objects. |
protected java.util.Map |
CloneEditHandler.getAddItems(CloneEditState pCloneEditState)
Returns the AddItem map. |
java.util.Map |
CollectionEditHandler.getCloneToOriginalMap(CloneEditState pCloneEditState)
Returns the clone to original map stored in the CloneEditState . |
protected java.util.Map |
CloneEditHandler.getDeleteItems(CloneEditState pCloneEditState)
Returns the DeleteItem clone map. |
protected java.lang.Object |
CollectionEditHandler.getMatchingCloneKey(CloneEditState pCloneEditState,
java.lang.Object pOriginalKey)
Returns the matching clone key for the given original key. |
protected java.lang.Object |
CollectionEditHandler.getMatchingOriginalKey(CloneEditState pCloneEditState,
java.lang.Object pCloneKey)
Returns the matching original key for the given clone key. |
java.util.Map |
CollectionEditHandler.getOriginalToCloneMap(CloneEditState pCloneEditState)
Returns the original to clone map stored in the CloneEditState . |
protected java.lang.Object |
CloneEditHandler.getStateData(CloneEditState pCloneEditState,
java.lang.String pKey)
gets an object from the state map maintained by this CloneEditHandler |
protected java.util.Map |
CloneEditHandler.getStateMap(CloneEditState pCloneEditState)
Gets the state data map for this clone edit handler from the CloneEditState |
protected java.util.Map |
CloneEditHandler.getUpdateItems(CloneEditState pCloneEditState)
Returns the UpdateItem clone map. |
protected boolean |
CollectionEditHandler.handleMissingOriginalObject(CloneEditState pCloneEditState,
java.lang.Object pCloneContainer,
java.lang.Object pCloneObject,
java.lang.Object pOriginalContainer,
java.lang.Object pOriginalCounterPartKey)
This API is called by detectChangesToCollection if an object in the clone container
was mapped to an original object in the original container, but the original could not be found
in the original container as expected. |
protected boolean |
HandlingInstructionEditHandler.handleMissingOriginalObject(CloneEditState pCloneEditState,
java.lang.Object pCloneContainer,
java.lang.Object pCloneObject,
java.lang.Object pOriginalContainer,
java.lang.Object pOriginalCounterPartKey)
If an original handling instruction cannot be found in original shipping group associated with the clone shipping group, it could mean the handling instruction was moved during updates to a difference clone shipping group. |
abstract void |
CloneEditHandler.initializeCloneEditState(CloneEditState pCloneEditState)
This method is called to initialize the CloneEditState object after cloning. |
void |
CollectionEditHandler.initializeCloneEditState(CloneEditState pCloneEditState)
This maps the objects in the original collection to the object in the clone collection and stores the maps in the clone edit state in the CloneEditState |
void |
CommerceItemEditHandler.initializeCloneEditState(CloneEditState pCloneEditState)
Extends the base bahavior to copy the price list property from each itemPriceInfo. |
void |
OrderPropertyEditHandler.initializeCloneEditState(CloneEditState pCloneEditState)
Copies the original pricingModels from the order's priceInfo and taxPriceInfo to the clone order's priceInfo and taxPriceInfo. |
void |
ShippingGroupEditHandler.initializeCloneEditState(CloneEditState pCloneEditState)
Extends base behavior to copy the pricing models from the original to clone shipping groups. |
void |
CloneEditManager.initializeCloneEditState(CloneEditState pCloneEditState,
atg.commerce.order.Order pOriginalOrder,
atg.commerce.order.Order pCloneOrder)
Initializes the CloneEditState using the original and clone order |
void |
CloneEditHandler.initializeReconciliationProcess(CloneEditState pCloneEditState)
Reinitializes the AddItem , UpdateItem
and DeleteItem maps in the clon edit state. |
void |
CloneEditManager.initializeReconciliationProcess(CloneEditState pCloneEditState)
Prepares the CloneEditState for the reconciliation process. |
protected boolean |
CloneEditHandler.isAddedItem(CloneEditState pCloneEditState,
java.lang.Object pKey)
Determines if an AddItem is mapped to the given key. |
protected void |
CommerceItemEditHandler.mapCloneToOriginalContainers(CloneEditState pCloneEditState,
atg.commerce.order.CommerceItemContainer pOriginalCommerceItemContainer,
atg.commerce.order.CommerceItemContainer pCloneCommerceItemContainer)
Deprecated. in favor of mapOriginalToCloneContainers |
protected void |
CollectionEditHandler.mapOriginalToClone(CloneEditState pCloneEditState,
atg.commerce.order.Order pOriginalOrder,
atg.commerce.order.Order pCloneOrder)
Maps the objects in the original collection to objects in the clone collection. |
protected void |
CommerceItemEditHandler.mapOriginalToClone(CloneEditState pCloneEditState,
atg.commerce.order.Order pOriginalOrder,
atg.commerce.order.Order pCloneOrder)
Overrides base behavior to process all the CommerceItemContainers starting with the order. |
protected void |
HandlingInstructionEditHandler.mapOriginalToClone(CloneEditState pCloneEditState,
atg.commerce.order.Order pOriginalOrder,
atg.commerce.order.Order pCloneOrder)
Overrides base behavior to process all the CommerceItemContainers starting with the order. |
protected java.util.Map |
CollectionEditHandler.mapOriginalToCloneCollection(CloneEditState pCloneEditState,
java.util.Collection pOriginalCollection,
java.util.Collection pCloneCollection)
Maps objects in the original collection to the clone collection and saves the map in the clone edit state. |
protected void |
CommerceItemEditHandler.mapOriginalToCloneContainers(CloneEditState pCloneEditState,
atg.commerce.order.CommerceItemContainer pOriginalCommerceItemContainer,
atg.commerce.order.CommerceItemContainer pCloneCommerceItemContainer)
Maps the items in the container and will recurse if any commerce items are CommerceItemContainers. |
protected void |
HandlingInstructionEditHandler.moveItem(CloneEditState pCloneEditState,
UpdateItem pUpdateItem)
This API is called by updateItem the original container specified in the UpdateItem
isn't the container that maps to the clone container and handles the move operation. |
protected void |
CommerceItemEditHandler.preserveOriginalCommerceItemValues(CloneEditState pCloneEditState,
atg.commerce.order.CommerceItemContainer pOriginalCommerceItemContainer,
atg.commerce.order.CommerceItemContainer pCloneCommerceItemContainer)
Copies values from the original commerce items to the clone items after the cloning is complete. |
protected void |
CommerceItemEditHandler.preserveOriginalValues(CloneEditState pCloneEditState)
Copies values from the original commerce items to the clone items after the cloning is complete. |
protected java.util.Map |
CommerceItemEditHandler.preserveValueForItems(CloneEditState pCloneEditState,
java.util.List pOriginalList,
java.util.List pCloneList)
Copies the priceInfo.priceList and the pricingModel of each adjustment in the price info from each original commerce item to their counterpart commerce item . |
protected void |
CloneEditHandler.processAddItems(CloneEditState pCloneEditState)
Processes each AddItem object in the clone edit state. |
void |
PaymentGroupEditHandler.processAuthorizations(CloneEditState pCloneEditState)
Performs payment group authorizations for updated and added payment groups. |
void |
PaymentGroupEditHandler.processAuthorizationsForAddedPaymentGroups(CloneEditState pCloneEditState)
Performs payment group authorizations for added payment groups. |
void |
PaymentGroupEditHandler.processAuthorizationsForDeletedPaymentGroups(CloneEditState pCloneEditState)
Decreases the authorization for the original amount of the deleted payment group. |
void |
PaymentGroupEditHandler.processAuthorizationsForUpdatedPaymentGroups(CloneEditState pCloneEditState)
Performs payment group authorizations for updated payment groups. |
protected void |
CloneEditHandler.processDeleteItems(CloneEditState pCloneEditState)
Processes each DeleteItem object in the clone edit state. |
protected void |
CloneEditHandler.processUpdateItems(CloneEditState pCloneEditState)
Processes each UpdateItem object in the clone edit state. |
void |
HandlingInstructionEditHandler.reconcileGiftlistRepository(CloneEditState pCloneEditState)
Reconciles the gift list quantity purchased for updated, added and removed giftlist handling instructions. |
protected void |
HandlingInstructionEditHandler.reconcileGiftRepositoryForAddedHIs(CloneEditState pCloneEditState)
Reconciles the gift repository based on the AddItem s generated during
reconcilication. |
protected void |
HandlingInstructionEditHandler.reconcileGiftRepositoryForDeletedHIs(CloneEditState pCloneEditState)
Reconciles the gift repository based on the DeleteItem s generated during
reconcilication. |
protected void |
HandlingInstructionEditHandler.reconcileGiftRepositoryForNewShippingGroups(CloneEditState pCloneEditState)
Reconciles the gift repository for any new gift handling instructions that may have been added to new shipping groups in the clone order. |
protected void |
HandlingInstructionEditHandler.reconcileGiftRepositoryForUpdatedHIs(CloneEditState pCloneEditState)
Reconciles the gift repository based on the UpdateItem s generated during
reconcilication. |
atg.service.pipeline.PipelineResult |
CloneEditManager.reconcileOrder(CloneEditState pCloneEditState,
java.util.Map pExtraParameters)
|
atg.service.pipeline.PipelineResult |
CloneEditManager.reconcileOrder(CloneEditState pCloneEditState,
java.lang.String pChainId,
java.util.Map pExtraParameters)
Runs the pipeline to reconcile the original order with the clone order. |
protected void |
RelationshipEditHandler.removeRelationshipFromContainers(CloneEditState pCloneEditState,
DeleteItem pDeleteItem)
Removes the deleted relationship from the containers on both sides on the relationship |
protected void |
CollectionEditHandler.saveOriginalToCloneObjectMappings(CloneEditState pCloneEditState,
java.util.Map pOriginalToCloneObjectMap)
Saves the map of originalToClone objects in the clone edit state |
void |
CloneEditHandler.sendFulfillmentNotifications(CloneEditState pCloneEditState)
This method is called to send the fulfillment messages. |
void |
CloneEditManager.sendFulfillmentNotifications(CloneEditState pCloneEditState)
Sends the ModifyOrderNotification for changes made to the original order. |
void |
CloneEditHandler.sendMessage(CloneEditState pCloneEditState,
java.util.List pModificationList)
Sends the list of modifications. |
static void |
CloneOrderStateContext.setCloneEditState(CloneEditState pCloneEditState)
Set the CloneEditState associated with the current thread. |
protected void |
CloneEditHandler.updateItem(CloneEditState pCloneEditState,
UpdateItem pUpdateItem)
Reconciles the pUpdateItem by copying
property values from the clone to original object. |
protected void |
CommerceItemEditHandler.updateItem(CloneEditState pCloneEditState,
UpdateItem pUpdateItem)
Extends updateItem to capture updates in the amountinfo object |
protected void |
HandlingInstructionEditHandler.updateItem(CloneEditState pCloneEditState,
UpdateItem pUpdateItem)
Extends the base behavior to handle the condition where the handling instruction moved from one shipping group to another. |
protected void |
OrderPropertyEditHandler.updateItem(CloneEditState pCloneEditState,
UpdateItem pUpdateItem)
Extends updateItem to capture detect in the amountinfo object |
protected void |
ShippingGroupEditHandler.updateItem(CloneEditState pCloneEditState,
UpdateItem pUpdateItem)
Extends updateItem to detect changes in the amountinfo object |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |