Interface AssessmentTakenSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
AssessmentTakenSearch defines the interface for specifying
assessment search options.
-
Method Summary
Modifier and TypeMethodDescriptiongetAssessmentTakenSearchRecord(Type assessmentTakenSearchRecordType) Gets the assessment taken search record corresponding to the given assessment taken search recordType.This method is used to retrieve an object implementing the requested record.voidorderAssessmentTakenResults(AssessmentTakenSearchOrder assessmentTakenSearchOrder) Specify an ordering to the search results.voidsearchAmongAssessmentsTaken(IdList assessmentTakenIds) Execute this search among the given list of assessments.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 OsidSearch
limitResultSetModifier and TypeMethodDescriptionvoidlimitResultSet(long start, long end) By default, searches return all matching results.
-
Method Details
-
searchAmongAssessmentsTaken
Execute this search among the given list of assessments.- Parameters:
assessmentTakenIds- list of assessments taken- Throws:
NullArgumentException-assessmentTakenIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderAssessmentTakenResults
Specify an ordering to the search results.- Parameters:
assessmentTakenSearchOrder- assessment offered search order- Throws:
NullArgumentException-assessmentTakenSearchOrderisnullUnsupportedException-assessmentTakenSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getAssessmentTakenSearchRecord
AssessmentTakenSearchRecord getAssessmentTakenSearchRecord(Type assessmentTakenSearchRecordType) throws OperationFailedException Gets the assessment taken search 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 record
- Throws:
NullArgumentException-assessmentTakenSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(assessmentTakenSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-