live.struts.actions
Class DisplayAction

java.lang.Object
  extended byorg.apache.struts.action.Action
      extended bylive.struts.actions.CheckedAction
          extended bylive.struts.actions.DisplayAction
Direct Known Subclasses:
GuestInfoAction, ListGuestsAction, ListNetworksAction, ListSharedMemAction, NetworkInfoAction, SharedMemInfoAction, ShowStatusAction

public abstract class DisplayAction
extends CheckedAction

This class exists solely to essentially rename the act method displayPage so that it's consistant with switchedAction. (Note that all three methods in switchedAction must have different names.)

Author:
Evan Driscoll

Nested Class Summary
 
Nested classes inherited from class live.struts.actions.CheckedAction
CheckedAction.ActionInfo
 
Field Summary
 
Fields inherited from class org.apache.struts.action.Action
defaultLocale, servlet
 
Constructor Summary
DisplayAction()
           
 
Method Summary
 org.apache.struts.action.ActionForward act(CheckedAction.ActionInfo info)
          This is called automagically when a request is made.
abstract  org.apache.struts.action.ActionForward displayPage(CheckedAction.ActionInfo info)
           
 
Methods inherited from class live.struts.actions.CheckedAction
execute
 
Methods inherited from class org.apache.struts.action.Action
addErrors, addMessages, execute, generateToken, getDataSource, getDataSource, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DisplayAction

public DisplayAction()
Method Detail

act

public final org.apache.struts.action.ActionForward act(CheckedAction.ActionInfo info)
Description copied from class: CheckedAction
This is called automagically when a request is made. Implement this method when subclassing this to do something.

Specified by:
act in class CheckedAction
Parameters:
info - Holds the parameters that were passed to execute, plus things like the cache and threads info deduced from those parameters
Returns:
An object that implements getForward
See Also:
CheckedAction.act(live.struts.actions.CheckedAction.ActionInfo)

displayPage

public abstract org.apache.struts.action.ActionForward displayPage(CheckedAction.ActionInfo info)


Copyright © 2005