Interface AssessmentPartSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing assessment part searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetAssessmentPartSearchRecord(Type assessmentPartSearchRecordType) Gets the assessment part search record corresponding to the given assessment part search recordType.This method is used to retrieve an object implementing the requested record.voidorderAssessmentPartResults(AssessmentPartSearchOrder assessmentPartSearchOrder) Specify an ordering to the search results.voidsearchAmongAssessmentParts(IdList bankIds) Execute this search among the given list of assessment parts.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
-
searchAmongAssessmentParts
Execute this search among the given list of assessment parts.- Parameters:
bankIds- list of assessment parts- Throws:
NullArgumentException-bankIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderAssessmentPartResults
Specify an ordering to the search results.- Parameters:
assessmentPartSearchOrder- assessment part search order- Throws:
NullArgumentException-assessmentPartSearchOrderisnullUnsupportedException-assessmentPartSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getAssessmentPartSearchRecord
AssessmentPartSearchRecord getAssessmentPartSearchRecord(Type assessmentPartSearchRecordType) throws OperationFailedException Gets the assessment part search record corresponding to the given assessment part search recordType.This method is used to retrieve an object implementing the requested record.- Parameters:
assessmentPartSearchRecordType- an assessment part search record type- Returns:
- the assessment part search record
- Throws:
NullArgumentException-assessmentPartSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(assessmentPartSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-