Hyperic HQ Plugin API v. 4.4.0.2

org.hyperic.hq.ui.action.resource.server.inventory
Class ServerForm

java.lang.Object
  extended by org.apache.struts.action.ActionForm
      extended by org.apache.struts.validator.ValidatorForm
          extended by org.hyperic.hq.ui.action.BaseValidatorForm
              extended by org.hyperic.hq.ui.action.CalendarForm
                  extended by org.hyperic.hq.ui.action.ScheduleForm
                      extended by org.hyperic.hq.ui.action.resource.ResourceForm
                          extended by org.hyperic.hq.ui.action.resource.server.inventory.ServerForm
All Implemented Interfaces:
java.io.Serializable

public class ServerForm
extends ResourceForm

A subclass of ResourceForm that adds convenience methods for dealing with Server.

See Also:
Serialized Form

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
ServerForm()
           
 
Method Summary
 java.lang.String getInstallPath()
          Returns the installPath.
 void loadResourceValue(AppdefResourceValue rValue)
          set the server type here.
 void loadResourceValue(ServerValue sValue)
          loads the server value
 void setInstallPath(java.lang.String installPath)
          Sets the installPath.
 void updateServerValue(ServerValue sValue)
          updates the server value
 
Methods inherited from class org.hyperic.hq.ui.action.resource.ResourceForm
getAetid, getDescription, getEid, getLocation, getName, getResourceType, getResourceTypes, getRid, getType, isCanModify, reset, setAetid, setCanModify, setDescription, setEid, setLocation, setName, setResourceType, setResourceTypes, setRid, setType, toString, updateResourceValue, validate
 
Methods inherited from class org.hyperic.hq.ui.action.ScheduleForm
createSchedule, getControlActions, getEachDay, getEndTime, getIsNow, getMonthlyRecurrenceDay, getNumControlActions, getNumDays, getNumMonths, getNumWeeks, getRecurInterval, getRecurrenceDay, getRecurrenceFrequencyDaily, getRecurrenceFrequencyMonthly, getRecurrenceWeek, getStartTime, populateFromSchedule, setControlActions, setEachDay, setEndTime, setMonthlyRecurrenceDay, setNumControlActions, setNumDays, setNumMonths, setNumWeeks, setRecurInterval, setRecurrenceDay, setRecurrenceFrequencyDaily, setRecurrenceFrequencyMonthly, setRecurrenceWeek, setStartTime
 
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

ServerForm

public ServerForm()
Method Detail

getInstallPath

public java.lang.String getInstallPath()
Returns the installPath.

Returns:
String

setInstallPath

public void setInstallPath(java.lang.String installPath)
Sets the installPath.

Parameters:
installPath - The installPath to set

loadResourceValue

public void loadResourceValue(AppdefResourceValue rValue)
set the server type here. Can't access the server type in the super class.

Overrides:
loadResourceValue in class ResourceForm
Parameters:
sValue -

loadResourceValue

public void loadResourceValue(ServerValue sValue)
loads the server value

Parameters:
sValue -

updateServerValue

public void updateServerValue(ServerValue sValue)
updates the server value

Parameters:
sValue -

Hyperic HQ Plugin API v. 4.4.0.2

Copyright © 2004-2006 Hyperic, Inc. support@hyperic.net, All Rights Reserved.