public interface BusinessSearchResults extends OsidSearchResults
This interface provides a means to capture results of a search.
| Modifier and Type | Method and Description |
|---|---|
BusinessList |
getBusinesses()
Gets the business list resulting from a search.
|
BusinessQueryInspector |
getBusinessQueryInspector()
Gets the inspector for the query to examine the terms used in the
search.
|
BusinessSearchResultsRecord |
getBusinessSearchResultsRecord(Type businessSearchRecordType)
Gets the business search results record corresponding to the given
business search record
Type. |
getResultSizegetRecordTypes, hasRecordTypegetProperties, getPropertiesByRecordTypeBusinessList getBusinesses()
IllegalStateException - the business list has already
been retrievedmandatory - This method must be implemented. BusinessQueryInspector getBusinessQueryInspector()
mandatory - This method must be implemented. BusinessSearchResultsRecord getBusinessSearchResultsRecord(Type businessSearchRecordType) throws OperationFailedException
Type. This method is used to
retrieve an object implementing the requested record.businessSearchRecordType - a business search record typeNullArgumentException - businessSearchRecordType
is null OperationFailedException - unable to complete requestUnsupportedException -
hasRecordType(businessSearchRecordType) is
false mandatory - This method must be implemented.