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

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

public class CorrectionCriteriaDaoOjb
extends org.kuali.rice.kns.dao.impl.PlatformAwareDaoBaseOjb
implements CorrectionCriteriaDao

An OJB implementation of CorrectionCriteriaDao


Field Summary
 
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
 
Constructor Summary
CorrectionCriteriaDaoOjb()
           
 
Method Summary
 void delete(CorrectionCriteria criterion)
          Deletes a correction criterion
 List findByDocumentNumberAndCorrectionGroupNumber(String documentNumber, Integer correctionGroupLineNumber)
          Queries the database for a list of all the correction criteria associated with the given GLCP document and correction group
 void save(CorrectionCriteria criterion)
          Saves a GLCP criterion
 
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

CorrectionCriteriaDaoOjb

public CorrectionCriteriaDaoOjb()
Method Detail

delete

public void delete(CorrectionCriteria criterion)
Deletes a correction criterion

Specified by:
delete in interface CorrectionCriteriaDao
Parameters:
criterion - the criterion to delete
See Also:
CorrectionCriteriaDao.delete(org.kuali.kfs.gl.businessobject.CorrectionCriteria)

findByDocumentNumberAndCorrectionGroupNumber

public List findByDocumentNumberAndCorrectionGroupNumber(String documentNumber,
                                                         Integer correctionGroupLineNumber)
Queries the database for a list of all the correction criteria associated with the given GLCP document and correction group

Specified by:
findByDocumentNumberAndCorrectionGroupNumber in interface CorrectionCriteriaDao
Parameters:
documentNumber - the GLCP document number of correction criteria to find
correctionGroupLineNumber - the correction group of correction criteria to find
Returns:
a List of collection criteria
See Also:
CorrectionCriteriaDao.findByDocumentNumberAndCorrectionGroupNumber(java.lang.String, java.lang.Integer)

save

public void save(CorrectionCriteria criterion)
Saves a GLCP criterion

Specified by:
save in interface CorrectionCriteriaDao
Parameters:
criterion - the criterion to save


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