org.jwarp.service.web.dispatch
Class AAction

java.lang.Object
  |
  +--org.jwarp.service.web.dispatch.AAction
All Implemented Interfaces:
IAction, IConfigurable
Direct Known Subclasses:
PrintRefs, PrintRequest

public abstract class AAction
extends java.lang.Object
implements IAction


Field Summary
protected  IContext context
           
protected  LogWriter log
           
protected  java.lang.String name
           
protected  ActionValidation postConditions
           
protected  ActionValidation preConditions
           
protected  IWebService webService
           
 
Constructor Summary
AAction()
           
 
Method Summary
 void configure(org.jdom.Element config)
          Pass the Configuration to the Configurable class.
protected abstract  void doAction(java.util.List exceptions, WebContext context)
           
 java.lang.String getFullName()
           
 java.lang.String getName()
           
 void perform(WebContext context)
           
 void setContext(IContext context)
           
 void setWebService(IWebService web)
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

preConditions

protected ActionValidation preConditions

postConditions

protected ActionValidation postConditions

context

protected IContext context

name

protected java.lang.String name

log

protected LogWriter log

webService

protected IWebService webService
Constructor Detail

AAction

public AAction()
Method Detail

setContext

public void setContext(IContext context)
Specified by:
setContext in interface IAction

setWebService

public void setWebService(IWebService web)
Specified by:
setWebService in interface IAction

configure

public void configure(org.jdom.Element config)
               throws ConfigurationException
Description copied from interface: IConfigurable
Pass the Configuration to the Configurable class. This method must always be called after the constructor and before any other method.
Specified by:
configure in interface IConfigurable
Following copied from interface: org.jwarp.service.configuration.IConfigurable
Parameters:
configuration - the class configurations.

getName

public java.lang.String getName()
Specified by:
getName in interface IAction

getFullName

public java.lang.String getFullName()
Specified by:
getFullName in interface IAction

perform

public void perform(WebContext context)
             throws ActionException,
                    InvalidForwardException,
                    ParameterException,
                    ParameterNotFoundException,
                    InvalidForwardException
Specified by:
perform in interface IAction

doAction

protected abstract void doAction(java.util.List exceptions,
                                 WebContext context)
                          throws ActionException,
                                 InvalidForwardException,
                                 ParameterException,
                                 ParameterNotFoundException

©   O R C A   S y s t e m s