public class MetricDisplayRangeForm extends CalendarForm
| Modifier and Type | Field and Description |
|---|---|
static Integer |
ACTION_DATE_RANGE |
static Integer |
ACTION_LASTN |
AM, PM| Constructor and Description |
|---|
MetricDisplayRangeForm() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getA() |
String |
getCategory() |
Integer |
getCtype() |
int |
getGroupId() |
Integer |
getId() |
int |
getParent() |
Integer |
getRn() |
Integer |
getRu() |
boolean |
getWantEndDate()
Always check the end date.
|
boolean |
isDateRangeSelected() |
boolean |
isLastnSelected() |
void |
reset(org.apache.struts.action.ActionMapping mapping,
javax.servlet.http.HttpServletRequest request) |
void |
setA(Integer b) |
void |
setCategory(String category) |
void |
setCtype(Integer ctype) |
protected void |
setDefaults() |
void |
setGroupId(int groupId) |
void |
setId(Integer resourceId) |
void |
setParent(int parent) |
void |
setRn(Integer i) |
void |
setRu(Integer i) |
protected boolean |
shouldValidateDateRange() |
String |
toString() |
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.
|
calcHour, getEndAmPm, getEndDate, getEndDay, getEndHour, getEndMin, getEndMonth, getEndYear, getInitStartTime, getStartAmPm, getStartDate, getStartDay, getStartHour, getStartMin, getStartMonth, getStartYear, getYearOptions, populateEndDate, populateStartDate, setEndAmPm, setEndDay, setEndHour, setEndMin, setEndMonth, setEndYear, setStartAmPm, setStartDay, setStartHour, setStartMin, setStartMonth, setStartYear, setWantEndDate, validateDateRangegetAdd, 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, shouldValidategetPage, getResultValueMap, getValidationKey, getValidatorResults, setPage, setValidatorResultspublic static final Integer ACTION_LASTN
public static final Integer ACTION_DATE_RANGE
public Integer getA()
public void setA(Integer b)
public Integer getCtype()
public void setCtype(Integer ctype)
public Integer getId()
public void setId(Integer resourceId)
public Integer getRn()
public void setRn(Integer i)
public Integer getRu()
public void setRu(Integer i)
public String getCategory()
public void setCategory(String category)
public boolean getWantEndDate()
getWantEndDate in class CalendarFormpublic boolean isLastnSelected()
public boolean isDateRangeSelected()
public void reset(org.apache.struts.action.ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
reset in class CalendarFormprotected boolean shouldValidateDateRange()
shouldValidateDateRange in class CalendarFormpublic String toString()
toString in class CalendarFormprotected void setDefaults()
public org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
BaseValidatorFormvalidate in class CalendarFormpublic int getGroupId()
public void setGroupId(int groupId)
groupId - the groupId to setpublic int getParent()
public void setParent(int parent)
parent - the parent to setCopyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.