public class TimeDetailValidationUtil extends CalendarValidationUtil
Constructor and Description |
---|
TimeDetailValidationUtil() |
Modifier and Type | Method and Description |
---|---|
static List<String> |
validateDates(String startDateS,
String endDateS)
Deprecated.
|
static List<String> |
validateEarnCode(String earnCode,
String startDateString,
String endDateString)
Deprecated.
|
static List<String> |
validateInterval(CalendarEntryBo payCalEntry,
Long startTime,
Long endTime)
Deprecated.
|
static List<String> |
validateLeaveEntry(TimeDetailActionFormBase tdaf) |
static List<String> |
validateLeaveParametersByEarnCodeRecordMethod(TimeDetailActionFormBase lcf) |
static List<String> |
validateOverlap(Long startTime,
Long endTime,
boolean acrossDays,
String startDateS,
String endTimeS,
org.joda.time.DateTime startTemp,
org.joda.time.DateTime endTemp,
TimesheetDocument timesheetDocument,
String timeblockId,
boolean isRegularEarnCode,
String selectedEarnCode) |
static List<String> |
validateTimeEntryDetails(BigDecimal hours,
BigDecimal amount,
String startTimeS,
String endTimeS,
String startDateS,
String endDateS,
TimesheetDocument timesheetDocument,
String selectedEarnCode,
String selectedAssignment,
boolean acrossDays,
String timeblockId,
String overtimePref) |
static List<String> |
validateTimeEntryDetails(TimeDetailActionFormBase tdaf)
Convenience method for handling validation directly from the form object.
|
static List<String> |
validateTimes(String startTimeS,
String endTimeS)
Deprecated.
|
validateDateTimeParametersForCalendarEntry, validateDayParametersForLeaveEntry, validateHourParametersForLeaveEntry, validateInterval, validateSpanningWeeks
public TimeDetailValidationUtil()
public static List<String> validateLeaveEntry(TimeDetailActionFormBase tdaf) throws Exception
Exception
public static List<String> validateLeaveParametersByEarnCodeRecordMethod(TimeDetailActionFormBase lcf)
@Deprecated public static List<String> validateEarnCode(String earnCode, String startDateString, String endDateString)
earnCode
- startDateString
- endDateString
- public static List<String> validateTimeEntryDetails(TimeDetailActionFormBase tdaf)
tdaf
- The populated form.public static List<String> validateTimeEntryDetails(BigDecimal hours, BigDecimal amount, String startTimeS, String endTimeS, String startDateS, String endDateS, TimesheetDocument timesheetDocument, String selectedEarnCode, String selectedAssignment, boolean acrossDays, String timeblockId, String overtimePref)
public static List<String> validateOverlap(Long startTime, Long endTime, boolean acrossDays, String startDateS, String endTimeS, org.joda.time.DateTime startTemp, org.joda.time.DateTime endTemp, TimesheetDocument timesheetDocument, String timeblockId, boolean isRegularEarnCode, String selectedEarnCode)
@Deprecated public static List<String> validateDates(String startDateS, String endDateS)
@Deprecated public static List<String> validateTimes(String startTimeS, String endTimeS)
@Deprecated public static List<String> validateInterval(CalendarEntryBo payCalEntry, Long startTime, Long endTime)
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.