Interface AssessmentTakenSearchResults
- All Superinterfaces:
Browsable, Extensible, OsidResult, OsidSearchResults
This interface provides a means to capture results of a search.
-
Method Summary
Modifier and TypeMethodDescriptionGets the assessment taken list resulting from the search.Gets the inspector for the query to examine the terms used in the search.getAssessmentTakenSearchResultsRecord(Type assessmentTakenSearchRecordType) Gets the assessment taken record corresponding to the given assessment taken search recordType.This method is used to retrieve an object implementing the requested record.Methods inherited from interface Browsable
getProperties, getPropertiesByRecordTypeModifier and TypeMethodDescriptionGets a list of properties.getPropertiesByRecordType(Type recordType) Gets a list of properties corresponding to the specified record type.Methods inherited from interface Extensible
getRecordTypes, hasRecordTypeModifier and TypeMethodDescriptionGets the record types available in this object.booleanhasRecordType(Type recordType) Tests if this object supports the given recordType.Methods inherited from interface OsidSearchResults
getResultSizeModifier and TypeMethodDescriptionlongReturns the size of a result set from a search query.
-
Method Details
-
getAssessmentsTaken
AssessmentTakenList getAssessmentsTaken()Gets the assessment taken list resulting from the search.- Returns:
- the assessment taken list
- Throws:
IllegalStateException- the assessment taken list has already been retrieved- Compliance:
mandatory- This method must be implemented.
-
getAssessmentTakenQueryInspector
AssessmentTakenQueryInspector getAssessmentTakenQueryInspector()Gets the inspector for the query to examine the terms used in the search.- Returns:
- the query inspector
- Compliance:
mandatory- This method must be implemented.
-
getAssessmentTakenSearchResultsRecord
AssessmentTakenSearchResultsRecord getAssessmentTakenSearchResultsRecord(Type assessmentTakenSearchRecordType) throws OperationFailedException Gets the assessment taken record corresponding to the given assessment taken search recordType.This method is used to retrieve an object implementing the requested record.- Parameters:
assessmentTakenSearchRecordType- an assessment taken search record type- Returns:
- the assessment taken search results record
- Throws:
NullArgumentException-assessmentTakenSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(assessmentTakenSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-