edu.sampleu.kew.krad.form
Class StatsForm

java.lang.Object
  extended by org.kuali.rice.krad.web.form.UifFormBase
      extended by edu.sampleu.kew.krad.form.StatsForm
All Implemented Interfaces:
Serializable, ViewModel

public class StatsForm
extends UifFormBase

A Struts ActionForm for the StatsAction.

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

Field Summary
static String BEG_DAY_TIME
           
static String DATE_FORMAT
           
static String DAY_TIME_UNIT
           
static String DEFAULT_BEGIN_DATE
           
static String DEFAULT_END_DATE
           
static String END_DAY_TIME
           
static String MONTH_TIME_UNIT
           
static String TIME_FORMAT
           
static String WEEK_TIME_UNIT
           
static String YEAR_TIME_UNIT
           
 
Fields inherited from class org.kuali.rice.krad.web.form.UifFormBase
actionParameters, attachmentFile, clientStateForSyncing, defaultsApplied, focusId, formHistory, formKey, formPostUrl, growlScript, jumpToId, jumpToName, newCollectionLines, pageId, postedView, readOnlyFieldsList, renderFullView, requestRedirect, returnFormKey, returnLocation, selectedCollectionLines, skipViewInit, updateComponentId, validateDirty, view, viewId, viewName, viewRequestParameters, viewTypeName
 
Constructor Summary
StatsForm()
           
 
Method Summary
 void determineBeginDate()
          Retrieves the "returnLocation" parameter after calling "populate" on the superclass.
 void determineEndDate()
           
 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()
          Identifies the controller method that should be invoked to fulfill a request.
 String getMonthTimeUnit()
           
 String getProcessedLabel()
           
 String getSavedLabel()
           
 Stats getStats()
           
 String getWeekTimeUnit()
           
 String getYearTimeUnit()
           
 Map makePerUnitOfTimeDropDownMap()
           
 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)
          Setter for the method to call
 void setStats(Stats stats)
           
 void validateDates()
           
 
Methods inherited from class org.kuali.rice.krad.web.form.UifFormBase
generateFormKey, getActionEvent, getActionParamaterValue, getActionParameters, getActionParametersAsProperties, getAttachmentFile, getClientStateForSyncing, getFocusId, getFormHistory, getFormKey, getFormPostUrl, getGrowlScript, getJumpToId, getJumpToName, getNewCollectionLines, getPageId, getPostedView, getReadOnlyFieldsList, getReturnFormKey, getReturnLocation, getSelectedCollectionLines, getUpdateComponentId, getView, getViewId, getViewName, getViewRequestParameters, getViewService, getViewTypeName, isDefaultsApplied, isRenderFullView, isRequestRedirect, isSkipViewInit, isValidateDirty, postBind, postRender, setActionParameters, setAttachmentFile, setDefaultsApplied, setFocusId, setFormHistory, setFormKey, setFormPostUrl, setGrowlScript, setJumpToId, setJumpToName, setNewCollectionLines, setPageId, setPostedView, setReadOnlyFieldsList, setRenderFullView, setRequestRedirect, setReturnFormKey, setReturnLocation, setSelectedCollectionLines, setSkipViewInit, setUpdateComponentId, setValidateDirty, setView, setViewId, setViewName, setViewRequestParameters, setViewTypeName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

StatsForm

public StatsForm()
Method Detail

determineBeginDate

public void determineBeginDate()
Retrieves the "returnLocation" parameter after calling "populate" on the superclass.

See Also:
org.kuali.rice.krad.web.struts.form.KualiForm#populate(javax.servlet.http.HttpServletRequest)

determineEndDate

public void determineEndDate()

makePerUnitOfTimeDropDownMap

public Map makePerUnitOfTimeDropDownMap()

validateDates

public void validateDates()

getStats

public Stats getStats()

setStats

public void setStats(Stats stats)

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: UifFormBase
Identifies the controller method that should be invoked to fulfill a request. The value will be matched up against the 'params' setting on the RequestMapping annotation for the controller method

Overrides:
getMethodToCall in class UifFormBase
Returns:
String method to call

setMethodToCall

public void setMethodToCall(String methodToCall)
Description copied from class: UifFormBase
Setter for the method to call

Overrides:
setMethodToCall in class UifFormBase

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()

setBackLocation

public void setBackLocation(String backLocation)


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.