org.kuali.kfs.sys.dataaccess.impl
Class AccountingLineDaoOjb
java.lang.Object
org.springframework.dao.support.DaoSupport
org.springmodules.orm.ojb.support.PersistenceBrokerDaoSupport
org.kuali.rice.kns.dao.impl.PlatformAwareDaoBaseOjb
org.kuali.kfs.sys.dataaccess.impl.AccountingLineDaoOjb
- All Implemented Interfaces:
- AccountingLineDao, org.kuali.rice.kns.dao.PlatformAwareDao, org.springframework.beans.factory.InitializingBean
public class AccountingLineDaoOjb
- extends org.kuali.rice.kns.dao.impl.PlatformAwareDaoBaseOjb
- implements AccountingLineDao
This class is the OJB implementation of the AccountingLineDao 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 |
AccountingLineDaoOjb
public AccountingLineDaoOjb()
- Default constructor.
save
public void save(AccountingLine line)
throws org.springframework.dao.DataAccessException
- Saves an accounting line to the DB using OJB.
- Specified by:
save
in interface AccountingLineDao
- Parameters:
line
-
- Throws:
org.springframework.dao.DataAccessException
deleteAccountingLine
public void deleteAccountingLine(AccountingLine line)
throws org.springframework.dao.DataAccessException
- Deletes an accounting line from the DB using OJB.
- Specified by:
deleteAccountingLine
in interface AccountingLineDao
- Throws:
org.springframework.dao.DataAccessException
findByDocumentHeaderId
public ArrayList findByDocumentHeaderId(Class clazz,
String documentHeaderId)
throws org.springframework.dao.DataAccessException
- Retrieves accounting lines associate with a given document header ID using OJB.
- Specified by:
findByDocumentHeaderId
in interface AccountingLineDao
- Parameters:
classname
- id
-
- Returns:
-
- Throws:
org.springframework.dao.DataAccessException
findCollection
protected Collection findCollection(org.apache.ojb.broker.query.Query query)
throws org.springframework.dao.DataAccessException
- Retrieve a Collection of Document instances found by a query.
- Parameters:
query
-
- Returns:
-
- Throws:
org.springframework.dao.DataAccessException
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.