com.softslate.commerce.administrator.core
Class AdministratorRequestProcessor

java.lang.Object
  extended byorg.apache.struts.action.RequestProcessor
      extended byorg.apache.struts.tiles.TilesRequestProcessor
          extended bycom.softslate.commerce.customer.core.BaseRequestProcessor
              extended bycom.softslate.commerce.customer.core.CheckRequestProcessor
                  extended bycom.softslate.commerce.administrator.core.AdministratorRequestProcessor

public class AdministratorRequestProcessor
extends CheckRequestProcessor

Version:
$Id: AdministratorRequestProcessor.java,v 1.1 2004/12/05 18:51:53 dtobey Exp $
Author:
David Tobey

Field Summary
static java.lang.String customLayoutDirectory
           
(package private) static org.apache.commons.logging.Log log
           
static java.lang.String loginFormPath
           
static java.lang.String loginPath
           
static java.lang.String npoDispatchPath
           
static java.lang.String npoProcessFileUploadPath
           
 
Fields inherited from class com.softslate.commerce.customer.core.BaseRequestProcessor
errorPath, installerSettingsLocation, systemLayoutDirectory
 
Fields inherited from class org.apache.struts.tiles.TilesRequestProcessor
definitionsFactory
 
Fields inherited from class org.apache.struts.action.RequestProcessor
actions, INCLUDE_PATH_INFO, INCLUDE_SERVLET_PATH, moduleConfig, servlet
 
Constructor Summary
AdministratorRequestProcessor()
           
 
Method Summary
 boolean npcOnAdministratorPreRequestEnd(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Performs custom processing at the end of each call to processPreProcess.
protected  boolean processPreprocess(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          General-purpose preprocessing hook.
 
Methods inherited from class com.softslate.commerce.customer.core.CheckRequestProcessor
npcOnPreRequestEnd
 
Methods inherited from class com.softslate.commerce.customer.core.BaseRequestProcessor
alterURI, doForward, getExceptionAsString, npcOnPreRequestBegin, npcOnPreRequestEnd, processException
 
Methods inherited from class org.apache.struts.tiles.TilesRequestProcessor
getDefinitionsFactory, init, initDefinitionsMapping, internalModuleRelativeForward, internalModuleRelativeInclude, processForwardConfig, processTilesDefinition
 
Methods inherited from class org.apache.struts.action.RequestProcessor
destroy, doInclude, getInternal, getServletContext, log, log, process, processActionCreate, processActionForm, processActionPerform, processCachedMessages, processContent, processForward, processInclude, processLocale, processMapping, processMultipart, processNoCache, processPath, processPopulate, processRoles, processValidate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

static org.apache.commons.logging.Log log

loginPath

public static final java.lang.String loginPath
See Also:
Constant Field Values

loginFormPath

public static final java.lang.String loginFormPath
See Also:
Constant Field Values

npoDispatchPath

public static final java.lang.String npoDispatchPath
See Also:
Constant Field Values

npoProcessFileUploadPath

public static final java.lang.String npoProcessFileUploadPath
See Also:
Constant Field Values

customLayoutDirectory

public static final java.lang.String customLayoutDirectory
See Also:
Constant Field Values
Constructor Detail

AdministratorRequestProcessor

public AdministratorRequestProcessor()
Method Detail

processPreprocess

protected boolean processPreprocess(javax.servlet.http.HttpServletRequest request,
                                    javax.servlet.http.HttpServletResponse response)
General-purpose preprocessing hook. Loads settings into the request and session scopes.

Overrides:
processPreprocess in class BaseRequestProcessor
Parameters:
request - The servlet request we are processing
response - The servlet response we are creating

npcOnAdministratorPreRequestEnd

public boolean npcOnAdministratorPreRequestEnd(javax.servlet.http.HttpServletRequest request,
                                               javax.servlet.http.HttpServletResponse response)
Performs custom processing at the end of each call to processPreProcess. Intended to be overridden by subclasses for customizations. This method should return false to signal processPreProcess to return false itself.

Returns:
true if the processing was successful, false if processing should stop.


Copyright © SoftSlate, Inc. 2003–2005