public class LeaveCalendarValidationUtil extends CalendarValidationUtil
Constructor and Description |
---|
LeaveCalendarValidationUtil() |
Modifier and Type | Method and Description |
---|---|
static Map<String,Set<String>> |
getWarningMessagesForLeaveBlocks(List<LeaveBlock> leaveBlocks,
org.joda.time.DateTime beginDate,
org.joda.time.DateTime endDate) |
static List<String> |
validateAvailableLeaveBalance(LeaveCalendarWSForm lcf) |
static List<String> |
validateAvailableLeaveBalanceForUsage(String earnCode,
String leaveStartDateString,
String leaveEndDateString,
BigDecimal leaveAmount,
LeaveBlock updatedLeaveBlock) |
static List<String> |
validateDates(String startDateS,
String endDateS)
Deprecated.
|
static Collection<? extends String> |
validateHoursUnderTwentyFour(String selectedEarnCode,
String startDate,
String endDate,
BigDecimal leaveAmount) |
static List<String> |
validateInterval(CalendarEntryBo payCalEntry,
Long startTime,
Long endTime)
Deprecated.
|
static List<String> |
validateLeaveAccrualRuleMaxUsage(LeaveCalendarWSForm lcf) |
static List<String> |
validateLeaveAccrualRuleMaxUsage(LeaveSummaryContract ls,
String selectedEarnCode,
String leaveStartDateString,
String leaveEndDateString,
BigDecimal leaveAmount,
LeaveBlock updatedLeaveBlock) |
static List<String> |
validateLeaveEntry(LeaveCalendarForm lcf) |
static List<String> |
validateLeaveParametersByEarnCodeRecordMethod(LeaveCalendarForm lcf) |
static List<String> |
validateOverlap(Long startTime,
Long endTime,
String startDateS,
String endTimeS,
org.joda.time.DateTime startTemp,
org.joda.time.DateTime endTemp,
CalendarEntry calendarEntry,
String lmLeaveBlockId,
boolean isRegularEarnCode,
String earnCodeType) |
static Map<String,Set<String>> |
validatePendingTransactions(String principalId,
org.joda.time.LocalDate fromDate,
org.joda.time.LocalDate toDate) |
static List<String> |
validateTimeParametersForLeaveEntry(EarnCode selectedEarnCode,
CalendarEntry leaveCalEntry,
String startDateS,
String endDateS,
String startTimeS,
String endTimeS,
String selectedAssignment,
String leaveBlockId,
String spanningWeeks) |
static List<String> |
validateTimes(String startTimeS,
String endTimeS)
Deprecated.
|
validateDateTimeParametersForCalendarEntry, validateDayParametersForLeaveEntry, validateEarnCode, validateHourParametersForLeaveEntry, validateInterval, validateSpanningWeeks
public LeaveCalendarValidationUtil()
public static List<String> validateLeaveEntry(LeaveCalendarForm lcf)
public static List<String> validateLeaveParametersByEarnCodeRecordMethod(LeaveCalendarForm lcf)
public static List<String> validateTimeParametersForLeaveEntry(EarnCode selectedEarnCode, CalendarEntry leaveCalEntry, String startDateS, String endDateS, String startTimeS, String endTimeS, String selectedAssignment, String leaveBlockId, String spanningWeeks)
public static List<String> validateLeaveAccrualRuleMaxUsage(LeaveCalendarWSForm lcf)
public static List<String> validateLeaveAccrualRuleMaxUsage(LeaveSummaryContract ls, String selectedEarnCode, String leaveStartDateString, String leaveEndDateString, BigDecimal leaveAmount, LeaveBlock updatedLeaveBlock)
public static Map<String,Set<String>> validatePendingTransactions(String principalId, org.joda.time.LocalDate fromDate, org.joda.time.LocalDate toDate)
public static Map<String,Set<String>> getWarningMessagesForLeaveBlocks(List<LeaveBlock> leaveBlocks, org.joda.time.DateTime beginDate, org.joda.time.DateTime endDate)
public static List<String> validateAvailableLeaveBalance(LeaveCalendarWSForm lcf)
public static List<String> validateAvailableLeaveBalanceForUsage(String earnCode, String leaveStartDateString, String leaveEndDateString, BigDecimal leaveAmount, LeaveBlock updatedLeaveBlock)
@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)
public static List<String> validateOverlap(Long startTime, Long endTime, String startDateS, String endTimeS, org.joda.time.DateTime startTemp, org.joda.time.DateTime endTemp, CalendarEntry calendarEntry, String lmLeaveBlockId, boolean isRegularEarnCode, String earnCodeType)
public static Collection<? extends String> validateHoursUnderTwentyFour(String selectedEarnCode, String startDate, String endDate, BigDecimal leaveAmount)
Copyright © 2004–2014 The Kuali Foundation. All rights reserved.