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()
addWarningTextFromEarnGroup
public static void addWarningTextFromEarnGroup(TimeDetailActionFormBase tdaf)
throws Exception
- Throws:
Exception
addUnapprovedIPWarningFromClockLog
public static void addUnapprovedIPWarningFromClockLog(TimeDetailActionFormBase tdaf)
addUniqueWarningsToForm
public static void addUniqueWarningsToForm(TimeDetailActionFormBase tdaf,
List<String> warningMessages)
buildAssignmentStyleClassMap
public static Map<String,String> buildAssignmentStyleClassMap(List<TimeBlock> timeBlocks,
List<LeaveBlock> leaveBlocks)
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:
getLeaveBlocksJson
public static String getLeaveBlocksJson(List<LeaveBlock> leaveBlocks)
- This method will build the leave blocks JSON data structure needed for calendar
manipulation and processing on the client side.
- Parameters:
leaveBlocks
-
- Returns:
getPayPeriodsMap
public static Map<String,String> getPayPeriodsMap(List<CalendarEntries> payPeriods,
String viewPrincipal)
getOnCurrentPeriodFlag
public static boolean getOnCurrentPeriodFlag(CalendarEntries pce)
getUnitOfTimeForEarnCode
public static String getUnitOfTimeForEarnCode(EarnCode earnCode)
getPlanningMonthsForEmployee
public static int getPlanningMonthsForEmployee(String principalid)
getAllCalendarEntriesForYear
public static List<CalendarEntries> getAllCalendarEntriesForYear(List<CalendarEntries> entries,
String year)
Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.