org.kuali.kfs.module.endow.batch.service
Interface KemidFeeService

All Known Implementing Classes:
KemidFeeServiceImpl

public interface KemidFeeService


Method Summary
 boolean chargeFeeToKemid(FeeMethod feeMethod, KemidFee kemidFee)
          Determines if the fee to be charged or not to the kemid based on the contions: FEE_IMPL_DT is equal to or less than the current date and FEE_TERM_DT is null or greater than the current date.
 Collection<KemidFee> getAllKemIdFee()
          Gets all the KemidFee records as a collection
 Collection<KemidFee> getAllKemidForFeeMethodCode(String feeMethodCode)
          Retrieves all KemidFee records for the given feeMethodCode.
 boolean saveKemidFee(KemidFee kemidFee)
          Saves the kemidFee record to the table END_KEMID_FEE_T
 boolean updateWaiverFeeYearToDateTotals()
          updates Waiver Fee Year-To-Date totals.
 

Method Detail

updateWaiverFeeYearToDateTotals

boolean updateWaiverFeeYearToDateTotals()
updates Waiver Fee Year-To-Date totals.

Returns:
true if the amounts updated else return false

getAllKemIdFee

Collection<KemidFee> getAllKemIdFee()
Gets all the KemidFee records as a collection

Returns:
collection records

saveKemidFee

boolean saveKemidFee(KemidFee kemidFee)
Saves the kemidFee record to the table END_KEMID_FEE_T

Parameters:
kemidFee -
Returns:
true if saved else false...

getAllKemidForFeeMethodCode

Collection<KemidFee> getAllKemidForFeeMethodCode(String feeMethodCode)
Retrieves all KemidFee records for the given feeMethodCode.


chargeFeeToKemid

boolean chargeFeeToKemid(FeeMethod feeMethod,
                         KemidFee kemidFee)
Determines if the fee to be charged or not to the kemid based on the contions: FEE_IMPL_DT is equal to or less than the current date and FEE_TERM_DT is null or greater than the current date. IF there is a value greater than zero in END_KEMID_FEE_T: FEE_CORPUS_PCT_TLRNC and a record exists for the KEMID in END_KEMID_CORPUS_VAL_T and CURR_CORPUSPRIN_MVAL divided by CURR_CORPUS_VAL is less than END_KEMID_FEE_T: FEE_CORPUS_PCT_TLRNC, then skip the KEMID as no fee will be charged.

Parameters:
feeMethod - feeMethod record, kemidFee kemidFee record
Returns:
true if fee to be charged to the kemid else return false


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.