org.kuali.kfs.gl.dataaccess
Interface CorrectionChangeDao

All Known Implementing Classes:
CorrectionChangeDaoOjb

public interface CorrectionChangeDao

A DAO interface for CorrectionChange business objects to interact with the databse


Method Summary
 void delete(CorrectionChange spec)
          Surprisingly, this method deletes a GLCP correction
 List findByDocumentHeaderIdAndCorrectionGroupNumber(String documentHeaderId, Integer correctionGroupLineNumber)
          Finds CorrectionChanges associated with the given document and group
 void save(CorrectionChange spec)
          This method saves a GLCP correction
 

Method Detail

save

void save(CorrectionChange spec)
This method saves a GLCP correction

Parameters:
spec - the GLCP correction to save in the database

delete

void delete(CorrectionChange spec)
Surprisingly, this method deletes a GLCP correction

Parameters:
spec - the GLCP correction to delete

findByDocumentHeaderIdAndCorrectionGroupNumber

List findByDocumentHeaderIdAndCorrectionGroupNumber(String documentHeaderId,
                                                    Integer correctionGroupLineNumber)
Finds CorrectionChanges associated with the given document and group

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


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