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

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.ResourceHubPortalAction
Direct Known Subclasses:
NavigationHubPortalAction

public class ResourceHubPortalAction
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
ResourceHubPortalAction()
           
 
Method Summary
protected  org.apache.struts.util.LabelValueBean buildResourceTypeMenuCategoryLabel(org.rhq.core.domain.resource.ResourceCategory resourceCategory)
           
 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.
protected  void initResourceTypesAndPluginsPulldownMenu(ResourceHubForm hubForm, org.rhq.core.domain.auth.Subject subject, org.rhq.core.domain.resource.ResourceCategory resourceCategory, String nameFilter, String typeName, String pluginName)
           
 
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

ResourceHubPortalAction

public ResourceHubPortalAction()
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

initResourceTypesAndPluginsPulldownMenu

protected void initResourceTypesAndPluginsPulldownMenu(ResourceHubForm hubForm,
                                                       org.rhq.core.domain.auth.Subject subject,
                                                       org.rhq.core.domain.resource.ResourceCategory resourceCategory,
                                                       String nameFilter,
                                                       String typeName,
                                                       String pluginName)
                                                throws Exception
Throws:
Exception

buildResourceTypeMenuCategoryLabel

protected org.apache.struts.util.LabelValueBean buildResourceTypeMenuCategoryLabel(@NotNull
                                                                                   org.rhq.core.domain.resource.ResourceCategory resourceCategory)


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