Interface ParameterSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing parameter searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetParameterSearchRecord(Type parameterSearchRecordType) Gets the parameter search record corresponding to the given parameter search recordType.voidorderParameterResults(ParameterSearchOrder parameterSearchOrder) Specify an ordering to the search results.voidsearchAmongParameters(IdList parameterIds) Execute this search among the given list of parameters.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
-
searchAmongParameters
Execute this search among the given list of parameters.- Parameters:
parameterIds- list of parameters- Throws:
NullArgumentException-parameterIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderParameterResults
Specify an ordering to the search results.- Parameters:
parameterSearchOrder- parameter search order- Throws:
NullArgumentException-parameterSearchOrderisnullUnsupportedException-parameterSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getParameterSearchRecord
ParameterSearchRecord getParameterSearchRecord(Type parameterSearchRecordType) throws OperationFailedException Gets the parameter search record corresponding to the given parameter search recordType. This method is used to retrieve an object implementing the requested record.- Parameters:
parameterSearchRecordType- a parameter search record type- Returns:
- the parameter search record
- Throws:
NullArgumentException-parameterSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(parameterSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-