org.rhq.enterprise.gui.legacy.action.resource.group.inventory
Class AddGroupResourcesForm
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.group.inventory.AddGroupResourcesForm
- All Implemented Interfaces:
- Serializable
public class AddGroupResourcesForm
- extends BaseValidatorForm
A subclass of ResourceForm representing the AddGroupResources form. The purpose of this form is
to add AppdefResourceValues to a AppdefGroupValue
- 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 |
| 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 |
AddGroupResourcesForm
public AddGroupResourcesForm()
getAvailableResource
public String[] getAvailableResource()
getAvailableResources
public String[] getAvailableResources()
setAvailableResource
public void setAvailableResource(String[] availableResource)
setAvailableResources
public void setAvailableResources(String[] availableResources)
getPendingResource
public String[] getPendingResource()
getPendingResources
public String[] getPendingResources()
setPendingResource
public void setPendingResource(String[] pendingResource)
setPendingResources
public void setPendingResources(String[] pendingResources)
getPsa
public Integer getPsa()
setPsa
public void setPsa(Integer ps)
getPsp
public Integer getPsp()
setPsp
public void setPsp(Integer ps)
reset
public void reset(org.apache.struts.action.ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
- Overrides:
reset in class BaseValidatorForm
validate
public org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
- Description copied from class:
BaseValidatorForm
- Only validate if 1) the form's ok or okassign button was clicked and 2) the mapping specifies an input form to
return to. condition #2 can be false when a form has failed validation and has forwarded to the input page; the
ok button request parameter will still be userset, but the prepare action for the input page will not have
(another) input page specified.
- Overrides:
validate in class BaseValidatorForm
toString
public String toString()
- Overrides:
toString in class BaseValidatorForm
getAvailResourceTypes
public List getAvailResourceTypes()
- Returns:
- List
setAvailResourceTypes
public void setAvailResourceTypes(List availResourceTypes)
- Sets the availResourceTypes.
- Parameters:
availResourceTypes - The availResourceTypes to set
getFilterBy
public String getFilterBy()
- Returns:
- Integer
setFilterBy
public void setFilterBy(String fs)
- Sets the filter by param.
- Parameters:
fs - The fs to set
getNameFilter
public String getNameFilter()
setNameFilter
public void setNameFilter(String s)
getGroupId
public Integer getGroupId()
setGroupId
public void setGroupId(Integer groupId)
getCategory
public String getCategory()
setCategory
public void setCategory(String category)
getMode
public String getMode()
setMode
public void setMode(String mode)
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.