public interface ModelSearchResults extends OsidSearchResults
This interface provides a means to capture results of a search.
| Modifier and Type | Method and Description |
|---|---|
ModelQueryInspector |
getModelQueryInspector()
Gets the inspector for the query to examine the terms used in the
search.
|
ModelList |
getModels()
Gets the model list resulting from a search.
|
ModelSearchResultsRecord |
getModelSearchResultsRecord(Type modelSearchRecordType)
Gets the model search results record corresponding to the given model
search record
Type. |
getResultSizegetRecordTypes, hasRecordTypegetProperties, getPropertiesByRecordTypeModelList getModels()
IllegalStateException - the model list has already been
retrievedmandatory - This method must be implemented. ModelQueryInspector getModelQueryInspector()
mandatory - This method must be implemented. ModelSearchResultsRecord getModelSearchResultsRecord(Type modelSearchRecordType) throws OperationFailedException
Type. This method is used to retrieve an
object implementing the requested record.modelSearchRecordType - a model search record typeNullArgumentException - modelSearchRecordType
is null OperationFailedException - unable to complete requestUnsupportedException -
hasRecordType(modelSearchRecordType) is false
mandatory - This method must be implemented.