public interface PackageSearchResults extends OsidSearchResults
This interface provides a means to capture results of a search.
Modifier and Type | Method and Description |
---|---|
PackageQueryInspector |
getPackageQueryInspector()
Gets the inspector for the query to examine the terms used in the
search.
|
PackageList |
getPackages()
Gets the package list resulting from the search.
|
PackageSearchResultsRecord |
getPackageSearchResultsRecord(Type packageSearchRecordType)
Gets the package search results record corresponding to the given
package search record
Type. |
getResultSize
getRecordTypes, hasRecordType
getProperties, getPropertiesByRecordType
PackageList getPackages()
IllegalStateException
- list already retrievedmandatory
- This method must be implemented. PackageQueryInspector getPackageQueryInspector()
mandatory
- This method must be implemented. PackageSearchResultsRecord getPackageSearchResultsRecord(Type packageSearchRecordType) throws OperationFailedException
Type.
This method is used to
retrieve an object implementing the requested record.packageSearchRecordType
- a package search record typeNullArgumentException
- packageSearchRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(packageSearchRecordType)
is false
mandatory
- This method must be implemented.