org.rhq.enterprise.gui.legacy.action.resource.hub
Class HubForm
java.lang.Object
org.apache.struts.action.ActionForm
org.apache.struts.validator.ValidatorForm
org.rhq.enterprise.gui.legacy.action.BaseValidatorForm
org.rhq.enterprise.gui.legacy.action.resource.hub.HubForm
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- GroupHubForm, ResourceHubForm
public abstract class HubForm
- extends BaseValidatorForm
A common extension for hub pages
- See Also:
- Serialized Form
| Fields inherited from class org.apache.struts.validator.ValidatorForm |
page, validatorResults |
| Fields inherited from class org.apache.struts.action.ActionForm |
multipartRequestHandler, servlet |
| Methods inherited from class org.rhq.enterprise.gui.legacy.action.BaseValidatorForm |
getAdd, getCancel, getCreate, getDelete, getEnable, getInstall, getManualUninstall, getOk, getOkassign, getPn, getPs, getRemove, getReset, getUninventory, getUserset, isAddClicked, isCancelClicked, isCreateClicked, isDeleteClicked, isEnableClicked, isInstallClicked, isManualUninstallClicked, isOkAssignClicked, isOkClicked, isRemoveClicked, isResetClicked, isUsersetClicked, setAdd, setCancel, setCreate, setDelete, setEnable, setInstall, setOk, setOkassign, setPn, setPs, setRemove, setReset, setUninventory, setUserset, shouldValidate, validate |
| Methods inherited from class org.apache.struts.validator.ValidatorForm |
getPage, getResultValueMap, getValidationKey, getValidatorResults, setPage, setValidatorResults |
| Methods inherited from class org.apache.struts.action.ActionForm |
getMultipartRequestHandler, getServlet, getServletWrapper, reset, setMultipartRequestHandler, setServlet, validate |
view
protected String view
- The view style - either "chart" or "list". The value corresponds to
Enum.name() - either "CHART" or
"LIST".
resourceType
protected String resourceType
- Resource type filter (null indicates all types within the current category). For compatible groups, this field
indicates the group's resource type.
plugin
protected String plugin
functions
protected List<org.apache.struts.util.LabelValueBean> functions
types
protected List<org.apache.struts.util.LabelValueBean> types
plugins
protected List<org.apache.struts.util.LabelValueBean> plugins
keywords
protected String keywords
resources
protected String[] resources
HubForm
public HubForm()
getResourceType
@Nullable
public String getResourceType()
setResourceType
public void setResourceType(String resourceType)
getPlugin
public String getPlugin()
setPlugin
public void setPlugin(String plugin)
getFunctions
public List<org.apache.struts.util.LabelValueBean> getFunctions()
setFunctions
public void setFunctions(List<org.apache.struts.util.LabelValueBean> functions)
addFunction
public void addFunction(org.apache.struts.util.LabelValueBean function)
getTypes
public List<org.apache.struts.util.LabelValueBean> getTypes()
setTypes
public void setTypes(List<org.apache.struts.util.LabelValueBean> types)
addType
public void addType(org.apache.struts.util.LabelValueBean type)
addTypeFirst
public void addTypeFirst(org.apache.struts.util.LabelValueBean type)
getPlugins
public List<org.apache.struts.util.LabelValueBean> getPlugins()
setPlugins
public void setPlugins(List<org.apache.struts.util.LabelValueBean> plugins)
addPlugin
public void addPlugin(org.apache.struts.util.LabelValueBean plugin)
setKeywords
public void setKeywords(String keywords)
getKeywords
public String getKeywords()
getView
public String getView()
setView
public void setView(String view)
reset
public void reset(org.apache.struts.action.ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
- Overrides:
reset in class BaseValidatorForm
setDefaults
protected void setDefaults()
getResources
public String[] getResources()
setResources
public void setResources(String[] resources)
toString
public String toString()
- Overrides:
toString in class BaseValidatorForm
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.