public class ShippingGroupUpdateFormHandler extends GenericFormHandler
ShippingGroupUpdate
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CANT_SEND_SHIPPING_GROUP_UPDATE |
static java.lang.String |
CLASS_VERSION
Class version string
|
PARAM_DEFER_FORWARD_OR_REDIRECT, PARAM_USE_FORWARDS
SERVICE_INFO_KEY
DEFAULT_LOG_TRACE_STATUS
DEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS
Constructor and Description |
---|
ShippingGroupUpdateFormHandler() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getErrorMessage()
If there is an error, it will be reported here.
|
MessageSender |
getMessageSender()
The component that has been configured through patchbay to send messages.
|
OrderFulfillmentTools |
getOrderFulfillmentTools() |
java.lang.String |
getOrderId()
The id of the order containing the updated shipping groups.
|
OrderManager |
getOrderManager()
OrderManager is used to verify the orders existence before
sending the message.
|
java.util.List |
getShippingGroupIdList()
A list of shipping group ids.
|
java.lang.String |
getShippingGroupIdString()
A space delimited string of shipping group ids.
|
boolean |
handleShippingGroupUpdate(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
Create a ModifyOrderNotification message containing one
ShippingGroupUpdate modification.
|
void |
setErrorMessage(java.lang.String pErrorMessage) |
void |
setMessageSender(MessageSender pMessageSender) |
void |
setOrderFulfillmentTools(OrderFulfillmentTools pOrderFulfillmentTools) |
void |
setOrderId(java.lang.String pOrderId) |
void |
setOrderManager(OrderManager pOrderManager) |
void |
setShippingGroupIdList(java.util.List pShippingGroupIdList) |
void |
setShippingGroupIdString(java.lang.String pShippingGroupIdString) |
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
afterGet, beforeGet
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 java.lang.String CLASS_VERSION
public static final java.lang.String CANT_SEND_SHIPPING_GROUP_UPDATE
public void setOrderManager(OrderManager pOrderManager)
public OrderManager getOrderManager()
public void setOrderId(java.lang.String pOrderId)
public java.lang.String getOrderId()
public void setMessageSender(MessageSender pMessageSender)
public MessageSender getMessageSender()
public void setShippingGroupIdString(java.lang.String pShippingGroupIdString)
public java.lang.String getShippingGroupIdString()
public void setShippingGroupIdList(java.util.List pShippingGroupIdList)
public java.util.List getShippingGroupIdList()
public void setOrderFulfillmentTools(OrderFulfillmentTools pOrderFulfillmentTools)
public OrderFulfillmentTools getOrderFulfillmentTools()
public void setErrorMessage(java.lang.String pErrorMessage)
public java.lang.String getErrorMessage()
public boolean handleShippingGroupUpdate(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
messageSender
to send it to the rest of DCS.javax.servlet.ServletException
java.io.IOException