au.com.whitesquare.waf.command
Class BaseObjectViewCmd

java.lang.Object
  extended byau.com.whitesquare.waf.command.ValidatedCommand
      extended byau.com.whitesquare.waf.command.BaseObjectViewCmd
All Implemented Interfaces:
BaseCommand

public abstract class BaseObjectViewCmd
extends ValidatedCommand

This is a prototype base command that could be used to replace 3 subcommands for Listing, Viewing, Editing and Saving entities. This is still under development and will be for a while. There is a high probability that this will be moved to the waf-plugins module to allow it to tightly integrate with the DCAF product.
Last Modified $Date: 2005/01/03 11:08:33 $

Version:
$Revision: 1.4 $
Author:
Steve Mactaggart

Field Summary
 
Fields inherited from class au.com.whitesquare.waf.command.ValidatedCommand
params
 
Constructor Summary
BaseObjectViewCmd()
           
 
Method Summary
protected abstract  void configureRequestParameters()
           
protected abstract  String getDestinationURL()
           
protected abstract  String getObjectJSPKeyName()
           
protected abstract  String getObjectSessionName()
           
protected abstract  Object getObjectToBeViewed()
           
protected  Response innerExecute()
           
protected  Response parameterErrorExecute(ParameterErrors pe)
           
protected abstract  Response processNoObject()
           
protected abstract  Response processNoObject(ParameterErrors pe)
           
 
Methods inherited from class au.com.whitesquare.waf.command.ValidatedCommand
addParamRetriever, addPostParseParameter, addPostParseParamRetriever, addRequestParameter, addRequestParameter, addSubCommandParameter, clearParameter, clearParameters, execute, getBoolean, getContext, getContextCount, getFloat, getFloatArray, getInteger, getIntegerArray, getLong, getLongArray, getObject, getRequest, getResponse, getSession, getString, getStringArray, processSubCommand, processSubCommand, setupPostParseFields, setupPreParseFields, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface au.com.whitesquare.waf.command.BaseCommand
isSessionRequired
 

Constructor Detail

BaseObjectViewCmd

public BaseObjectViewCmd()
Method Detail

configureRequestParameters

protected abstract void configureRequestParameters()

getDestinationURL

protected abstract String getDestinationURL()

getObjectToBeViewed

protected abstract Object getObjectToBeViewed()

processNoObject

protected abstract Response processNoObject()

processNoObject

protected abstract Response processNoObject(ParameterErrors pe)

getObjectSessionName

protected abstract String getObjectSessionName()

getObjectJSPKeyName

protected abstract String getObjectJSPKeyName()

innerExecute

protected final Response innerExecute()
Specified by:
innerExecute in class ValidatedCommand
See Also:
ValidatedCommand.innerExecute()

parameterErrorExecute

protected final Response parameterErrorExecute(ParameterErrors pe)
Specified by:
parameterErrorExecute in class ValidatedCommand
Parameters:
pe - The Parameter Errors that have occured
Returns:
The response of the


Copyright © 2004 Whitesquare Software. All Rights Reserved.