org.kuali.kfs.gl.dataaccess.impl
Class CorrectionChangeDaoOjb
java.lang.Object
org.springframework.dao.support.DaoSupport
org.springmodules.orm.ojb.support.PersistenceBrokerDaoSupport
org.kuali.rice.kns.dao.impl.PlatformAwareDaoBaseOjb
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
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 |
CorrectionChangeDaoOjb
public CorrectionChangeDaoOjb()
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 documentcorrectionGroupLineNumber
- 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.