org.kuali.kfs.fp.dataaccess.impl
Class CheckDaoOjb

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.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.


Field Summary
 
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
 
Constructor Summary
CheckDaoOjb()
          Default constructor.
 
Method Summary
 void deleteCheck(Check check)
          Delete a check from the DB.
 List findByDocumentHeaderId(String documentHeaderId)
          Retrieves accounting lines associate with a given document header ID using OJB.
 Check save(Check check)
          Saves a Check to the DB.
 
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

CheckDaoOjb

public CheckDaoOjb()
Default constructor.

Method Detail

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.