org.jaffa.components.maint
Class MaintAction

java.lang.Object
  extended byorg.apache.struts.action.Action
      extended byorg.jaffa.presentation.portlet.ActionBase
          extended byorg.jaffa.components.maint.MaintAction

public class MaintAction
extends ActionBase

This is the base class for all Maintenance Component Actions.

Author:
GautamJ

Field Summary
 
Fields inherited from class org.jaffa.presentation.portlet.ActionBase
component, form, mapping, request, response
 
Fields inherited from class org.apache.struts.action.Action
ACTION_SERVLET_KEY, APPLICATION_KEY, DATA_SOURCE_KEY, defaultLocale, ERROR_KEY, EXCEPTION_KEY, FORM_BEANS_KEY, FORWARDS_KEY, LOCALE_KEY, MAPPING_KEY, MAPPINGS_KEY, MESSAGE_KEY, MESSAGES_KEY, MULTIPART_KEY, PLUG_INS_KEY, REQUEST_PROCESSOR_KEY, servlet, SERVLET_KEY, TRANSACTION_TOKEN_KEY
 
Constructor Summary
MaintAction()
           
 
Method Summary
 FormKey do_Cancel_Clicked()
          Quits the component and returns the FormKey for the calling screen.
 FormKey do_Delete_Clicked()
          Invokes the delete() method on the component.
 FormKey do_Finish_Clicked()
          Invokes the create() or update() method on the component, depending on the mode.
 FormKey do_Next_Clicked()
          This will invoke the prevalidate method on the component if required for the current screen.
 FormKey do_Previous_Clicked()
          It moves to the previous screen
 FormKey do_Refresh_Clicked()
          Invokes the retrieve() method on the component.
 FormKey do_refresh()
          Determines the currentFormKey This event is invoked when a user changes the settings of the UserGrid in the Results screen.
 FormKey do_Save_Clicked()
          Invokes the create() or update() method on the component, depending on the mode.
 
Methods inherited from class org.jaffa.presentation.portlet.ActionBase
defaultAction, determineCurrentFormKey, do_HistoryNav_Clicked, execute, executeEvent, handleNullFormKey, isTokenValid, isTokenValid, parseFormName, performTokenValidation, processContainerFormKey, resetToken, saveToken
 
Methods inherited from class org.apache.struts.action.Action
execute, generateToken, getDataSource, getDataSource, getLocale, getResources, getResources, getResources, getServlet, isCancelled, perform, perform, saveErrors, saveMessages, saveToken, setLocale, setServlet, toHex
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MaintAction

public MaintAction()
Method Detail

do_Cancel_Clicked

public FormKey do_Cancel_Clicked()
Quits the component and returns the FormKey for the calling screen.

Returns:
The FormKey for the calling screen. A null will be returned, if no calling screen was specified.

do_Finish_Clicked

public FormKey do_Finish_Clicked()
Invokes the create() or update() method on the component, depending on the mode. It then quits the component.

Returns:
The FormKey for the calling screen. A null will be returned, if no calling screen was specified.

do_Save_Clicked

public FormKey do_Save_Clicked()
Invokes the create() or update() method on the component, depending on the mode.

Returns:
The FormKey for the screen.

do_Delete_Clicked

public FormKey do_Delete_Clicked()
Invokes the delete() method on the component. It then quits the component.

Returns:
The FormKey for the calling screen. A null will be returned, if no calling screen was specified.

do_Refresh_Clicked

public FormKey do_Refresh_Clicked()
Invokes the retrieve() method on the component.

Returns:
The FormKey for the screen.

do_refresh

public FormKey do_refresh()
Determines the currentFormKey This event is invoked when a user changes the settings of the UserGrid in the Results screen.

Overrides:
do_refresh in class ActionBase
Returns:
The FormKey for the Results screen.

do_Next_Clicked

public FormKey do_Next_Clicked()
This will invoke the prevalidate method on the component if required for the current screen. It then moves to the next screen

Returns:
The FormKey for the next screen.

do_Previous_Clicked

public FormKey do_Previous_Clicked()
It moves to the previous screen

Returns:
The FormKey for the previous screen.


Copyright © 2002-2004 JAFFA Project.