Interface ModelSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing model searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetModelSearchRecord(Type modelSearchRecordType) Gets the model search record corresponding to the given model search recordType.voidorderModelResults(ModelSearchOrder modelSearchOrder) Specify an ordering to the search results.voidsearchAmongModels(IdList modelIds) Execute this search among the given list of models.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
-
searchAmongModels
Execute this search among the given list of models.- Parameters:
modelIds- list of models- Throws:
NullArgumentException-modelIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderModelResults
Specify an ordering to the search results.- Parameters:
modelSearchOrder- model search order- Throws:
NullArgumentException-modelSearchOrderisnullUnsupportedException-modelSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getModelSearchRecord
Gets the model search record corresponding to the given model search recordType. This method is used to retrieve an object implementing the requested record.- Parameters:
modelSearchRecordType- a model search record type- Returns:
- the model search record
- Throws:
NullArgumentException-modelSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(modelSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-