atg.commerce.gears.orderstatus
Class OrderStatusFormHandler

java.lang.Object
  extended by atg.nucleus.logging.VariableArgumentApplicationLoggingImpl
      extended by atg.nucleus.GenericService
          extended by atg.droplet.EmptyFormHandler
              extended by atg.droplet.GenericFormHandler
                  extended by atg.commerce.gears.orderstatus.OrderStatusFormHandler
All Implemented Interfaces:
DropletFormHandler, NameContextBindingListener, NameContextElement, NameResolver, AdminableService, ApplicationLogging, atg.nucleus.logging.ApplicationLoggingSender, atg.nucleus.logging.TraceApplicationLogging, VariableArgumentApplicationLogging, ComponentNameResolver, Service, ServiceListener, java.util.EventListener

public class OrderStatusFormHandler
extends GenericFormHandler

This formHandler is used in the full view of the Order Status gear. It stores the different properties displayed in the full view of the order status gear.

See Also:
GenericFormHandler

Field Summary
static java.lang.String CLASS_VERSION
          Class version string
 
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
OrderStatusFormHandler()
           
 
Method Summary
 java.lang.String getFailureURL()
          Returns property FailureURL
 java.lang.String[] getOrderStates()
          Returns property OrderStates
 java.lang.String[] getSharedViewStates()
          Returns property sharedViewStates
 java.lang.String getSortBy()
          Returns property SortBy
 java.lang.String getSuccessURL()
          Returns property SuccessURL
 boolean handleShowOrders(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse)
           
 boolean isSortAscending()
          Returns property SortAscending
 void setFailureURL(java.lang.String pFailureURL)
          Sets property FailureURL
 void setOrderStates(java.lang.String[] pOrderStates)
          Sets property OrderStates
 void setSharedViewStates(java.lang.String[] pSharedViewStates)
          Sets property sharedViewStates
 void setSortAscending(boolean pSortAscending)
          Sets property SortAscending
 void setSortBy(java.lang.String pSortBy)
          Sets property SortBy
 void setSuccessURL(java.lang.String pSuccessURL)
          Sets property SuccessURL
 
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, reResolveThis, 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

CLASS_VERSION

public static java.lang.String CLASS_VERSION
Class version string

Constructor Detail

OrderStatusFormHandler

public OrderStatusFormHandler()
Method Detail

setOrderStates

public void setOrderStates(java.lang.String[] pOrderStates)
Sets property OrderStates

Parameters:
pOrderStates - The property to store the Order States specified by the user.

getOrderStates

public java.lang.String[] getOrderStates()
Returns property OrderStates

Returns:
The value of the property pOrderStates.

setSharedViewStates

public void setSharedViewStates(java.lang.String[] pSharedViewStates)
Sets property sharedViewStates

Parameters:
pSharedViewStates - The property to store the Shared View of the States specified by the user.

getSharedViewStates

public java.lang.String[] getSharedViewStates()
Returns property sharedViewStates

Returns:
The value of the property pSharedViewStates.

setSortBy

public void setSortBy(java.lang.String pSortBy)
Sets property SortBy

Parameters:
pSortBy - The property to store the Sorting column specified by the user.

getSortBy

public java.lang.String getSortBy()
Returns property SortBy

Returns:
The value of the property pSortBy.

setSortAscending

public void setSortAscending(boolean pSortAscending)
Sets property SortAscending

Parameters:
pSortAscending - The property to store the sorting order - ascending or descending.

isSortAscending

public boolean isSortAscending()
Returns property SortAscending

Returns:
The value of the property pSortAscending.

setFailureURL

public void setFailureURL(java.lang.String pFailureURL)
Sets property FailureURL

Parameters:
pFailureURL - The property to store the success URL for Full view of order status gear.

getFailureURL

public java.lang.String getFailureURL()
Returns property FailureURL

Returns:
The value of the property pFailureURL.

setSuccessURL

public void setSuccessURL(java.lang.String pSuccessURL)
Sets property SuccessURL

Parameters:
pSuccessURL - The property to store the success URL for Full view of order status gear.

getSuccessURL

public java.lang.String getSuccessURL()
Returns property SuccessURL

Returns:
The value of the property pSuccessURL.

handleShowOrders

public boolean handleShowOrders(DynamoHttpServletRequest pRequest,
                                DynamoHttpServletResponse pResponse)
                         throws java.io.IOException,
                                javax.servlet.ServletException
Throws:
java.io.IOException
javax.servlet.ServletException