org.rhq.enterprise.gui.legacy.action.resource.hub
Class GroupHubPortalAction

java.lang.Object
  extended by org.apache.struts.action.Action
      extended by org.rhq.enterprise.gui.legacy.action.BaseAction
          extended by org.rhq.enterprise.gui.legacy.action.resource.hub.GroupHubPortalAction

public class GroupHubPortalAction
extends BaseAction

An Action that sets up the resource hub page (ResourceHub.jsp).

Author:
Ian Springer

Field Summary
protected  org.apache.commons.logging.Log log
           
static int SELECTOR_GROUP_ADHOC
           
static int SELECTOR_GROUP_COMPAT
           
 
Fields inherited from class org.rhq.enterprise.gui.legacy.action.BaseAction
NO_RETURN_PATH, YES_RETURN_PATH
 
Fields inherited from class org.apache.struts.action.Action
defaultLocale, servlet
 
Constructor Summary
GroupHubPortalAction()
           
 
Method Summary
 void addResourceTypeMenuItems(HubForm form, Set<String> typeNames, String headerLabel, String headerValue)
           
protected  org.apache.struts.util.LabelValueBean createMenuLabel(javax.servlet.http.HttpServletRequest req, String key, String value)
           
 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)
          Set up the Resource Hub portal.
 
Methods inherited from class org.rhq.enterprise.gui.legacy.action.BaseAction
checkSubmit, checkSubmit, checkSubmit, checkSubmit, checkSubmit, checkSubmit, constructForward, constructForward, constructForward, constructForward, returnAdd, returnAdd, returnAdd, returnCancelled, returnCancelled, returnCancelled, returnCancelled, returnFailure, returnFailure, returnFailure, returnFailure, returnFailure, returnInstall, returnInstall, returnInstall, returnManualUninstall, returnManualUninstall, returnManualUninstall, returnNew, returnNew, returnNew, returnNew, returnNew, returnOkAssign, returnOkAssign, returnRemove, returnRemove, returnRemove, returnReset, returnReset, returnReset, returnReset, returnSuccess, returnSuccess, returnSuccess, returnSuccess, returnSuccess
 
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
 

Field Detail

SELECTOR_GROUP_COMPAT

public static final int SELECTOR_GROUP_COMPAT
See Also:
Constant Field Values

SELECTOR_GROUP_ADHOC

public static final int SELECTOR_GROUP_ADHOC
See Also:
Constant Field Values

log

protected org.apache.commons.logging.Log log
Constructor Detail

GroupHubPortalAction

public GroupHubPortalAction()
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
Set up the Resource Hub portal.

Overrides:
execute in class BaseAction
Throws:
Exception

addResourceTypeMenuItems

public void addResourceTypeMenuItems(HubForm form,
                                     Set<String> typeNames,
                                     String headerLabel,
                                     String headerValue)

createMenuLabel

protected org.apache.struts.util.LabelValueBean createMenuLabel(javax.servlet.http.HttpServletRequest req,
                                                                String key,
                                                                String value)


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