Interface ControllerSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing controller searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetControllerSearchRecord(Type controllerSearchRecordType) Gets the controller search record corresponding to the given controller search recordType.This method is used to retrieve an object implementing the requested record.voidorderControllerResults(ControllerSearchOrder controllerSearchOrder) Specify an ordering to the search results.voidsearchAmongControllers(IdList controllerIds) Execute this search among the given list of controllers.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
-
searchAmongControllers
Execute this search among the given list of controllers.- Parameters:
controllerIds- list of controllers- Throws:
NullArgumentException-controllerIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderControllerResults
Specify an ordering to the search results.- Parameters:
controllerSearchOrder- controller search order- Throws:
NullArgumentException-controllerSearchOrderisnullUnsupportedException-controllerSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getControllerSearchRecord
ControllerSearchRecord getControllerSearchRecord(Type controllerSearchRecordType) throws OperationFailedException Gets the controller search record corresponding to the given controller search recordType.This method is used to retrieve an object implementing the requested record.- Parameters:
controllerSearchRecordType- a controller search record type- Returns:
- the controller search record
- Throws:
NullArgumentException-controllerSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(controllerSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-