Interface ObjectiveSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
ObjectiveSearch defines the interface for specifying objective
search options.
-
Method Summary
Modifier and TypeMethodDescriptiongetObjectiveSearchRecord(Type objectiveSearchRecordType) Gets the objective search record corresponding to the given objective search recordType.voidorderObjectiveResults(ObjectiveSearchOrder objectiveSearchOrder) Specify an ordering to the search results.voidsearchAmongObjectives(IdList objectiveIds) Execute this search among the given list of objectives.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
-
searchAmongObjectives
Execute this search among the given list of objectives.- Parameters:
objectiveIds- list of objectives- Throws:
NullArgumentException-objectiveIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderObjectiveResults
Specify an ordering to the search results.- Parameters:
objectiveSearchOrder- objective search order- Throws:
NullArgumentException-objectiveSearchOrderisnullUnsupportedException-objectiveSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getObjectiveSearchRecord
ObjectiveSearchRecord getObjectiveSearchRecord(Type objectiveSearchRecordType) throws OperationFailedException Gets the objective search record corresponding to the given objective search recordType. This method is used to retrieve an object implementing the requested record.- Parameters:
objectiveSearchRecordType- an objective search record type- Returns:
- the objective search record
- Throws:
NullArgumentException-objectiveSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasSearchRecordType(objectiveSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-