live.struts.actions
Class ShowStatusAction

java.lang.Object
  extended byorg.apache.struts.action.Action
      extended bylive.struts.actions.CheckedAction
          extended bylive.struts.actions.DisplayAction
              extended bylive.struts.actions.ShowStatusAction

public class ShowStatusAction
extends DisplayAction

Action to display the status page

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
ShowStatusAction()
           
 
Method Summary
 org.apache.struts.action.ActionForward displayPage(CheckedAction.ActionInfo info)
           
 org.apache.struts.action.ActionForward executeGeneralStatus(CheckedAction.ActionInfo info)
          Brings up the page with the list of all tasks and their statuses.
 org.apache.struts.action.ActionForward executeSpecificStatus(CheckedAction.ActionInfo info, int tid)
          Brings up a page wtih information on a specific task.
 
Methods inherited from class live.struts.actions.DisplayAction
act
 
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

ShowStatusAction

public ShowStatusAction()
Method Detail

displayPage

public org.apache.struts.action.ActionForward displayPage(CheckedAction.ActionInfo info)
Specified by:
displayPage in class DisplayAction
See Also:
SwitchedAction.displayPage(live.struts.actions.CheckedAction.ActionInfo)

executeGeneralStatus

public org.apache.struts.action.ActionForward executeGeneralStatus(CheckedAction.ActionInfo info)
Brings up the page with the list of all tasks and their statuses.

Parameters:
info - ActionInfo with information on tasks and how they should be sorted
Returns:
ActionForward maps to page with all the tasks and their ordering

executeSpecificStatus

public org.apache.struts.action.ActionForward executeSpecificStatus(CheckedAction.ActionInfo info,
                                                                    int tid)
Brings up a page wtih information on a specific task.

Parameters:
info - Information needed to complete the action, including job status.
tid - ID of the task that you want to bring up the status of.
Returns:
ActionForward Page with the task's status.


Copyright © 2005