org.figure8.join.control.action
Class ParameterValueActions

java.lang.Object
  extended by org.apache.struts.action.Action
      extended by org.figure8.join.control.JoinAction
          extended by org.figure8.join.control.action.ParameterValueActions

public class ParameterValueActions
extends JoinAction

Struts action used for managing the parameters values used by software project integration team.

Version:
$Revision: 1.3 $
Author:
Jerome Evrard

Field Summary
static java.lang.String COPIED_VALUES_KEY
          Request attribute containing copied values
static java.lang.String COPY_VALUES_OP
          Operation to copy values from a target and an environment
static java.lang.String DELETE_OP
          Operation code for deleting a specific parameter value
static java.lang.String FORM_OP
          Operation code for showing an empty value creation form
static java.lang.String LOAD_OP
          Operation code to load a value to re-edit it
protected static org.apache.commons.logging.Log log
          Get a commons logger.
static java.lang.String PASTE_VALUES_OP
          Operation code to paste values into another environment and target
static java.lang.String RENDER_VALUES_OP
          Operation to render parameter values for all targets on an environment
static java.lang.String RENDERED_VALUES_KEY
          Request attribute containing rendered values
static java.lang.String SAVE_OP
          Operation code to create or update a specific value
static java.lang.String SHOW_HISTORICAL_VALUE_OP
          Operation to show parameter historical values of an environment and a target
static java.lang.String SHOW_RENDER_KEY
          Request attribute telling if rendered values should be shown
static java.lang.String SHOW_VALUES_OP
          Operation to show values of an environment and a target
static java.lang.String VALUE_KEY
          Request attribute containing value to edit
static java.lang.String VALUES_KEY
          Request attribute containing displayed values
 
Fields inherited from class org.figure8.join.control.JoinAction
BODY_ATTRIBUTE, BODY_PARAMETER, EXCEPTION_KEY, GUI_KEY, OP_PARAMETER, REND_MAIN, REND_NONE, REND_PARAMETER, REND_POPUP, XHR_PARAMETER
 
Fields inherited from class org.apache.struts.action.Action
defaultLocale, servlet
 
Constructor Summary
ParameterValueActions()
          Creates a new instance of ParameterValueActions
 
Method Summary
 org.apache.struts.action.ActionForward doExecute(java.lang.String operation, org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Action to manage parameters values.
 void setEnvironmentManager(EnvironmentManager manager)
           
 void setIntegrationProcessManager(IntegrationProcessManager manager)
           
 void setParameterManager(ParameterManager manager)
           
 
Methods inherited from class org.figure8.join.control.JoinAction
execute, getUserContainer, isLoggedIn, isXhrRequest, removeObsoleteForm
 
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, saveMessages, saveMessages, saveToken, setLocale, setServlet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static org.apache.commons.logging.Log log
Get a commons logger.


FORM_OP

public static final java.lang.String FORM_OP
Operation code for showing an empty value creation form

See Also:
Constant Field Values

LOAD_OP

public static final java.lang.String LOAD_OP
Operation code to load a value to re-edit it

See Also:
Constant Field Values

SAVE_OP

public static final java.lang.String SAVE_OP
Operation code to create or update a specific value

See Also:
Constant Field Values

DELETE_OP

public static final java.lang.String DELETE_OP
Operation code for deleting a specific parameter value

See Also:
Constant Field Values

COPY_VALUES_OP

public static final java.lang.String COPY_VALUES_OP
Operation to copy values from a target and an environment

See Also:
Constant Field Values

PASTE_VALUES_OP

public static final java.lang.String PASTE_VALUES_OP
Operation code to paste values into another environment and target

See Also:
Constant Field Values

SHOW_VALUES_OP

public static final java.lang.String SHOW_VALUES_OP
Operation to show values of an environment and a target

See Also:
Constant Field Values

RENDER_VALUES_OP

public static final java.lang.String RENDER_VALUES_OP
Operation to render parameter values for all targets on an environment

See Also:
Constant Field Values

SHOW_HISTORICAL_VALUE_OP

public static final java.lang.String SHOW_HISTORICAL_VALUE_OP
Operation to show parameter historical values of an environment and a target

See Also:
Constant Field Values

VALUE_KEY

public static final java.lang.String VALUE_KEY
Request attribute containing value to edit

See Also:
Constant Field Values

VALUES_KEY

public static final java.lang.String VALUES_KEY
Request attribute containing displayed values

See Also:
Constant Field Values

COPIED_VALUES_KEY

public static final java.lang.String COPIED_VALUES_KEY
Request attribute containing copied values

See Also:
Constant Field Values

RENDERED_VALUES_KEY

public static final java.lang.String RENDERED_VALUES_KEY
Request attribute containing rendered values

See Also:
Constant Field Values

SHOW_RENDER_KEY

public static final java.lang.String SHOW_RENDER_KEY
Request attribute telling if rendered values should be shown

See Also:
Constant Field Values
Constructor Detail

ParameterValueActions

public ParameterValueActions()
Creates a new instance of ParameterValueActions

Method Detail

setParameterManager

public void setParameterManager(ParameterManager manager)
Parameters:
manager - The manager to use

setEnvironmentManager

public void setEnvironmentManager(EnvironmentManager manager)
Parameters:
manager - The manager to use

setIntegrationProcessManager

public void setIntegrationProcessManager(IntegrationProcessManager manager)
Parameters:
manager - The manager to use

doExecute

public org.apache.struts.action.ActionForward doExecute(java.lang.String operation,
                                                        org.apache.struts.action.ActionMapping mapping,
                                                        org.apache.struts.action.ActionForm form,
                                                        javax.servlet.http.HttpServletRequest request,
                                                        javax.servlet.http.HttpServletResponse response)
                                                 throws java.lang.Exception
Action to manage parameters values.

Specified by:
doExecute in class JoinAction
Parameters:
operation - String representing the operation to invoke on Action
mapping - Mapping between forwards name and path for this action
form - The form object containing request parameters
request - The servlet container request wrapper
response - The servlet container response wrapper
Returns:
A forward to the next view to render and display
Throws:
java.lang.Exception - such as InfraStructureExceptions ...


Copyright © 2005-2008 Join. All Rights Reserved.