|
||||||||||
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.droplet.EmptyFormHandler
atg.droplet.GenericFormHandler
atg.svc.agent.environment.EnvironmentChangeFormHandler
atg.commerce.csr.environment.ChangeOrder
atg.commerce.csr.order.DuplicateOrder
public class DuplicateOrder
This form handler is used to duplicate an order and load it as the agent's current working order.
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
protected java.util.Map |
mDuplicateOrderExcludedOrderPropertiesMap
|
protected java.util.Properties |
mDuplicateOrderExcludedProperties
|
java.lang.String |
ORDER_TO_DUPLICATE_INPUT_PARAMETER_NAME
the name of the input parameter used to pass the order to be duplicated |
Fields inherited from class atg.commerce.csr.environment.ChangeOrder |
---|
ENVRESOURCES, mCSREnvironmentTools |
Fields inherited from class atg.svc.agent.environment.EnvironmentChangeFormHandler |
---|
AGENTRESOURCES, AGENTUSERRESOURCES, mApplicationName, mDoTicketDispositionPrompt, mDoWarnings, mEnvironmentChangeKey, mEnvironmentChangeState, mEnvironmentTools, mInitChangeState, mInputParameters, mMessageTools, mTicketDispositionOptions, mTicketingTools, mTransactionManager, sBundle |
Fields inherited from class atg.droplet.GenericFormHandler |
---|
PARAM_DEFER_FORWARD_OR_REDIRECT, PARAM_USE_FORWARDS |
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 | |
---|---|
DuplicateOrder()
|
Method Summary | |
---|---|
protected atg.commerce.order.Order |
createDuplicateOrder(atg.commerce.order.Order pOrder)
Creates the duplicate copy of the order |
protected java.util.Map |
createDuplicateOrderPropExceptionsMap()
This method is a helper method which is used by the duplicateOrder method. |
java.util.Map |
getDuplicateOrderExcludedOrderPropertiesMap()
Generates an the excluded property map based on the duplicateOrderExcludedProperties property. |
java.util.Properties |
getDuplicateOrderExcludedProperties()
Returns the excluded order properties when duplicating an order |
protected boolean |
preChangeEnvironment(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
This extension creates the duplicate order for the change |
void |
setDuplicateOrderExcludedProperties(java.util.Properties pDuplicateOrderExcludedProperties)
set the property DuplicateOrderExcludedProperties |
Methods inherited from class atg.commerce.csr.environment.ChangeOrder |
---|
getCsrEnvironmentTools, postChangeEnvironment, setCsrEnvironmentTools |
Methods inherited from class atg.svc.agent.environment.EnvironmentChangeFormHandler |
---|
changeEnvironment, getApplicationName, getConfirmPromptURL, getConfirmURL, getEnvironmentChangeKey, getEnvironmentChangeState, getEnvironmentTools, getErrorURL, getInputParameters, getMessageTools, getSuccessURL, getTicketDispositionOptions, getTicketingTools, getTransactionManager, getUserLocale, getUserMessage, getUserMessage, handleChangeEnvironment, initChangeState, isDoTicketDispositionPrompt, isDoWarnings, isInitChangeState, isShowDispositionPrompt, setApplicationName, setConfirmPromptURL, setConfirmURL, setDoTicketDispositionPrompt, setDoWarnings, setEnvironmentChangeKey, setEnvironmentChangeState, setEnvironmentTools, setErrorURL, setInitChangeState, setInputParameters, setMessageTools, setSuccessURL, setTicketDispositionOptions, setTicketingTools, setTransactionManager |
Methods inherited from class atg.droplet.GenericFormHandler |
---|
addFormException, addUncheckedFormException, afterSet, beforeSet, checkFormRedirect, createFormSubmissionMessage, getCancelURL, getCheckForValidSession, getFormError, getFormExceptions, getFormName, getMessagePort, getMessageSource, getMessageType, getPropertyExceptions, getSendMessages, getUncheckedFormExceptions, handleCancel, handleFormException, handleUncheckedFormException, hasUncheckedFormExceptions, isDeferForwardsAndRedirects, isRestorableForm, isUseForwards, isValidSession, redirectOrForward, resetFormExceptions, setCancelURL, setCheckForValidSession, setDeferForwardsAndRedirects, setFormName, setMessagePort, setMessageSource, setMessageType, setRestorableForm, setSendMessages, setUseForwards |
Methods inherited from class atg.droplet.EmptyFormHandler |
---|
afterGet, beforeGet |
Methods inherited from class atg.nucleus.GenericService |
---|
addLogListener, createAdminServlet, doStartService, doStopService, getAbsoluteName, getAdminServlet, getLoggingForVlogging, getLogListenerCount, getLogListeners, getName, getNameContext, getNucleus, getRoot, getServiceConfiguration, getServiceInfo, isLoggingDebug, isLoggingError, isLoggingInfo, isLoggingTrace, isLoggingWarning, isRunning, logDebug, logDebug, logDebug, logError, logError, logError, logInfo, logInfo, logInfo, logTrace, logTrace, logTrace, logWarning, logWarning, logWarning, nameContextElementBound, nameContextElementUnbound, removeLogListener, resolveName, resolveName, resolveName, resolveName, sendLogEvent, setLoggingDebug, setLoggingError, setLoggingInfo, setLoggingTrace, setLoggingWarning, setNucleus, setServiceInfo, startService, stopService |
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 java.util.Properties mDuplicateOrderExcludedProperties
protected java.util.Map mDuplicateOrderExcludedOrderPropertiesMap
public final java.lang.String ORDER_TO_DUPLICATE_INPUT_PARAMETER_NAME
Constructor Detail |
---|
public DuplicateOrder()
Method Detail |
---|
public void setDuplicateOrderExcludedProperties(java.util.Properties pDuplicateOrderExcludedProperties)
pDuplicateOrderExcludedProperties
- the value to set for property DuplicateOrderExcludedPropertiespublic java.util.Properties getDuplicateOrderExcludedProperties()
protected java.util.Map createDuplicateOrderPropExceptionsMap()
This method returns null by default
public java.util.Map getDuplicateOrderExcludedOrderPropertiesMap()
duplicateOrderExcludedProperties
property.
protected boolean preChangeEnvironment(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
preChangeEnvironment
in class atg.svc.agent.environment.EnvironmentChangeFormHandler
javax.servlet.ServletException
java.io.IOException
protected atg.commerce.order.Order createDuplicateOrder(atg.commerce.order.Order pOrder) throws atg.commerce.CommerceException
pOrder
-
atg.commerce.CommerceException
CSRAgentTools.duplicateOrder(String, Map, Map)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |