Interface FunctionSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
FunctionSearch defines the interface for specifying function
search options.
-
Method Summary
Modifier and TypeMethodDescriptiongetFunctionSearchRecord(Type functionSearchRecordType) Gets the function search record corresponding to the given function search recordType.voidorderFunctionResults(FunctionSearchOrder functionSearchOrder) Specify an ordering to the search results.voidsearchAmongFunctions(IdList functionIds) Execute this search among the given list of functions.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
-
searchAmongFunctions
Execute this search among the given list of functions.- Parameters:
functionIds- list of functions- Throws:
NullArgumentException-functionIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderFunctionResults
Specify an ordering to the search results.- Parameters:
functionSearchOrder- function search order- Throws:
NullArgumentException-functionSearchOrderisnullUnsupportedException-functionSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getFunctionSearchRecord
FunctionSearchRecord getFunctionSearchRecord(Type functionSearchRecordType) throws OperationFailedException Gets the function search record corresponding to the given function search recordType. This method is used to retrieve an object implementing the requested record.- Parameters:
functionSearchRecordType- a function search record type- Returns:
- the function search record
- Throws:
NullArgumentException-functionSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(functionSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-