|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectatg.nucleus.logging.VariableArgumentApplicationLoggingImpl
atg.nucleus.GenericService
atg.commerce.order.edit.CloneEditHandler
atg.commerce.order.edit.OrderPropertyEditHandler
public class OrderPropertyEditHandler
This handler reconciles scalar properties of the order object.
| Field Summary | |
|---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
| Fields inherited from class atg.commerce.order.edit.CloneEditHandler |
|---|
mFulfillmentMessageSender, mKeyPropertyName, mOrderFulfillmentTools, mPropertiesToCopyOnUpdate, MY_RESOURCE_NAME, sResourceBundle, STATE_ADD_ITEMS, STATE_DELETE_ITEMS, STATE_UPDATE_ITEMS |
| Fields inherited from class atg.nucleus.GenericService |
|---|
SERVICE_INFO_KEY |
| 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 | |
|---|---|
OrderPropertyEditHandler()
|
|
| Method Summary | |
|---|---|
void |
applyChanges(CloneEditState pCloneEditState)
Creates a single UpdateItem for order object and calls processUpdateItems |
java.util.List |
generateModifications(CloneEditState pCloneEditState)
Generates Modification objects for changes in the original order's state and stateDetail properties. |
void |
initializeCloneEditState(CloneEditState pCloneEditState)
Copies the original pricingModels from the order's priceInfo and taxPriceInfo to the clone order's priceInfo and taxPriceInfo. |
protected void |
updateItem(CloneEditState pCloneEditState,
UpdateItem pUpdateItem)
Extends updateItem to capture detect in the amountinfo object |
void |
validateCloneOrder(atg.commerce.order.Order pOriginalOrder,
atg.commerce.order.Order pCloneOrder)
Noop impl to satisfy the abstract interface |
| Methods inherited from class atg.nucleus.GenericService |
|---|
addLogListener, createAdminServlet, doStartService, doStopService, getAbsoluteName, getAdminServlet, getAdminServletOutputStreamEncoding, getLoggingForVlogging, getLogListenerCount, getLogListeners, getName, getNameContext, getNucleus, getRoot, getServiceConfiguration, getServiceInfo, isAdminServletUseServletOutputStream, isLoggingDebug, isLoggingError, isLoggingInfo, isLoggingTrace, isLoggingWarning, isRunning, logDebug, logDebug, logDebug, logError, logError, logError, logInfo, logInfo, logInfo, logTrace, logTrace, logTrace, logWarning, logWarning, logWarning, nameContextElementBound, nameContextElementUnbound, removeLogListener, reResolveThis, resolveName, resolveName, resolveName, resolveName, sendLogEvent, setAdminServletOutputStreamEncoding, setAdminServletUseServletOutputStream, setLoggingDebug, setLoggingError, setLoggingInfo, setLoggingTrace, setLoggingWarning, setNucleus, setServiceInfo, startService, stopService |
| Methods inherited from class atg.nucleus.logging.VariableArgumentApplicationLoggingImpl |
|---|
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, 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
| Constructor Detail |
|---|
public OrderPropertyEditHandler()
| Method Detail |
|---|
public void initializeCloneEditState(CloneEditState pCloneEditState)
throws atg.commerce.CommerceException
initializeCloneEditState in class CloneEditHandleratg.commerce.CommerceExceptionCloneEditHandler.copyPricingModels(Object, Object, String)
public void applyChanges(CloneEditState pCloneEditState)
throws atg.commerce.CommerceException
applyChanges in class CloneEditHandleratg.commerce.CommerceException
protected void updateItem(CloneEditState pCloneEditState,
UpdateItem pUpdateItem)
throws atg.commerce.CommerceException
updateItem in class CloneEditHandleratg.commerce.CommerceExceptionCloneEditManager.detectUpdatesInFinalAmountInfo(Object, Object, String)public java.util.List generateModifications(CloneEditState pCloneEditState)
generateModifications in class CloneEditHandlerpCloneEditState -
public void validateCloneOrder(atg.commerce.order.Order pOriginalOrder,
atg.commerce.order.Order pCloneOrder)
throws atg.commerce.CommerceException
validateCloneOrder in class CloneEditHandleratg.commerce.CommerceException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||