org.rhq.enterprise.gui.legacy.action.resource.common.monitor.visibility
Class TraitHistoryFormPrepareAction

java.lang.Object
  extended by org.apache.struts.action.Action
      extended by org.apache.struts.tiles.actions.TilesAction
          extended by org.rhq.enterprise.gui.legacy.action.resource.common.monitor.visibility.TraitHistoryFormPrepareAction

public class TraitHistoryFormPrepareAction
extends org.apache.struts.tiles.actions.TilesAction

Obtain the historical data of a trait and put it into the session.

Author:
Heiko W. Rupp

Field Summary
 
Fields inherited from class org.apache.struts.action.Action
defaultLocale, servlet
 
Constructor Summary
TraitHistoryFormPrepareAction()
           
 
Method Summary
 org.apache.struts.action.ActionForward execute(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Obtain the historical data of a trait and put it into the session.
 
Methods inherited from class org.apache.struts.tiles.actions.TilesAction
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

TraitHistoryFormPrepareAction

public TraitHistoryFormPrepareAction()
Method Detail

execute

public org.apache.struts.action.ActionForward execute(org.apache.struts.action.ActionMapping mapping,
                                                      org.apache.struts.action.ActionForm form,
                                                      javax.servlet.http.HttpServletRequest request,
                                                      javax.servlet.http.HttpServletResponse response)
                                               throws Exception
Obtain the historical data of a trait and put it into the session. Input: resource_id: Id of a Resource
Input: m : Id of a MeasurementDefinition
Output: traits: List of MeasurementDataTrait
Output: traitName: Name of the Trait

Overrides:
execute in class org.apache.struts.tiles.actions.TilesAction
Throws:
Exception


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.