org.kuali.kpme.tklm.leave.calendar.validation
Class LeaveCalendarValidationUtil
java.lang.Object
org.kuali.kpme.tklm.common.CalendarValidationUtil
org.kuali.kpme.tklm.leave.calendar.validation.LeaveCalendarValidationUtil
public class LeaveCalendarValidationUtil
- extends CalendarValidationUtil
Method Summary |
static Map<String,Set<String>> |
getWarningMessagesForLeaveBlocks(List<LeaveBlock> leaveBlocks)
|
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(CalendarEntry payCalEntry,
Long startTime,
Long endTime)
Deprecated. |
static List<String> |
validateLeaveAccrualRuleMaxUsage(LeaveCalendarWSForm lcf)
|
static List<String> |
validateLeaveAccrualRuleMaxUsage(LeaveSummary 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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LeaveCalendarValidationUtil
public LeaveCalendarValidationUtil()
validateLeaveEntry
public static List<String> validateLeaveEntry(LeaveCalendarForm lcf)
validateLeaveParametersByEarnCodeRecordMethod
public static List<String> validateLeaveParametersByEarnCodeRecordMethod(LeaveCalendarForm lcf)
validateTimeParametersForLeaveEntry
public static List<String> validateTimeParametersForLeaveEntry(EarnCode selectedEarnCode,
CalendarEntry leaveCalEntry,
String startDateS,
String endDateS,
String startTimeS,
String endTimeS,
String selectedAssignment,
String leaveBlockId,
String spanningWeeks)
validateLeaveAccrualRuleMaxUsage
public static List<String> validateLeaveAccrualRuleMaxUsage(LeaveCalendarWSForm lcf)
validateLeaveAccrualRuleMaxUsage
public static List<String> validateLeaveAccrualRuleMaxUsage(LeaveSummary ls,
String selectedEarnCode,
String leaveStartDateString,
String leaveEndDateString,
BigDecimal leaveAmount,
LeaveBlock updatedLeaveBlock)
validatePendingTransactions
public static Map<String,Set<String>> validatePendingTransactions(String principalId,
org.joda.time.LocalDate fromDate,
org.joda.time.LocalDate toDate)
getWarningMessagesForLeaveBlocks
public static Map<String,Set<String>> getWarningMessagesForLeaveBlocks(List<LeaveBlock> leaveBlocks)
validateAvailableLeaveBalance
public static List<String> validateAvailableLeaveBalance(LeaveCalendarWSForm lcf)
validateAvailableLeaveBalanceForUsage
public static List<String> validateAvailableLeaveBalanceForUsage(String earnCode,
String leaveStartDateString,
String leaveEndDateString,
BigDecimal leaveAmount,
LeaveBlock updatedLeaveBlock)
validateDates
@Deprecated
public static List<String> validateDates(String startDateS,
String endDateS)
- Deprecated.
validateTimes
@Deprecated
public static List<String> validateTimes(String startTimeS,
String endTimeS)
- Deprecated.
validateInterval
@Deprecated
public static List<String> validateInterval(CalendarEntry payCalEntry,
Long startTime,
Long endTime)
- Deprecated.
validateOverlap
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)
validateHoursUnderTwentyFour
public static Collection<? extends String> validateHoursUnderTwentyFour(String selectedEarnCode,
String startDate,
String endDate,
BigDecimal leaveAmount)
Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.