project35.soa.validation
Interface DocumentValidationService

All Superinterfaces:
java.io.Serializable, ServiceClass
All Known Implementing Classes:
DuplicateRecordConfigurationsValidationService, OntologyTermValidationService, StubbedDocumentValidationService

public interface DocumentValidationService
extends ServiceClass

a validation service that is triggered whenever the user explicitly activates "Show Errors" or when the current data file is exported to a final submission format.


Copyright (c) 2008 Kevin Garwood for Project35. The original code was developed by Kevin Garwood for the University of Manchester. Revisions have been made for Project35, a project that is independent of that institution. This code is licensed under the Academic Free License version 3.0. The code attribution for the original code is included here:

Copyright (c) Kevin Garwood and University of Manchester 2007. All rights reserved. Licensed under the Academic Free License version 3.0. For more information on the terms and conditions, please see the file "LICENSE" that is included in this distribution.


Version:
1.0
Author:
Kevin Garwood (kgarwood@users.sourceforge.net)

Method Summary
 java.util.HashMap validate(Project35FormContext project35FormContext, RecordModel rootModel)
          a service that traverses the entire record tree of a document and returns a HashMap where the keys are the instances of record models and the values are ArrayLists containing alerts
 
Methods inherited from interface project35.soa.ServiceClass
getInitialisationParameters, initialiseService
 

Method Detail

validate

java.util.HashMap validate(Project35FormContext project35FormContext,
                           RecordModel rootModel)
                           throws java.lang.Exception
a service that traverses the entire record tree of a document and returns a HashMap where the keys are the instances of record models and the values are ArrayLists containing alerts

Throws:
java.lang.Exception