Interface GradebookSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The interface for governing gradebook searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetGradebookSearchRecord(Type gradebookSearchRecordType) Gets the gradebook search record corresponding to the given gradebook search recordType.voidorderGradebookResults(GradebookSearchOrder gradebookSearchOrder) Specify an ordering to the search results.voidsearchAmongGradebooks(IdList gradebookIds) Execute this search among the given list of gradebooks.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
-
searchAmongGradebooks
Execute this search among the given list of gradebooks.- Parameters:
gradebookIds- list of gradebooks- Throws:
NullArgumentException-gradebookIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderGradebookResults
Specify an ordering to the search results.- Parameters:
gradebookSearchOrder- gradebook search order- Throws:
NullArgumentException-gradebookSearchOrderisnullUnsupportedException-gradebookSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getGradebookSearchRecord
GradebookSearchRecord getGradebookSearchRecord(Type gradebookSearchRecordType) throws OperationFailedException Gets the gradebook search record corresponding to the given gradebook search recordType. This method is used to retrieve an object implementing the requested record.- Parameters:
gradebookSearchRecordType- a gradebook search record type- Returns:
- the gradebook search record
- Throws:
NullArgumentException-gradebookSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(gradebookSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-