public class ActionFormUtils extends Object
Constructor and Description |
---|
ActionFormUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
addUnapprovedIPWarningFromClockLog(TimeDetailActionFormBase tdaf) |
static void |
addUniqueWarningsToForm(TimeDetailActionFormBase tdaf,
List<String> warningMessages) |
static void |
addWarningTextFromEarnGroup(TimeDetailActionFormBase tdaf) |
static Map<String,String> |
buildAssignmentStyleClassMap(List<? extends TimeBlockContract> timeBlocks) |
static Map<String,String> |
buildAssignmentStyleClassMap(List<? extends TimeBlockContract> timeBlocks,
List<? extends LeaveBlockContract> leaveBlocks) |
static List<CalendarEntry> |
getAllCalendarEntriesForYear(List<CalendarEntry> calendarEntries,
String year) |
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.
|
static Map<String,String> |
getPayPeriodsMap(List<CalendarEntry> payPeriods,
String viewPrincipal) |
static int |
getPlanningMonthsForEmployee(String principalid) |
static String |
getTimeBlocksJson(List<? extends TimeBlockContract> timeBlocks)
This method will build the JSON data structure needed for calendar
manipulation and processing on the client side.
|
static String |
getUnitOfTimeForEarnCode(EarnCodeContract earnCode) |
static List<String> |
getWarningForEndDate(List<Job> jobs,
CalendarEntry aCal) |
static boolean |
isOnCurrentPeriodFlag(CalendarEntry pce) |
public ActionFormUtils()
public static void addWarningTextFromEarnGroup(TimeDetailActionFormBase tdaf) throws Exception
Exception
public static void addUnapprovedIPWarningFromClockLog(TimeDetailActionFormBase tdaf)
public static void addUniqueWarningsToForm(TimeDetailActionFormBase tdaf, List<String> warningMessages)
public static Map<String,String> buildAssignmentStyleClassMap(List<? extends TimeBlockContract> timeBlocks, List<? extends LeaveBlockContract> leaveBlocks)
public static Map<String,String> buildAssignmentStyleClassMap(List<? extends TimeBlockContract> timeBlocks)
public static String getTimeBlocksJson(List<? extends TimeBlockContract> timeBlocks)
timeBlocks
- public static String getLeaveBlocksJson(List<LeaveBlock> leaveBlocks)
leaveBlocks
- public static Map<String,String> getPayPeriodsMap(List<CalendarEntry> payPeriods, String viewPrincipal)
public static boolean isOnCurrentPeriodFlag(CalendarEntry pce)
public static String getUnitOfTimeForEarnCode(EarnCodeContract earnCode)
public static int getPlanningMonthsForEmployee(String principalid)
public static List<CalendarEntry> getAllCalendarEntriesForYear(List<CalendarEntry> calendarEntries, String year)
public static List<String> getWarningForEndDate(List<Job> jobs, CalendarEntry aCal)
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.