org.kuali.kfs.coa.dataaccess.impl
Class SubAccountDaoOjb
java.lang.Object
org.springframework.dao.support.DaoSupport
org.springmodules.orm.ojb.support.PersistenceBrokerDaoSupport
org.kuali.rice.kns.dao.impl.PlatformAwareDaoBaseOjb
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.
Fields inherited from class org.springframework.dao.support.DaoSupport |
logger |
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 |
SubAccountDaoOjb
public SubAccountDaoOjb()
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 keyaccountNumber
- - part of composite keysubAccountNumber
- - 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 CodeorganizationCode
- - 'Reports To' Organization CodesubAccountNumber
- - 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.