|
Hyperic HQ Plugin API v. 4.4.0.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.struts.action.ActionForm
org.apache.struts.validator.ValidatorForm
org.hyperic.hq.ui.action.BaseValidatorForm
org.hyperic.hq.ui.action.CalendarForm
org.hyperic.hq.ui.action.ScheduleForm
org.hyperic.hq.ui.action.resource.ResourceForm
public class ResourceForm
A subclass of BaseValidatorForm
that adds convenience
methods for dealing with appdef resource objects like Platform
Server, & Service.
Field Summary |
---|
Fields inherited from class org.hyperic.hq.ui.action.ScheduleForm |
---|
END_NEVER, END_ON_DATE, EVERY_DAY, EVERY_WEEKDAY, ON_DAY, ON_EACH, RECUR_DAILY, RECUR_MONTHLY, RECUR_NEVER, RECUR_WEEKLY, START_NOW, START_ON_DATE |
Fields inherited from class org.hyperic.hq.ui.action.CalendarForm |
---|
AM, PM |
Fields inherited from class org.apache.struts.validator.ValidatorForm |
---|
page, validatorResults |
Fields inherited from class org.apache.struts.action.ActionForm |
---|
multipartRequestHandler, servlet |
Constructor Summary | |
---|---|
ResourceForm()
|
Method Summary | |
---|---|
java.lang.String |
getAetid()
|
java.lang.String |
getDescription()
Returns the description. |
java.lang.String |
getEid()
|
java.lang.String |
getLocation()
Returns the location. |
java.lang.String |
getName()
Returns the name. |
java.lang.Integer |
getResourceType()
Returns the resourceType. |
java.util.List |
getResourceTypes()
Returns the resourceTypes. |
java.lang.Integer |
getRid()
Returns the rid. |
java.lang.Integer |
getType()
Returns the type. |
boolean |
isCanModify()
|
void |
loadResourceValue(AppdefResourceValue sValue)
loads the server value |
void |
reset(org.apache.struts.action.ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
|
void |
setAetid(java.lang.String str)
|
void |
setCanModify(boolean canModify)
|
void |
setDescription(java.lang.String description)
Sets the description. |
void |
setEid(java.lang.String eidStr)
|
void |
setLocation(java.lang.String location)
Sets the location. |
void |
setName(java.lang.String name)
sets the name. |
void |
setResourceType(java.lang.Integer resourceType)
Sets the resourceType. |
void |
setResourceTypes(java.util.List resourceTypes)
Sets the resourceTypes. |
void |
setRid(java.lang.Integer rid)
Sets the rid. |
void |
setType(java.lang.Integer type)
Sets the type. |
java.lang.String |
toString()
|
void |
updateResourceValue(AppdefResourceValue rValue)
loads the server value |
org.apache.struts.action.ActionErrors |
validate(org.apache.struts.action.ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
Only validate if 1) the form's ok or okassign button was clicked and 2) the mapping specifies an input form to return to. |
Methods inherited from class org.hyperic.hq.ui.action.CalendarForm |
---|
calcHour, getEndAmPm, getEndDate, getEndDay, getEndHour, getEndMin, getEndMonth, getEndYear, getInitStartTime, getStartAmPm, getStartDate, getStartDay, getStartHour, getStartMin, getStartMonth, getStartYear, getWantEndDate, getYearOptions, populateEndDate, populateStartDate, setEndAmPm, setEndDay, setEndHour, setEndMin, setEndMonth, setEndYear, setStartAmPm, setStartDay, setStartHour, setStartMin, setStartMonth, setStartYear, setWantEndDate, shouldValidateDateRange, validateDateRange |
Methods inherited from class org.hyperic.hq.ui.action.BaseValidatorForm |
---|
getAdd, getCancel, getCreate, getDelete, getEnable, getOk, getOkassign, getPn, getPs, getRemove, getReset, getUserset, isAddClicked, isCancelClicked, isCreateClicked, isDeleteClicked, isEnableClicked, isOkAssignClicked, isOkClicked, isRemoveClicked, isResetClicked, isUsersetClicked, setAdd, setCancel, setCreate, setDelete, setEnable, setOk, setOkassign, setPn, setPs, setRemove, setReset, 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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ResourceForm()
Method Detail |
---|
public java.lang.String getName()
public boolean isCanModify()
public void setCanModify(boolean canModify)
public void setName(java.lang.String name)
public java.lang.String getDescription()
public void setDescription(java.lang.String description)
description
- The description to setpublic java.lang.String getLocation()
public void setLocation(java.lang.String location)
location
- The location to setpublic java.util.List getResourceTypes()
public void setResourceTypes(java.util.List resourceTypes)
resourceTypes
- The resourceTypes to setpublic java.lang.Integer getResourceType()
public void setResourceType(java.lang.Integer resourceType)
resourceType
- The resourceType to setpublic java.lang.String getAetid()
public void setAetid(java.lang.String str)
public java.lang.Integer getRid()
public void setRid(java.lang.Integer rid)
rid
- The rid to setpublic java.lang.Integer getType()
public void setType(java.lang.Integer type)
type
- The type to setpublic java.lang.String getEid()
public void setEid(java.lang.String eidStr)
public void loadResourceValue(AppdefResourceValue sValue)
sValue
- public void updateResourceValue(AppdefResourceValue rValue)
sValue
- public void reset(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
reset
in class ScheduleForm
public org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
BaseValidatorForm
validate
in class ScheduleForm
public java.lang.String toString()
toString
in class ScheduleForm
|
Hyperic HQ Plugin API v. 4.4.0.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |