next up previous contents
Next: GAME Up: Subject Assessment Management Previous: Subject Assessment Management   Contents

Reconciliation

For the double entry functionality, data reconciliation functionality is provided by portions of ISubjectAssessmentManagement interface and its implementations.

To retrieve data for both unvalidated entries for reconciliation use the getReconciliationDataForAssessment method on ISubjectAssessmentManagement. This method retrieves the unvalidated score values form the database, gets the question text information to be used as visual clue for the user during reconciliation from the database if the question data is available and creates a lookup table keyed by score name of ReconScoreValueInfo objects.

To check for readiness of an assessment for reconciliation, invoke the isAssessmentReconciled method. This method , like the rest of the reconciliation related functionality assumes that the score names within a score are unique. This method will return false if any of the two entries have any score values have a missing value without proper indication of a reason for the missing value.

To check if the assessment is alredy reconciled invoke the isAssessmentReconciled method.

The reconciliation information is persisted to the database via a call to the saveReconciledAssessmentData method. This method only creates a third entry in the corresponding NC_ASSESSMENTXXXX tables for the mismatched first and second entries to score the reconciled and validated score value, for other score values with both matching entries, the first entry is tagged as valid by convention.

The controller for reconcilation functionality is ReconciliationAction, the form bean is ReconciliationForm and the corresponding JSP is Recon.jsp.


next up previous contents
Next: GAME Up: Subject Assessment Management Previous: Subject Assessment Management   Contents
Burak Ozyurt 2008-03-28