org.kuali.kfs.module.endow.document.service
Interface PooledFundValueService

All Known Implementing Classes:
PooledFundValueServiceImpl

public interface PooledFundValueService


Method Summary
 Date calculateValueEffectiveDate(Date valuationDate, String pooledSecurityID)
           
 String calculateValueEffectiveDateForAjax(String valuationDate, String pooledSecurityID)
          Computes the valueEffectiveDate for the AJAX call by getting the valuationDate as a String and returning the valueEffectiveDate as String
 PooledFundValue getByPrimaryKey(String id)
           
 Date getLatestValueEffectiveDate(String pooledSecurityID)
           
 List<PooledFundValue> getPooledFundValueWhereDistributionIncomeOnDateIsCurrentDate()
          Gets PooledFundValue entries where the distribution income on date is equal to current date.
 List<PooledFundValue> getPooledFundValueWhereLTProcessOnDateIsCurrentDate()
          Gets PooledFundValue entries where the long term process on date is equal to current date and value effective date is the most recent per security.
 List<PooledFundValue> getPooledFundValueWhereSTProcessOnDateIsCurrentDate()
          Gets PooledFundValue entries where the short term process on date is equal to current date and value effective date is the most recent per security.
 boolean isValuationDateTheLatest(String pooledSecurityID, Date theValuationDate)
           
 void setIncomeDistributionCompleted(List<PooledFundValue> pooledFundValueList, boolean completed)
          set PooledFundValue entries where the distribution income on date is equal to current date.
 

Method Detail

calculateValueEffectiveDate

Date calculateValueEffectiveDate(Date valuationDate,
                                 String pooledSecurityID)

getByPrimaryKey

PooledFundValue getByPrimaryKey(String id)

calculateValueEffectiveDateForAjax

String calculateValueEffectiveDateForAjax(String valuationDate,
                                          String pooledSecurityID)
Computes the valueEffectiveDate for the AJAX call by getting the valuationDate as a String and returning the valueEffectiveDate as String

Parameters:
valuationDate -
pooledSecurityID -
Returns:
the valueEffectiveDate as String

isValuationDateTheLatest

boolean isValuationDateTheLatest(String pooledSecurityID,
                                 Date theValuationDate)

getLatestValueEffectiveDate

Date getLatestValueEffectiveDate(String pooledSecurityID)

getPooledFundValueWhereSTProcessOnDateIsCurrentDate

List<PooledFundValue> getPooledFundValueWhereSTProcessOnDateIsCurrentDate()
Gets PooledFundValue entries where the short term process on date is equal to current date and value effective date is the most recent per security.

Returns:
a list of PooledFundValue entries that meet the criteria

getPooledFundValueWhereLTProcessOnDateIsCurrentDate

List<PooledFundValue> getPooledFundValueWhereLTProcessOnDateIsCurrentDate()
Gets PooledFundValue entries where the long term process on date is equal to current date and value effective date is the most recent per security.

Returns:
a list of PooledFundValue entries that meet the criteria

getPooledFundValueWhereDistributionIncomeOnDateIsCurrentDate

List<PooledFundValue> getPooledFundValueWhereDistributionIncomeOnDateIsCurrentDate()
Gets PooledFundValue entries where the distribution income on date is equal to current date.

Returns:
a list of PooledFundValue entries that meet the criteria

setIncomeDistributionCompleted

void setIncomeDistributionCompleted(List<PooledFundValue> pooledFundValueList,
                                    boolean completed)
set PooledFundValue entries where the distribution income on date is equal to current date.



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