org.kuali.hr.time.clock.web
Class ClockActionForm

java.lang.Object
  extended by org.apache.struts.action.ActionForm
      extended by org.kuali.rice.kns.web.struts.form.pojo.PojoFormBase
          extended by org.kuali.rice.kns.web.struts.form.KualiForm
              extended by org.kuali.hr.time.base.web.TkForm
                  extended by org.kuali.hr.time.base.web.TkCommonCalendarForm
                      extended by org.kuali.hr.time.timesheet.web.TimesheetActionForm
                          extended by org.kuali.hr.time.clock.web.ClockActionForm
All Implemented Interfaces:
Serializable, org.kuali.rice.kns.web.struts.form.pojo.PojoForm

public class ClockActionForm
extends TimesheetActionForm

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.kuali.rice.kns.web.struts.form.KualiForm
org.kuali.rice.kns.web.struts.form.KualiForm.TabState
 
Field Summary
 
Fields inherited from class org.kuali.rice.kns.web.struts.form.KualiForm
extraButtons
 
Fields inherited from class org.kuali.rice.kns.web.struts.form.pojo.PojoFormBase
requiredNonEditableProperties
 
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
 
Constructor Summary
ClockActionForm()
           
 
Method Summary
 void findTimeBlocksToDistribute()
           
 List<String> getAssignDescriptionsList()
           
 Map<String,Boolean> getAssignmentLunchMap()
           
 ClockLog getClockLog()
           
 String getCurrentAssignmentDescription()
           
 String getCurrentAssignmentKey()
           
 String getCurrentClockAction()
           
 String getCurrentServerTime()
           
 TimeBlock getCurrentTimeBlock()
           
 LinkedHashMap<String,String> getDesList()
           
 List<String> getDistributeAssignList()
           
 String getEditTimeBlockId()
           
 String getErrorMessage()
           
 String getLastClockAction()
           
 String getLastClockHours()
           
 Timestamp getLastClockTimestamp()
           
 Date getLastClockTimeWithZone()
           
 String getNewAssignDesCol()
           
 String getNewBDCol()
           
 String getNewBTCol()
           
 String getNewEDCol()
           
 String getNewETCol()
           
 String getNewHrsCol()
           
 String getNextClockAction()
           
 String getOutputString()
           
 String getTargetUserTimezone()
           
 String getTbId()
           
 TimeBlock getTimeBlock()
           
 Map<String,List<TimeBlock>> getTimeBlocksMap()
           
 String getTsDocId()
           
 String getUserSystemOffsetServerTime()
           
 Long getUserTimezoneOffset()
           
 boolean isClockButtonEnabled()
           
 boolean isShowDistributeButton()
          This method is dependent on hrsDistributionF flag of TimeCollectionRule
 boolean isShowLunchButton()
          Accounts for presence of Department Lunch Rule and System Lunch Rule.
 boolean isShowMissedPunchButton()
           
 void setAssignDescriptionsList(List<String> assignDescriptionsList)
           
 void setAssignmentLunchMap(Map<String,Boolean> assignmentLunchMap)
           
 void setClockButtonEnabled(boolean clockButtonEnabled)
           
 void setClockLog(ClockLog clockLog)
           
 void setCurrentAssignmentDescription(String currentAssignmentDescription)
           
 void setCurrentAssignmentKey(String currentAssignmentKey)
           
 void setCurrentClockAction(String currentClockAction)
           
 void setCurrentServerTime(String currentServerTime)
           
 void setCurrentTimeBlock(TimeBlock currentTimeBlock)
           
 void setDesList(LinkedHashMap<String,String> desList)
           
 void setDistributeAssignList(List<String> distributeAssignList)
           
 void setEditTimeBlockId(String editTimeBlockId)
           
 void setErrorMessage(String errorMessage)
           
 void setLastClockAction(String lastClockAction)
           
 void setLastClockHours(String lastClockHours)
           
 void setLastClockTimestamp(Timestamp lastClockTimestamp)
           
 void setLastClockTimeWithZone(Date lastClockTimeWithZone)
           
 void setNewAssignDesCol(String newAssignDesCol)
           
 void setNewBDCol(String newBDCol)
           
 void setNewBTCol(String newBTCol)
           
 void setNewEDCol(String newEDCol)
           
 void setNewETCol(String newETCol)
           
 void setNewHrsCol(String newHrsCol)
           
 void setNextClockAction(String nextClockAction)
           
 void setOutputString(String outputString)
           
 void setSelectedAssignment(String selectedAssignment)
           
 void setShowDistrubuteButton(boolean showDistrubuteButton)
           
 void setShowLunchButton(boolean showLunchButton)
           
 void setShowMissedPunchButton(boolean showMissedPunchButton)
           
 void setTbId(String tbId)
           
 void setTimeBlock(TimeBlock timeBlock)
           
 void setTimeBlocksMap(Map<String,List<TimeBlock>> timeBlocksMap)
           
 void setTsDocId(String tsDocId)
           
 
Methods inherited from class org.kuali.hr.time.timesheet.web.TimesheetActionForm
getAssignmentDescriptions, getBeginPeriodDateTime, getCalNav, getDocumentId, getEarnCodeDescriptions, getEndPeriodDateTime, getForfeitures, getNextDocumentId, getPayCalendarDates, getPrevDocumentId, getSelectedAssignment, getSelectedEarnCode, getTimesheetDocument, getTransferAccrualCategory, reset, setAssignmentDescriptions, setCalNav, setDocumentId, setEarnCodeDescriptions, setForfeitures, setNextDocumentId, setPayCalendarDates, setPrevDocumentId, setSelectedEarnCode, setTimesheetDocument, setTransferAccrualCategory
 
Methods inherited from class org.kuali.hr.time.base.web.TkCommonCalendarForm
getActionMessages, getCalendarYears, getErrorMessages, getInfoMessages, getPayPeriodsMap, getSelectedCalendarYear, getSelectedPayPeriod, getWarningMessages, isOnCurrentPeriod, setActionMessages, setCalendarYears, setErrorMessages, setInfoMessages, setOnCurrentPeriod, setPayPeriodsMap, setSelectedCalendarYear, setSelectedPayPeriod, setWarningMessages
 
Methods inherited from class org.kuali.hr.time.base.web.TkForm
getDocumentIdFromContext, getDocumentStatus, getLeaveCalendarDocumentStatus, getLeaveDocumentIdFromContext, getLeaveEnabled, getMethodToCall, getPrincipalId, getTimeEnabled, getViewLeaveTabsWithNEStatus, getWorkflowUrl, setMethodToCall, setPrincipalId
 
Methods inherited from class org.kuali.rice.kns.web.struts.form.KualiForm
addRequiredNonEditableProperties, clearEditablePropertyInformation, getActionFormUtilMap, getAnchor, getBackLocation, getCurrentTabIndex, getDisplayedErrors, getDisplayedInfo, getDisplayedWarnings, getDocInfo, getExtraButton, getExtraButtons, getFieldNameToFocusOnAfterSubmit, getHeaderNavigationTabs, getNavigationCss, getNextArbitrarilyHighIndex, getNumColumns, getRefreshCaller, getTabState, getTabStates, incrementTabIndex, isFieldLevelHelpEnabled, populate, populateBackLocation, populateFieldLevelHelpEnabled, reset, retrieveFormValueForLookupInquiryParameters, setActionFormUtilMap, setAnchor, setBackLocation, setCurrentTabIndex, setDerivedValuesOnForm, setDocInfo, setExtraButton, setExtraButtons, setFieldLevelHelpEnabled, setFieldNameToFocusOnAfterSubmit, setHeaderNavigationTabs, setNavigationCss, setNumColumns, setRefreshCaller, setTabStates, shouldMethodToCallParameterBeUsed, shouldPropertyBePopulatedInForm
 
Methods inherited from class org.kuali.rice.kns.web.struts.form.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
 

Constructor Detail

ClockActionForm

public ClockActionForm()
Method Detail

getTargetUserTimezone

public String getTargetUserTimezone()

getLastClockTimeWithZone

public Date getLastClockTimeWithZone()

setLastClockTimeWithZone

public void setLastClockTimeWithZone(Date lastClockTimeWithZone)

getErrorMessage

public String getErrorMessage()

setErrorMessage

public void setErrorMessage(String errorMessage)

getOutputString

public String getOutputString()

setOutputString

public void setOutputString(String outputString)

getAssignmentLunchMap

public Map<String,Boolean> getAssignmentLunchMap()

setAssignmentLunchMap

public void setAssignmentLunchMap(Map<String,Boolean> assignmentLunchMap)

getCurrentServerTime

public String getCurrentServerTime()

setCurrentServerTime

public void setCurrentServerTime(String currentServerTime)

getUserSystemOffsetServerTime

public String getUserSystemOffsetServerTime()

getUserTimezoneOffset

public Long getUserTimezoneOffset()

getCurrentClockAction

public String getCurrentClockAction()

setCurrentClockAction

public void setCurrentClockAction(String currentClockAction)

getNextClockAction

public String getNextClockAction()

setNextClockAction

public void setNextClockAction(String nextClockAction)

getLastClockTimestamp

public Timestamp getLastClockTimestamp()

setLastClockTimestamp

public void setLastClockTimestamp(Timestamp lastClockTimestamp)

getClockLog

public ClockLog getClockLog()

setClockLog

public void setClockLog(ClockLog clockLog)

getLastClockHours

public String getLastClockHours()

setLastClockHours

public void setLastClockHours(String lastClockHours)

getTimeBlock

public TimeBlock getTimeBlock()

setTimeBlock

public void setTimeBlock(TimeBlock timeBlock)

getLastClockAction

public String getLastClockAction()

setLastClockAction

public void setLastClockAction(String lastClockAction)

getCurrentTimeBlock

public TimeBlock getCurrentTimeBlock()

setCurrentTimeBlock

public void setCurrentTimeBlock(TimeBlock currentTimeBlock)

getCurrentAssignmentDescription

public String getCurrentAssignmentDescription()

setCurrentAssignmentDescription

public void setCurrentAssignmentDescription(String currentAssignmentDescription)

isClockButtonEnabled

public boolean isClockButtonEnabled()

setClockButtonEnabled

public void setClockButtonEnabled(boolean clockButtonEnabled)

isShowLunchButton

public boolean isShowLunchButton()
Accounts for presence of Department Lunch Rule and System Lunch Rule. This method is dependent on assignmentLunchMap being populated with proper keys/values.

Returns:
true if lunch buttons should be displayed, false otherwise.

setShowLunchButton

public void setShowLunchButton(boolean showLunchButton)
Parameters:
showLunchButton - true if system lunch rule is set.

isShowDistributeButton

public boolean isShowDistributeButton()
This method is dependent on hrsDistributionF flag of TimeCollectionRule

Returns:
true if Distribute TimeBlock button should be displayed, false otherwise.

setShowDistrubuteButton

public void setShowDistrubuteButton(boolean showDistrubuteButton)

setSelectedAssignment

public void setSelectedAssignment(String selectedAssignment)
Overrides:
setSelectedAssignment in class TimesheetActionForm

getAssignDescriptionsList

public List<String> getAssignDescriptionsList()

setAssignDescriptionsList

public void setAssignDescriptionsList(List<String> assignDescriptionsList)

getEditTimeBlockId

public String getEditTimeBlockId()

setEditTimeBlockId

public void setEditTimeBlockId(String editTimeBlockId)

findTimeBlocksToDistribute

public void findTimeBlocksToDistribute()

getCurrentAssignmentKey

public String getCurrentAssignmentKey()

setCurrentAssignmentKey

public void setCurrentAssignmentKey(String currentAssignmentKey)

getTbId

public String getTbId()

setTbId

public void setTbId(String tbId)

getNewAssignDesCol

public String getNewAssignDesCol()

setNewAssignDesCol

public void setNewAssignDesCol(String newAssignDesCol)

getNewBDCol

public String getNewBDCol()

setNewBDCol

public void setNewBDCol(String newBDCol)

getNewBTCol

public String getNewBTCol()

setNewBTCol

public void setNewBTCol(String newBTCol)

getNewEDCol

public String getNewEDCol()

setNewEDCol

public void setNewEDCol(String newEDCol)

getNewETCol

public String getNewETCol()

setNewETCol

public void setNewETCol(String newETCol)

getNewHrsCol

public String getNewHrsCol()

setNewHrsCol

public void setNewHrsCol(String newHrsCol)

getTimeBlocksMap

public Map<String,List<TimeBlock>> getTimeBlocksMap()

setTimeBlocksMap

public void setTimeBlocksMap(Map<String,List<TimeBlock>> timeBlocksMap)

getDistributeAssignList

public List<String> getDistributeAssignList()

setDistributeAssignList

public void setDistributeAssignList(List<String> distributeAssignList)

getDesList

public LinkedHashMap<String,String> getDesList()

setDesList

public void setDesList(LinkedHashMap<String,String> desList)

getTsDocId

public String getTsDocId()

setTsDocId

public void setTsDocId(String tsDocId)

isShowMissedPunchButton

public boolean isShowMissedPunchButton()

setShowMissedPunchButton

public void setShowMissedPunchButton(boolean showMissedPunchButton)


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