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

All Known Implementing Classes:
KEMIDServiceImpl

public interface KEMIDService


Method Summary
 Collection<KEMID> getAllKemIdWithClosedIndicatorNo()
          Retrieves all kemId records where closed indicator = 'N'
 Collection<KEMID> getByCashSweepId(Integer cashSweepId)
          Gets all the KEMIDs matching the specified cash sweep id.
 Collection<KEMID> getByIncomeAciId(Integer aciIncomeId)
          Gets all the KEMIDs matching the specified ACI income id.
 KEMID getByPrimaryKey(String kemid)
          Gets a KEMID by primary key.
 Collection<KEMID> getByPrincipleAciId(Integer aciPrincipleId)
          Gets all the KEMIDs matching the specified ACI principle id.
 boolean isTrueEndowment(String kemid)
          Validate if a KEMID is a true endowment (or permanently restricted endowment).
 

Method Detail

getByPrimaryKey

KEMID getByPrimaryKey(String kemid)
Gets a KEMID by primary key.

Parameters:
kemid -
Returns:
a KEMID

isTrueEndowment

boolean isTrueEndowment(String kemid)
Validate if a KEMID is a true endowment (or permanently restricted endowment). If the Type Code for a KEMID has a Principal Restriction Code (END_TYP_T: TYP_PRIN_RESTR_CD) where the Permanent Indicator for the Restriction code (END_TYP_RESTR_CD_T:PERM) is Yes, then the KEMID is a true or permanently restricted endowment. A true endowment or Permanently restricted endowment is one in which the principal funds cannot be expended.

Parameters:
kemid -
Returns:
true or false

getByCashSweepId

Collection<KEMID> getByCashSweepId(Integer cashSweepId)
Gets all the KEMIDs matching the specified cash sweep id.

Parameters:
cashSweepId -
Returns:
Collection of KEMID

getByPrincipleAciId

Collection<KEMID> getByPrincipleAciId(Integer aciPrincipleId)
Gets all the KEMIDs matching the specified ACI principle id.

Parameters:
aciPrincipleId -
Returns:
Collection of KEMID

getByIncomeAciId

Collection<KEMID> getByIncomeAciId(Integer aciIncomeId)
Gets all the KEMIDs matching the specified ACI income id.

Parameters:
aciIncomeId -
Returns:
Collection of KEMID

getAllKemIdWithClosedIndicatorNo

Collection<KEMID> getAllKemIdWithClosedIndicatorNo()
Retrieves all kemId records where closed indicator = 'N'



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