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

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.CorrectionChangeGroupDaoOjb
All Implemented Interfaces:
CorrectionChangeGroupDao, org.kuali.rice.kns.dao.PlatformAwareDao, org.springframework.beans.factory.InitializingBean

public class CorrectionChangeGroupDaoOjb
extends org.kuali.rice.kns.dao.impl.PlatformAwareDaoBaseOjb
implements CorrectionChangeGroupDao

The OJB implementation of CorrectionChangeGroupDao


Field Summary
 
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
 
Constructor Summary
CorrectionChangeGroupDaoOjb()
           
 
Method Summary
 void delete(CorrectionChangeGroup group)
          Deletes an unlucky correction change group
 Collection findByDocumentNumber(String documentNumber)
          Finds all of the correction change groups associated with a document.
 CorrectionChangeGroup findByDocumentNumberAndCorrectionChangeGroupNumber(String documentNumber, Integer CorrectionChangeGroupNumber)
          Finds the specific group associated with the given document with the given group number
 void save(CorrectionChangeGroup group)
          Saves a correction change group
 
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

CorrectionChangeGroupDaoOjb

public CorrectionChangeGroupDaoOjb()
Method Detail

delete

public void delete(CorrectionChangeGroup group)
Deletes an unlucky correction change group

Specified by:
delete in interface CorrectionChangeGroupDao
Parameters:
group - the group to delete
See Also:
CorrectionChangeGroupDao.delete(org.kuali.kfs.gl.businessobject.CorrectionChangeGroup)

findByDocumentNumber

public Collection findByDocumentNumber(String documentNumber)
Finds all of the correction change groups associated with a document.

Specified by:
findByDocumentNumber in interface CorrectionChangeGroupDao
Parameters:
documentNumber - the document number of a GLCP document
Returns:
a Collection of CorrectionChangeGroup records
See Also:
CorrectionChangeGroupDao.findByDocumentNumber(java.lang.String)

findByDocumentNumberAndCorrectionChangeGroupNumber

public CorrectionChangeGroup findByDocumentNumberAndCorrectionChangeGroupNumber(String documentNumber,
                                                                                Integer CorrectionChangeGroupNumber)
Finds the specific group associated with the given document with the given group number

Specified by:
findByDocumentNumberAndCorrectionChangeGroupNumber in interface CorrectionChangeGroupDao
Parameters:
documentNumber - the document number of the correction change group to retrieve
CorrectionChangeGroupNumber - the number of the group to retrieve
Returns:
the found CorrectionChangeGroup, or null if not found
See Also:
CorrectionChangeGroupDao.findByDocumentNumberAndCorrectionChangeGroupNumber(java.lang.String, java.lang.Integer)

save

public void save(CorrectionChangeGroup group)
Saves a correction change group

Specified by:
save in interface CorrectionChangeGroupDao
Parameters:
group - the Correction Change Group to save
See Also:
CorrectionChangeGroupDao.save(org.kuali.kfs.gl.businessobject.CorrectionChangeGroup)


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