objectivehtml.struts
Class Action

java.lang.Object
  |
  +--objectivehtml.struts.Action

public class Action
extends java.lang.Object

This class holds the action directives for an action event.


Constructor Summary
Action()
           
 
Method Summary
 CreateForms getCreateForms()
          Gets the list of create-form directives.
 java.lang.String getDefaultForward()
          Gets the default-forward for this action
 InvokeMethods getInvokeMethods()
          Gets the list of invoke-method directives.
 java.lang.String getPath()
          Gets the URL path mapping for this action
 java.lang.String getUpdateForm()
          Gets the session name of the form to be updated
 void setCreateForms(CreateForms objCreateForms)
          Sets the list of create-form directives.
 void setDefaultForward(java.lang.String sDefaultForward)
          Sets the default-forward for this action.
 void setInvokeMethods(InvokeMethods objInvokeMethods)
          Sets the list of invoke-method directives.
 void setPath(java.lang.String sPath)
          Sets the URL path for this action.
 void setUpdateForm(java.lang.String sUpdateForm)
          Sets the session name of the form to be updated (i.e.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Action

public Action()
Method Detail

setPath

public void setPath(java.lang.String sPath)
Sets the URL path for this action.
Parameters:
sPath - the path that maps to this action

getPath

public java.lang.String getPath()
Gets the URL path mapping for this action
Returns:
the path that maps to this action

setDefaultForward

public void setDefaultForward(java.lang.String sDefaultForward)
Sets the default-forward for this action.
Parameters:
sDefaultForward - the default-forward

getDefaultForward

public java.lang.String getDefaultForward()
Gets the default-forward for this action
Returns:
the default-forward

setUpdateForm

public void setUpdateForm(java.lang.String sUpdateForm)
Sets the session name of the form to be updated (i.e. call the method updateData(HttpServletRequest)).
Parameters:
sUpdateForm - the session name of the form to be updated

getUpdateForm

public java.lang.String getUpdateForm()
Gets the session name of the form to be updated
Returns:
the session name of the form to be updated

setCreateForms

public void setCreateForms(CreateForms objCreateForms)
Sets the list of create-form directives.
Parameters:
objCreateForms - the list of create-form directives

getCreateForms

public CreateForms getCreateForms()
Gets the list of create-form directives.
Returns:
the list of create-form directives

setInvokeMethods

public void setInvokeMethods(InvokeMethods objInvokeMethods)
Sets the list of invoke-method directives.
Parameters:
objInvokeMethods - the list of invoke-method directives

getInvokeMethods

public InvokeMethods getInvokeMethods()
Gets the list of invoke-method directives.
Returns:
the list of invoke-method directives