Interface AddressSearchResults

All Superinterfaces:
Browsable, Extensible, OsidResult, OsidSearchResults

public interface AddressSearchResults extends OsidSearchResults

This interface provides a means to capture results of a search.

  • Method Details

    • getAddresses

      AddressList getAddresses()
      Gets the address list resulting from a search.
      Returns:
      the address list
      Throws:
      IllegalStateException - list has already been retrieved
      Compliance:
      mandatory - This method must be implemented.
    • getAddressQueryInspector

      AddressQueryInspector getAddressQueryInspector()
      Gets the inspector for the query to examine the terns used in the search.
      Returns:
      the query inspector
      Compliance:
      mandatory - This method must be implemented.
    • getAddressSearchResultsRecord

      AddressSearchResultsRecord getAddressSearchResultsRecord(Type addressSearchRecordType) throws OperationFailedException
      Gets the address search results record corresponding to the given address search record Type. This method is used to retrieve an object implementing the requested record.
      Parameters:
      addressSearchRecordType - an address search record type
      Returns:
      the address search results record
      Throws:
      NullArgumentException - AddressSearchRecordType is null
      OperationFailedException - unable to complete request
      UnsupportedException - hasRecordType(addressSearchRecordType) is false
      Compliance:
      mandatory - This method must be implemented.