org.kuali.hr.time.detail.web
Class ActionFormUtils
java.lang.Object
org.kuali.hr.time.detail.web.ActionFormUtils
public class ActionFormUtils
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ActionFormUtils
public ActionFormUtils()
validateHourLimit
public static void validateHourLimit(TimeDetailActionFormBase tdaf)
throws Exception
- Throws:
Exception
addWarningTextFromEarnGroup
public static void addWarningTextFromEarnGroup(TimeDetailActionFormBase tdaf)
throws Exception
- Throws:
Exception
addUniqueWarningsToForm
public static void addUniqueWarningsToForm(TimeDetailActionFormBase tdaf,
List<String> warningMessages)
buildAssignmentStyleClassMap
public static Map<String,String> buildAssignmentStyleClassMap(List<TimeBlock> timeBlocks)
getTimeBlocksJson
public static String getTimeBlocksJson(List<TimeBlock> timeBlocks)
- This method will build the JSON data structure needed for calendar
manipulation and processing on the client side. Start and End times here
are based on the pre-timezone adjusted times startDisplayTime, and
endDisplayTime.
- Parameters:
timeBlocks
-
- Returns:
getPayPeriodsMap
public static Map<String,String> getPayPeriodsMap(List<CalendarEntries> payPeriods)
getOnCurrentPeriodFlag
public static boolean getOnCurrentPeriodFlag(CalendarEntries pce)
getUnitOfTimeForEarnCode
public static String getUnitOfTimeForEarnCode(EarnCode earnCode)
Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.