org.kuali.kfs.module.endow.document.service.impl
Class KEMIDServiceImpl

java.lang.Object
  extended by org.kuali.kfs.module.endow.document.service.impl.KEMIDServiceImpl
All Implemented Interfaces:
KEMIDService

public class KEMIDServiceImpl
extends Object
implements KEMIDService


Constructor Summary
KEMIDServiceImpl()
           
 
Method Summary
 Collection<KEMID> getAllKemIdWithClosedIndicatorNo()
          Retrieves all kemId records where closed indicator = 'N'
 org.kuali.rice.kns.service.BusinessObjectService getBusinessObjectService()
          This method gets the businessObjectService.
 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).
 void setBusinessObjectService(org.kuali.rice.kns.service.BusinessObjectService businessObjectService)
          This method sets the businessObjectService
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KEMIDServiceImpl

public KEMIDServiceImpl()
Method Detail

getByPrimaryKey

public KEMID getByPrimaryKey(String kemid)
Description copied from interface: KEMIDService
Gets a KEMID by primary key.

Specified by:
getByPrimaryKey in interface KEMIDService
Returns:
a KEMID
See Also:
KEMIDService.getByPrimaryKey(java.lang.String)

isTrueEndowment

public boolean isTrueEndowment(String kemid)
Description copied from interface: KEMIDService
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.

Specified by:
isTrueEndowment in interface KEMIDService
Returns:
true or false
See Also:
KEMIDService.isTrueEndowment(java.lang.String)

getByCashSweepId

public Collection<KEMID> getByCashSweepId(Integer cashSweepId)
Description copied from interface: KEMIDService
Gets all the KEMIDs matching the specified cash sweep id.

Specified by:
getByCashSweepId in interface KEMIDService
Returns:
Collection of KEMID
See Also:
KEMIDService.getByCashSweepId(java.lang.Integer)

getByPrincipleAciId

public Collection<KEMID> getByPrincipleAciId(Integer aciPrincipleId)
Description copied from interface: KEMIDService
Gets all the KEMIDs matching the specified ACI principle id.

Specified by:
getByPrincipleAciId in interface KEMIDService
Returns:
Collection of KEMID
See Also:
KEMIDService.getByPrincipleAciId(java.lang.Integer)

getByIncomeAciId

public Collection<KEMID> getByIncomeAciId(Integer aciIncomeId)
Description copied from interface: KEMIDService
Gets all the KEMIDs matching the specified ACI income id.

Specified by:
getByIncomeAciId in interface KEMIDService
Returns:
Collection of KEMID
See Also:
KEMIDService.getByIncomeAciId(java.lang.Integer)

getAllKemIdWithClosedIndicatorNo

public Collection<KEMID> getAllKemIdWithClosedIndicatorNo()
Description copied from interface: KEMIDService
Retrieves all kemId records where closed indicator = 'N'

Specified by:
getAllKemIdWithClosedIndicatorNo in interface KEMIDService
See Also:
Retrieves all kemId records where closed indicator = 'N'

getBusinessObjectService

public org.kuali.rice.kns.service.BusinessObjectService getBusinessObjectService()
This method gets the businessObjectService.

Returns:
businessObjectService

setBusinessObjectService

public void setBusinessObjectService(org.kuali.rice.kns.service.BusinessObjectService businessObjectService)
This method sets the businessObjectService

Parameters:
businessObjectService -


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