public class OrderIsAppeasableDroplet
extends atg.servlet.DynamoServlet
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
static atg.nucleus.naming.ParameterName |
ERROR
oparam rendered once with the result
|
static java.lang.String |
ERROR_MESSAGE
The following is the parameter available in error oparam
|
static atg.nucleus.naming.ParameterName |
FALSE |
protected atg.commerce.csr.order.appeasement.AppeasementManager |
mAppeasementManager |
protected CSRAgentTools |
mCSRAgentTools |
static atg.nucleus.naming.ParameterName |
ORDER_ID |
protected static java.util.ResourceBundle |
sResourceBundle |
static atg.nucleus.naming.ParameterName |
TRUE
oparam rendered once with the result
|
Constructor and Description |
---|
OrderIsAppeasableDroplet() |
Modifier and Type | Method and Description |
---|---|
atg.commerce.csr.order.appeasement.AppeasementManager |
getAppeasementManager()
Returns the AppeasementManager object
|
CSRAgentTools |
getCSRAgentTools() |
boolean |
orderIsAppeasable(atg.commerce.order.Order pOrder)
Given an order, this method determines whether the order appeasable.
|
void |
service(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
Returns the boolean value
true if there is any appeasement in PENDING status
for the selected order, and false otherwise |
void |
setAppeasementManager(atg.commerce.csr.order.appeasement.AppeasementManager pAppeasementManager)
Sets the AppeasementManager object
|
void |
setCSRAgentTools(CSRAgentTools pCSRAgentTools)
Sets the property CSRAgentTools.
|
doDelete, doGet, doPost, doPut, getParameter, getParameters, getServletContext, init, service, service, setParameter
destroy, getServletConfig, getServletInfo, setServletInfo
getAverageRequestHandlingTime, getHandledRequestCount, getRequestStartTime, getTotalRequestHandlingTime, isKeepingStatistics, notifyHandledRequest, resetStatistics, setKeepingStatistics
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
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarning
public static final java.lang.String CLASS_VERSION
protected static java.util.ResourceBundle sResourceBundle
public static final atg.nucleus.naming.ParameterName ORDER_ID
public static final atg.nucleus.naming.ParameterName TRUE
public static final atg.nucleus.naming.ParameterName FALSE
public static final atg.nucleus.naming.ParameterName ERROR
public static final java.lang.String ERROR_MESSAGE
protected CSRAgentTools mCSRAgentTools
protected atg.commerce.csr.order.appeasement.AppeasementManager mAppeasementManager
public void setCSRAgentTools(CSRAgentTools pCSRAgentTools)
public CSRAgentTools getCSRAgentTools()
public void setAppeasementManager(atg.commerce.csr.order.appeasement.AppeasementManager pAppeasementManager)
pAppeasementManager
- the AppeasementManager objectpublic atg.commerce.csr.order.appeasement.AppeasementManager getAppeasementManager()
public void service(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
true
if there is any appeasement in PENDING status
for the selected order, and false
otherwiseservice
in class atg.servlet.DynamoServlet
pRequest
- the request to be processedpResponse
- the response object for this requestjavax.servlet.ServletException
- for an application specific error occurred
processing this requestjava.io.IOException
- for an error occurred reading data from the request
or writing data to the response.public boolean orderIsAppeasable(atg.commerce.order.Order pOrder) throws atg.commerce.CommerceException
Any order that is not a B2B order and has been fulfilled is appeasable.
pOrder
- the orderatg.commerce.CommerceException
- if the processing fails.