org.kuali.kfs.module.purap.document.dataaccess.impl
Class ReceivingAddressDaoOjb

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.purap.document.dataaccess.impl.ReceivingAddressDaoOjb
All Implemented Interfaces:
ReceivingAddressDao, org.kuali.rice.kns.dao.PlatformAwareDao, org.springframework.beans.factory.InitializingBean

public class ReceivingAddressDaoOjb
extends org.kuali.rice.kns.dao.impl.PlatformAwareDaoBaseOjb
implements ReceivingAddressDao

OJB Implementation of ReceivingAddressDao.


Field Summary
 
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
 
Constructor Summary
ReceivingAddressDaoOjb()
           
 
Method Summary
 int countActiveByChartOrg(String chartCode, String orgCode)
          Counts the number of the active receiving addresses with the specified chart/org code.
 Collection<ReceivingAddress> findActiveByChartOrg(String chartCode, String orgCode)
          Finds all of the active receiving addresses with the specified chart/org code.
 Collection<ReceivingAddress> findDefaultByChartOrg(String chartCode, String orgCode)
          Finds all of the active default receiving addresses with the specified chart/org code.
 
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

ReceivingAddressDaoOjb

public ReceivingAddressDaoOjb()
Method Detail

findActiveByChartOrg

public Collection<ReceivingAddress> findActiveByChartOrg(String chartCode,
                                                         String orgCode)
Description copied from interface: ReceivingAddressDao
Finds all of the active receiving addresses with the specified chart/org code.

Specified by:
findActiveByChartOrg in interface ReceivingAddressDao
Parameters:
chartCode - - chart of accounts code.
orgCode - - organization code.
Returns:
- collection of receiving addresses found.
See Also:
ReceivingAddressDao.findActiveByChartOrg(java.lang.String,java.lang.String)

findDefaultByChartOrg

public Collection<ReceivingAddress> findDefaultByChartOrg(String chartCode,
                                                          String orgCode)
Description copied from interface: ReceivingAddressDao
Finds all of the active default receiving addresses with the specified chart/org code.

Specified by:
findDefaultByChartOrg in interface ReceivingAddressDao
Parameters:
chartCode - - chart of accounts code.
orgCode - - organization code.
Returns:
- collection of receiving addresses found.
See Also:
ReceivingAddressDao.findDefaultByChartOrg(java.lang.String,java.lang.String)

countActiveByChartOrg

public int countActiveByChartOrg(String chartCode,
                                 String orgCode)
Description copied from interface: ReceivingAddressDao
Counts the number of the active receiving addresses with the specified chart/org code.

Specified by:
countActiveByChartOrg in interface ReceivingAddressDao
Parameters:
chartCode - - chart of accounts code.
orgCode - - organization code.
Returns:
- number of receiving addresses found.
See Also:
ReceivingAddressDao.countActiveByChartOrg(java.lang.String,java.lang.String)


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