public interface RepositorySearchResults extends OsidSearchResults
This interface provides a means to capture results of a search.
Modifier and Type | Method and Description |
---|---|
RepositoryList |
getRepositories()
Gets the repository list resulting from the search.
|
RepositoryQueryInspector |
getRepositoryQueryInspector()
Gets the inspector for the query to examine the terms used in the
search.
|
RepositorySearchResultsRecord |
getRepositorySearchResultsRecord(Type repositorySearchRecordType)
Gets the repository search results record corresponding to the given
repository search record
Type. |
getResultSize
getRecordTypes, hasRecordType
getProperties, getPropertiesByRecordType
RepositoryList getRepositories()
IllegalStateException
- the list has already been
retrievedmandatory
- This method must be implemented. RepositoryQueryInspector getRepositoryQueryInspector()
mandatory
- This method must be implemented. RepositorySearchResultsRecord getRepositorySearchResultsRecord(Type repositorySearchRecordType) throws OperationFailedException
Type.
This method is used to
retrieve an object implementing the requested record.repositorySearchRecordType
- a repository search record typeNullArgumentException
-
repositorySearchRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(repositorySearchRecordType)
is
false
mandatory
- This method must be implemented.