org.kuali.kfs.gl.dataaccess
Interface CorrectionChangeGroupDao

All Known Implementing Classes:
CorrectionChangeGroupDaoOjb

public interface CorrectionChangeGroupDao

a DAO interface that declares methods needed for CorrectionChangeGroups to deal with the database


Method Summary
 void delete(CorrectionChangeGroup group)
          Deletes a CorrectionChangeGroup from the database
 Collection findByDocumentNumber(String documentNumber)
          Finds all CorrectionChange groups associated with a document
 CorrectionChangeGroup findByDocumentNumberAndCorrectionChangeGroupNumber(String documentNumber, Integer CorrectionChangeGroupNumber)
          Finds a correction change group, based on GLCP document number and the group number
 void save(CorrectionChangeGroup group)
          Saves a Correction Group to the database
 

Method Detail

save

void save(CorrectionChangeGroup group)
Saves a Correction Group to the database

Parameters:
group - the group to save

delete

void delete(CorrectionChangeGroup group)
Deletes a CorrectionChangeGroup from the database

Parameters:
group - the group to delete

findByDocumentNumber

Collection findByDocumentNumber(String documentNumber)
Finds all CorrectionChange groups associated with a document

Parameters:
documentNumber - the document number of a GLCP document
Returns:
a Collection of CorrectionChangeGroup records

findByDocumentNumberAndCorrectionChangeGroupNumber

CorrectionChangeGroup findByDocumentNumberAndCorrectionChangeGroupNumber(String documentNumber,
                                                                         Integer CorrectionChangeGroupNumber)
Finds a correction change group, based on GLCP document number and the group number

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


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