org.kuali.kfs.coa.dataaccess.impl
Class SubAccountDaoOjb

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.coa.dataaccess.impl.SubAccountDaoOjb
All Implemented Interfaces:
SubAccountDao, org.kuali.rice.kns.dao.PlatformAwareDao, org.springframework.beans.factory.InitializingBean

public class SubAccountDaoOjb
extends org.kuali.rice.kns.dao.impl.PlatformAwareDaoBaseOjb
implements SubAccountDao

This class is the OJB implementation of the SubAccountDao interface.


Field Summary
 
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
 
Constructor Summary
SubAccountDaoOjb()
           
 
Method Summary
 SubAccount getByPrimaryId(String chartOfAccountsCode, String accountNumber, String subAccountNumber)
          Retrieves sub account business object by primary key
 List getSubAccountsByReportsToOrganization(String chartOfAccountsCode, String organizationCode, String subAccountNumber)
          Retrieves SubAccount objects associated with the given chart-org-subAccount code combination
 
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

SubAccountDaoOjb

public SubAccountDaoOjb()
Method Detail

getByPrimaryId

public SubAccount getByPrimaryId(String chartOfAccountsCode,
                                 String accountNumber,
                                 String subAccountNumber)
Retrieves sub account business object by primary key

Specified by:
getByPrimaryId in interface SubAccountDao
Parameters:
chartOfAccountsCode - - part of composite key
accountNumber - - part of composite key
subAccountNumber - - part of composite key
Returns:
SubAccount
See Also:
SubAccountDao.getByPrimaryId(String, String, String)

getSubAccountsByReportsToOrganization

public List getSubAccountsByReportsToOrganization(String chartOfAccountsCode,
                                                  String organizationCode,
                                                  String subAccountNumber)
Retrieves SubAccount objects associated with the given chart-org-subAccount code combination

Specified by:
getSubAccountsByReportsToOrganization in interface SubAccountDao
Parameters:
chartOfAccountsCode - - 'Reports To' Chart of Accounts Code
organizationCode - - 'Reports To' Organization Code
subAccountNumber - - Sub Account Number
Returns:
a list of SubAccount objects
See Also:
SubAccountDao.getSubAccountsByReportsToOrganization(String, String, String)


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