org.kuali.kfs.fp.dataaccess.impl
Class CheckDaoOjb
java.lang.Object
org.springframework.dao.support.DaoSupport
org.springmodules.orm.ojb.support.PersistenceBrokerDaoSupport
org.kuali.rice.kns.dao.impl.PlatformAwareDaoBaseOjb
org.kuali.kfs.fp.dataaccess.impl.CheckDaoOjb
- All Implemented Interfaces:
- CheckDao, org.kuali.rice.kns.dao.PlatformAwareDao, org.springframework.beans.factory.InitializingBean
public class CheckDaoOjb
- extends org.kuali.rice.kns.dao.impl.PlatformAwareDaoBaseOjb
- implements CheckDao
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 |
CheckDaoOjb
public CheckDaoOjb()
- Default constructor.
save
public Check save(Check check)
throws org.springframework.dao.DataAccessException
- Description copied from interface:
CheckDao
- Saves a Check to the DB.
- Specified by:
save
in interface CheckDao
- Returns:
- the Check that was just saved
- Throws:
org.springframework.dao.DataAccessException
- See Also:
org.kuali.rice.kns.dao.CheckDao#save(org.kuali.kfs.fp.businessobject.Check)
deleteCheck
public void deleteCheck(Check check)
throws org.springframework.dao.DataAccessException
- Description copied from interface:
CheckDao
- Delete a check from the DB.
- Specified by:
deleteCheck
in interface CheckDao
- Parameters:
line
-
- Throws:
org.springframework.dao.DataAccessException
findByDocumentHeaderId
public List findByDocumentHeaderId(String documentHeaderId)
throws org.springframework.dao.DataAccessException
- Retrieves accounting lines associate with a given document header ID using OJB.
- Specified by:
findByDocumentHeaderId
in interface CheckDao
- Parameters:
classname
- id
-
- Returns:
-
- Throws:
org.springframework.dao.DataAccessException
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.