org.kuali.rice.kew.stats.web
Class StatsForm

java.lang.Object
  extended by org.apache.struts.action.ActionForm
      extended by org.kuali.rice.kns.web.struts.pojo.PojoFormBase
          extended by org.kuali.rice.kns.web.struts.form.KualiForm
              extended by org.kuali.rice.kew.stats.web.StatsForm
All Implemented Interfaces:
Serializable, PojoForm

public class StatsForm
extends KualiForm

A Struts ActionForm for the StatsAction.

Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
StatsAction, Serialized Form

Field Summary
private  String avgActionsPerTimeUnit
           
private  String backLocation
           
static String BEG_DAY_TIME
           
private  String begDate
           
private static String BEGIN_DATE
           
private  Date beginningDate
           
static String DATE_FORMAT
           
static String DAY_TIME_UNIT
           
static String DEFAULT_BEGIN_DATE
           
static String DEFAULT_END_DATE
           
private static String END_DATE
           
static String END_DAY_TIME
           
private  String endDate
           
private  Date endingDate
           
private static org.apache.log4j.Logger LOG
           
private  String methodToCall
           
static String MONTH_TIME_UNIT
           
private static long serialVersionUID
           
private  Stats stats
           
static String TIME_FORMAT
           
static String WEEK_TIME_UNIT
           
static String YEAR_TIME_UNIT
           
 
Fields inherited from class org.kuali.rice.kns.web.struts.form.KualiForm
extraButtons
 
Fields inherited from class org.kuali.rice.kns.web.struts.pojo.PojoFormBase
requiredNonEditableProperties
 
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
 
Constructor Summary
StatsForm()
           
 
Method Summary
 void determineBeginDate()
           
 void determineEndDate()
           
 String getApprovedLabel()
           
 String getAvgActionsPerTimeUnit()
           
 String getBackLocation()
           
 String getBegDate()
           
 Date getBeginningDate()
           
 String getCanceledLabel()
           
 String getDayTimeUnit()
           
 String getDisapprovedLabel()
           
 String getEndDate()
           
 Date getEndingDate()
           
 String getEnrouteLabel()
           
 String getExceptionLabel()
           
 String getFinalLabel()
           
 String getInitiatedLabel()
           
 String getMethodToCall()
          Used by the dispatch action to determine which action method to call into.
 String getMonthTimeUnit()
           
 String getProcessedLabel()
           
 String getSavedLabel()
           
 Stats getStats()
           
 String getWeekTimeUnit()
           
 String getYearTimeUnit()
           
 Map makePerUnitOfTimeDropDownMap()
           
 void populate(javax.servlet.http.HttpServletRequest request)
          Retrieves the "returnLocation" parameter after calling "populate" on the superclass.
 void setAvgActionsPerTimeUnit(String string)
           
 void setBackLocation(String backLocation)
           
 void setBegDate(String begDate)
           
 void setBeginningDate(Date beginningDate)
           
 void setEndDate(String endDate)
           
 void setEndingDate(Date endingDate)
           
 void setMethodToCall(String methodToCall)
           
 void setStats(Stats stats)
           
 void validateDates()
           
 
Methods inherited from class org.kuali.rice.kns.web.struts.form.KualiForm
addRequiredNonEditableProperties, clearEditablePropertyInformation, getActionFormUtilMap, getAnchor, getCurrentTabIndex, getDisplayedErrors, getDisplayedInfo, getDisplayedWarnings, getDocInfo, getExtraButton, getExtraButtons, getFieldNameToFocusOnAfterSubmit, getHeaderNavigationTabs, getNavigationCss, getNextArbitrarilyHighIndex, getNumColumns, getRefreshCaller, getTabState, getTabStates, incrementTabIndex, isFieldLevelHelpEnabled, populateBackLocation, populateFieldLevelHelpEnabled, reset, reset, retrieveFormValueForLookupInquiryParameters, setActionFormUtilMap, setAnchor, setCurrentTabIndex, setDerivedValuesOnForm, setDocInfo, setExtraButton, setExtraButtons, setFieldLevelHelpEnabled, setFieldNameToFocusOnAfterSubmit, setHeaderNavigationTabs, setNavigationCss, setNumColumns, setRefreshCaller, setTabStates, shouldMethodToCallParameterBeUsed, shouldPropertyBePopulatedInForm
 
Methods inherited from class org.kuali.rice.kns.web.struts.pojo.PojoFormBase
addMaxUploadSize, cacheUnconvertedValue, copyPopulateEditablePropertiesToActionEditableProperties, customInitMaxUploadSizes, formatterClassForKeypath, formatValue, getActionEditablePropertiesGuid, getEditableProperties, getFormatter, getFormatterTypes, getIsNewForm, getMaxUploadSizes, getMethodToCallsToBypassSessionRetrievalForGETRequests, getParameter, getParameterValues, getPopulateEditableProperties, getPopulateEditablePropertiesGuid, getPropertyType, getRequiredNonEditableProperties, getStrutsActionMappingScope, getUnconvertedValues, getUnknownKeys, initMaxUploadSizes, isPropertyEditable, isPropertyNonEditableButRequired, populateForProperty, postprocessRequestParameters, processValidationFail, registerEditableProperty, registerIsNewForm, registerRequiredNonEditableProperty, registerStrutsActionMappingScope, setActionEditablePropertiesGuid, setFormatterType, setFormatterTypes, setPopulateEditablePropertiesGuid, setUnconvertedValues
 
Methods inherited from class org.apache.struts.action.ActionForm
getMultipartRequestHandler, getServlet, getServletWrapper, setMultipartRequestHandler, setServlet, validate, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

LOG

private static final org.apache.log4j.Logger LOG

BEGIN_DATE

private static final String BEGIN_DATE
See Also:
Constant Field Values

END_DATE

private static final String END_DATE
See Also:
Constant Field Values

DAY_TIME_UNIT

public static final String DAY_TIME_UNIT
See Also:
Constant Field Values

WEEK_TIME_UNIT

public static final String WEEK_TIME_UNIT
See Also:
Constant Field Values

MONTH_TIME_UNIT

public static final String MONTH_TIME_UNIT
See Also:
Constant Field Values

YEAR_TIME_UNIT

public static final String YEAR_TIME_UNIT
See Also:
Constant Field Values

DEFAULT_BEGIN_DATE

public static final String DEFAULT_BEGIN_DATE
See Also:
Constant Field Values

DEFAULT_END_DATE

public static final String DEFAULT_END_DATE
See Also:
Constant Field Values

BEG_DAY_TIME

public static final String BEG_DAY_TIME
See Also:
Constant Field Values

END_DAY_TIME

public static final String END_DAY_TIME
See Also:
Constant Field Values

DATE_FORMAT

public static final String DATE_FORMAT
See Also:
Constant Field Values

TIME_FORMAT

public static final String TIME_FORMAT
See Also:
Constant Field Values

stats

private Stats stats

methodToCall

private String methodToCall

avgActionsPerTimeUnit

private String avgActionsPerTimeUnit

begDate

private String begDate

endDate

private String endDate

beginningDate

private Date beginningDate

endingDate

private Date endingDate

backLocation

private String backLocation
Constructor Detail

StatsForm

public StatsForm()
Method Detail

populate

public void populate(javax.servlet.http.HttpServletRequest request)
Retrieves the "returnLocation" parameter after calling "populate" on the superclass.

Specified by:
populate in interface PojoForm
Overrides:
populate in class KualiForm
See Also:
KualiForm.populate(javax.servlet.http.HttpServletRequest)

determineBeginDate

public void determineBeginDate()

determineEndDate

public void determineEndDate()

makePerUnitOfTimeDropDownMap

public Map makePerUnitOfTimeDropDownMap()

validateDates

public void validateDates()

getStats

public Stats getStats()

setStats

public void setStats(Stats stats)

getApprovedLabel

public String getApprovedLabel()

getCanceledLabel

public String getCanceledLabel()

getDisapprovedLabel

public String getDisapprovedLabel()

getEnrouteLabel

public String getEnrouteLabel()

getExceptionLabel

public String getExceptionLabel()

getFinalLabel

public String getFinalLabel()

getInitiatedLabel

public String getInitiatedLabel()

getProcessedLabel

public String getProcessedLabel()

getSavedLabel

public String getSavedLabel()

getAvgActionsPerTimeUnit

public String getAvgActionsPerTimeUnit()

setAvgActionsPerTimeUnit

public void setAvgActionsPerTimeUnit(String string)

getBegDate

public String getBegDate()

setBegDate

public void setBegDate(String begDate)

getEndDate

public String getEndDate()

setEndDate

public void setEndDate(String endDate)

getMethodToCall

public String getMethodToCall()
Description copied from class: KualiForm
Used by the dispatch action to determine which action method to call into.

Overrides:
getMethodToCall in class KualiForm
Returns:
Returns the methodToCall.

setMethodToCall

public void setMethodToCall(String methodToCall)
Overrides:
setMethodToCall in class KualiForm
Parameters:
methodToCall - The methodToCall to set.

getBeginningDate

public Date getBeginningDate()

setBeginningDate

public void setBeginningDate(Date beginningDate)

getEndingDate

public Date getEndingDate()

setEndingDate

public void setEndingDate(Date endingDate)

getDayTimeUnit

public String getDayTimeUnit()

getMonthTimeUnit

public String getMonthTimeUnit()

getWeekTimeUnit

public String getWeekTimeUnit()

getYearTimeUnit

public String getYearTimeUnit()

getBackLocation

public String getBackLocation()
Overrides:
getBackLocation in class KualiForm
Returns:
the backLocation

setBackLocation

public void setBackLocation(String backLocation)
Overrides:
setBackLocation in class KualiForm
Parameters:
backLocation - the backLocation to set


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.