public interface ExamService
| Modifier and Type | Method and Description | 
|---|---|
| ExamInfo | createExam(String examTypeKey,
                    ExamInfo examInfo,
                    ContextInfo contextInfo)Creates a new Exam. | 
| StatusInfo | deleteExam(String examId,
                    ContextInfo contextInfo)Deletes an existing exam. | 
| ExamInfo | getExam(String examId,
              ContextInfo contextInfo)Retrieves information about an exam. | 
| List<String> | getExamIdsByType(String examTypeKey,
                                ContextInfo contextInfo)Retrieve a list of Exam Ids by Exam Type. | 
| List<ExamInfo> | getExamsByIds(List<String> examIds,
                          ContextInfo contextInfo)Retrieves the information for the specified list of Exams (that match the given Ids). | 
| List<String> | searchForExamIds(QueryByCriteria criteria,
                                ContextInfo contextInfo)Searches for Exams that meet the given search criteria. | 
| List<ExamInfo> | searchForExams(QueryByCriteria criteria,
                            ContextInfo contextInfo)Searches for Exams that meet the given search criteria. | 
| ExamInfo | updateExam(String examId,
                    ExamInfo examInfo,
                    ContextInfo contextInfo)Updates an existing exam. | 
| List<ValidationResultInfo> | validateExam(String validationTypeKey,
                        String examTypeKey,
                        ExamInfo examInfo,
                        ContextInfo contextInfo)Validates an Exam. | 
List<ValidationResultInfo> validateExam(String validationTypeKey, String examTypeKey, ExamInfo examInfo, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
validationTypeKey - the identifier for the validation TypeexamTypeKey - the identifier for the exam type to be validatedexamInfo - the exam to be validatedcontextInfo - information containing the principalId and
                              locale information about the caller of
                              service operationDoesNotExistException - validationTypeKey or examTypeKey is not foundInvalidParameterException - examInfo or contextInfo is not validMissingParameterException - validationTypeKey, examTypeKey, examInfo, or
                                      contextInfo is missing or nullOperationFailedException - unable to complete requestPermissionDeniedException - authorization failureExamInfo createExam(String examTypeKey, ExamInfo examInfo, ContextInfo contextInfo) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException
examTypeKey - a unique identifier for the Type of the new examexamInfo - the data with which to create the examcontextInfo - information containing the principalId and locale
                          information about the caller of service operationDataValidationErrorException - supplied data is invalidDoesNotExistException - examTypeKey does not exist or is not supportedInvalidParameterException - examInfo or contextInfo is not validMissingParameterException - examTypeKey, examInfo, or
         contextInfo is missing or nullOperationFailedException - unable to complete requestPermissionDeniedException - an authorization failure occurredReadOnlyException - an attempt at supplying information designated as read onlyExamInfo getExam(String examId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
examId - the id of the examcontextInfo - Context information containing the principalId and locale
                      information about the caller of service operationDoesNotExistException - if the exam does not existInvalidParameterException - contextInfo is invalidMissingParameterException - examId or contextInfo are absent (missing or null)OperationFailedException - unable to complete requestPermissionDeniedException - an authorization failure occuredExamInfo updateExam(String examId, ExamInfo examInfo, ContextInfo contextInfo) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, ReadOnlyException, VersionMismatchException
examId - the identifier for the exam to be updatedexamInfo - the new data for the examcontextInfo - information containing the principalId and locale
        information about the caller of service operationDataValidationErrorException - supplied data is invalid (xml)DoesNotExistException - examId is not foundInvalidParameterException - examInfo or contextInfo is not validMissingParameterException - examId, examInfo or
         contextInfo is missing or nullOperationFailedException - unable to complete requestPermissionDeniedException - an authorization failure occurredReadOnlyException - an attempt was made to change information designated as read onlyVersionMismatchException - an optimistic locking failure or the action was attempted on an out
 of data versionStatusInfo deleteExam(String examId, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
examId - the identifier for the exam to be deletedcontextInfo - information containing the principalId and locale
                          information about the caller of service operationDoesNotExistException - examId is not foundInvalidParameterException - contextInfo is not validMissingParameterException - examId, or
         contextInfo is missing or nullOperationFailedException - unable to complete requestPermissionDeniedException - an authorization failure occurredList<ExamInfo> getExamsByIds(List<String> examIds, ContextInfo contextInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
examIds - List of identifiers for examscontextInfo - Context information containing the principalId and locale
                      information about the caller of service operationDoesNotExistException - One or more exams not foundInvalidParameterException - contextInfo is invalidMissingParameterException - examIds or contextInfo are absent (missing or null)OperationFailedException - unable to complete requestPermissionDeniedException - authorization failureList<String> getExamIdsByType(String examTypeKey, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
examTypeKey - the identifier for an exam TypecontextInfo - information containing the principalId and
                      locale information about the caller of
                      service operationInvalidParameterException - contextInfo is not validMissingParameterException - examTypeKey or contextInfo is
                                   missing or nullOperationFailedException - unable to complete requestPermissionDeniedException - an authorization failure occurredList<String> searchForExamIds(QueryByCriteria criteria, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
criteria - the search criteriacontextInfo - information containing the principalId and locale
                    information about the caller of service operationInvalidParameterException - criteria or contextInfo is not validMissingParameterException - criteria or contextInfo is missing or
                                   nullOperationFailedException - unable to complete requestPermissionDeniedException - an authorization failure occurredList<ExamInfo> searchForExams(QueryByCriteria criteria, ContextInfo contextInfo) throws InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
criteria - the search criteriacontextInfo - information containing the principalId and locale
                    information about the caller of service operationInvalidParameterException - criteria or contextInfo is not validMissingParameterException - criteria or contextInfo is missing or
                                   nullOperationFailedException - unable to complete requestPermissionDeniedException - an authorization failure occurredCopyright © 2004-2013 The Kuali Foundation. All Rights Reserved.