|
||||||||||
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.CloneEditManager
atg.commerce.csr.order.edit.CSRCloneEditManager
public class CSRCloneEditManager
This class contains the CSR extensions to the CloneEditManager
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
|
static java.lang.String |
CONSUMED_PROMOTIONS_EXTRA_DATA_KEY
Deprecated. this key is no longer used by CSC |
protected CSRAgentTools |
mCSRAgentTools
the agent profile |
static java.lang.String |
TICKETID
the current ticket id |
Fields inherited from class atg.commerce.order.edit.CloneEditManager |
---|
CLONEDITMANAGER, CLONEEDITSTATE, CLONEORDER, CONSUMED_PROMOTIONS, mCatalogTools, mCloneEditHandlers, mInitializeEditChains, mInventoryManager, mOrderManager, mPipelineManager, mProfileTools, mReconcileOrderChains, mTransactionManager, PROMOTION_COUNTS_BEFORE_UPDATE, PROMOTION_COUPON_MAP |
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 | |
---|---|
CSRCloneEditManager()
|
Method Summary | |
---|---|
void |
addConsumablePromotion(CloneEditState pCloneEditState,
atg.repository.RepositoryItem pPromotion,
int pOrderCountWhenClaimed)
Deprecated. ConsumablePromotion objects are no longer used by CSC |
ConsumablePromotion |
createConsumablePromotion(atg.repository.RepositoryItem pPromotion,
int pOrderCountWhenClaimed)
Deprecated. ConsumablePromotion objects are no longer used by CSC |
ConsumablePromotion |
getConsumablePromotion(CloneEditState pCloneEditState,
java.lang.String pPromotionId)
Deprecated. ConsumablePromotion objects are no longer used by CSC |
protected java.util.Map |
getConsumablePromotions(CloneEditState pCloneEditState)
Deprecated. ConsumablePromotion objects are no longer used by CSC |
CSRAgentTools |
getCSRAgentTools()
|
java.lang.String |
getInitializeOrderEditChainId(atg.commerce.order.Order pOrder)
If the original order is in one of the "submitted" states defined in CSRAgentTools, then the submitted state is returned. |
java.lang.String |
getReconcileOrderChainId(atg.commerce.order.Order pOrder)
If the original order is in one of the "submitted" states defined in CSRAgentTools, then the submitted state is returned. |
atg.service.pipeline.PipelineResult |
reconcileOrder(CloneEditState pCloneEditState,
java.util.Map pExtraParameters)
Extends the base implementation to add a ticket id parameter based on the active ticket. |
void |
sendAgentEvents(CloneEditState pCloneEditState,
atg.repository.RepositoryItem pCustomerProfile,
java.lang.String pTicketId)
This method sends agent events for the changes in the order. |
void |
setCSRAgentTools(CSRAgentTools pCSRAgentTools)
Sets the property CSRAgentTools. |
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 final java.lang.String CLASS_VERSION
public static final java.lang.String CONSUMED_PROMOTIONS_EXTRA_DATA_KEY
public static final java.lang.String TICKETID
protected CSRAgentTools mCSRAgentTools
Constructor Detail |
---|
public CSRCloneEditManager()
Method Detail |
---|
public void setCSRAgentTools(CSRAgentTools pCSRAgentTools)
public CSRAgentTools getCSRAgentTools()
public void sendAgentEvents(CloneEditState pCloneEditState, atg.repository.RepositoryItem pCustomerProfile, java.lang.String pTicketId)
sendAgentEvents
method is called on each CloneEditHandler
that's an instance of AgentEventHandler
.
protected java.util.Map getConsumablePromotions(CloneEditState pCloneEditState)
pCloneEditState
-
public ConsumablePromotion getConsumablePromotion(CloneEditState pCloneEditState, java.lang.String pPromotionId)
pCloneEditState
- pPromotionId
-
public void addConsumablePromotion(CloneEditState pCloneEditState, atg.repository.RepositoryItem pPromotion, int pOrderCountWhenClaimed)
pCloneEditState
- pPromotion
- pOrderCountWhenClaimed
- the number of times the promotion appears in the order
when it was claimed. This value can be used later to determine if the promotion should
be consumed, if the current count is still the same during reconciliationpublic ConsumablePromotion createConsumablePromotion(atg.repository.RepositoryItem pPromotion, int pOrderCountWhenClaimed)
public java.lang.String getReconcileOrderChainId(atg.commerce.order.Order pOrder)
getReconcileOrderChainId
in class CloneEditManager
CloneEditManager.getReconcileOrderChains()
public java.lang.String getInitializeOrderEditChainId(atg.commerce.order.Order pOrder)
getInitializeOrderEditChainId
in class CloneEditManager
CloneEditManager.getInitializeEditChains()
public atg.service.pipeline.PipelineResult reconcileOrder(CloneEditState pCloneEditState, java.util.Map pExtraParameters) throws atg.commerce.CommerceException
reconcileOrder
in class CloneEditManager
pCloneEditState
- pExtraParameters
-
atg.commerce.CommerceException
CloneEditManager.reconcileOrder(CloneEditState, String, Map)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |