org.kuali.kfs.gl.dataaccess.impl
Class CorrectionChangeDaoOjb

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

public class CorrectionChangeDaoOjb
extends org.kuali.rice.kns.dao.impl.PlatformAwareDaoBaseOjb
implements CorrectionChangeDao

The OJB implementation of the CorrectionChangeDao


Field Summary
 
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
 
Constructor Summary
CorrectionChangeDaoOjb()
           
 
Method Summary
 void delete(CorrectionChange spec)
          Delete a CorrectionChange from the database
 List findByDocumentHeaderIdAndCorrectionGroupNumber(String documentNumber, Integer correctionGroupLineNumber)
          Query the database to find qualifying CorrectionChange records
 void save(CorrectionChange spec)
          Save a CorrectionChange to the database
 
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

CorrectionChangeDaoOjb

public CorrectionChangeDaoOjb()
Method Detail

delete

public void delete(CorrectionChange spec)
Delete a CorrectionChange from the database

Specified by:
delete in interface CorrectionChangeDao
Parameters:
spec - the CorrectionChange to delete
See Also:
CorrectionChangeDao.delete(org.kuali.kfs.gl.businessobject.CorrectionChange)

findByDocumentHeaderIdAndCorrectionGroupNumber

public List findByDocumentHeaderIdAndCorrectionGroupNumber(String documentNumber,
                                                           Integer correctionGroupLineNumber)
Query the database to find qualifying CorrectionChange records

Specified by:
findByDocumentHeaderIdAndCorrectionGroupNumber in interface CorrectionChangeDao
Parameters:
documentHeaderId - the document number of a GLCP document
correctionGroupLineNumber - the line number of the group within the GLCP document to find correction chagnes for
Returns:
a List of correction changes
See Also:
CorrectionChangeDao.findByDocumentHeaderIdAndCorrectionGroupNumber(java.lang.String, java.lang.Integer)

save

public void save(CorrectionChange spec)
Save a CorrectionChange to the database

Specified by:
save in interface CorrectionChangeDao
Parameters:
spec - a CorrectionChange to save to the database
See Also:
CorrectionChangeDao.save(org.kuali.kfs.gl.businessobject.CorrectionChange)


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