org.kuali.hr.lm.leavecalendar.validation
Class LeaveCalendarValidationUtil

java.lang.Object
  extended by org.kuali.hr.lm.leavecalendar.validation.LeaveCalendarValidationUtil

public class LeaveCalendarValidationUtil
extends Object


Constructor Summary
LeaveCalendarValidationUtil()
           
 
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> validateLeaveAccrualRuleMaxUsage(LeaveCalendarWSForm lcf)
           
static List<String> validateLeaveAccrualRuleMaxUsage(LeaveSummary ls, String selectedEarnCode, String leaveStartDateString, String leaveEndDateString, BigDecimal leaveAmount, LeaveBlock updatedLeaveBlock)
           
static Map<String,Set<String>> validatePendingTransactions(String principalId, Date fromDate, Date toDate)
           
static List<String> validateSpanningWeeks(LeaveCalendarWSForm lcf)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LeaveCalendarValidationUtil

public LeaveCalendarValidationUtil()
Method Detail

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,
                                                                  Date fromDate,
                                                                  Date 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)

validateSpanningWeeks

public static List<String> validateSpanningWeeks(LeaveCalendarWSForm lcf)


Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.