org.kuali.kfs.module.endow.dataaccess.impl
Class SecurityDaoOjb

java.lang.Object
  extended by org.springframework.dao.support.DaoSupport
      extended by org.springmodules.orm.ojb.support.PersistenceBrokerDaoSupport
          extended by org.kuali.rice.kns.dao.impl.PlatformAwareDaoBaseOjb
              extended by org.kuali.kfs.module.endow.dataaccess.impl.SecurityDaoOjb
All Implemented Interfaces:
SecurityDao, org.kuali.rice.kns.dao.PlatformAwareDao, org.springframework.beans.factory.InitializingBean

public class SecurityDaoOjb
extends org.kuali.rice.kns.dao.impl.PlatformAwareDaoBaseOjb
implements SecurityDao


Field Summary
 
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
 
Constructor Summary
SecurityDaoOjb()
           
 
Method Summary
 List<Security> getAllSecuritiesWithNextPayDateEqualCurrentDate()
          Gets all the securities for which the next income pay date is current date.
 List<Security> getSecuritiesByClassCodeWithUnitsGreaterThanZero(List<String> classCodes)
          Gets all securities with a class code in the list given as input and with the number of units greater than zero.
 Collection<Security> getSecuritiesBySecurityClassCode(String securityClassCode)
          Gets a collection of securities for a given securityclasscode (SEC_CLS_CD)
 List<Security> getSecuritiesWithNextPayDateEqualToCurrentDate()
          Gets securities whose next income pay date is equal to the current date and whose frequency code is valid
 void setKemService(KEMService kemService)
          Sets the kemService.
 
Methods inherited from class org.kuali.rice.kns.dao.impl.PlatformAwareDaoBaseOjb
getDbPlatform, setDbPlatform
 
Methods inherited from class org.springmodules.orm.ojb.support.PersistenceBrokerDaoSupport
checkDaoConfig, convertOjbAccessException, createPersistenceBrokerTemplate, getJcdAlias, getPersistenceBroker, getPersistenceBrokerTemplate, releasePersistenceBroker, setJcdAlias, setPersistenceBrokerTemplate
 
Methods inherited from class org.springframework.dao.support.DaoSupport
afterPropertiesSet, initDao
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecurityDaoOjb

public SecurityDaoOjb()
Method Detail

getAllSecuritiesWithNextPayDateEqualCurrentDate

public List<Security> getAllSecuritiesWithNextPayDateEqualCurrentDate()
Description copied from interface: SecurityDao
Gets all the securities for which the next income pay date is current date.

Specified by:
getAllSecuritiesWithNextPayDateEqualCurrentDate in interface SecurityDao
Returns:
See Also:
SecurityDao.getAllSecuritiesWithNextPayDateEqualCurrentDate()

getSecuritiesWithNextPayDateEqualToCurrentDate

public List<Security> getSecuritiesWithNextPayDateEqualToCurrentDate()
Description copied from interface: SecurityDao
Gets securities whose next income pay date is equal to the current date and whose frequency code is valid

Specified by:
getSecuritiesWithNextPayDateEqualToCurrentDate in interface SecurityDao
Returns:
List
See Also:
org.kuali.kfs.module.endow.dataaccess.SecurityDao#getAllSecuritiesWithNextPayDateEquaTolCurrentDate()

getSecuritiesByClassCodeWithUnitsGreaterThanZero

public List<Security> getSecuritiesByClassCodeWithUnitsGreaterThanZero(List<String> classCodes)
Description copied from interface: SecurityDao
Gets all securities with a class code in the list given as input and with the number of units greater than zero.

Specified by:
getSecuritiesByClassCodeWithUnitsGreaterThanZero in interface SecurityDao
Parameters:
classCodes - the list of class codes to use to retrieve securities
Returns:
all securities that meet the criteria
See Also:
org.kuali.kfs.module.endow.dataaccess.SecurityDao#getSecuritiesByClassCodeWithUnitsGreaterThanZero(java.lang.String[])

getSecuritiesBySecurityClassCode

public Collection<Security> getSecuritiesBySecurityClassCode(String securityClassCode)
Description copied from interface: SecurityDao
Gets a collection of securities for a given securityclasscode (SEC_CLS_CD)

Specified by:
getSecuritiesBySecurityClassCode in interface SecurityDao
Returns:
Collection
See Also:
SecurityDao.getSecuritiesBySecurityClassCode(String)

setKemService

public void setKemService(KEMService kemService)
Sets the kemService.

Parameters:
kemService -


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