Interface AddressSearch

All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable

public interface AddressSearch extends OsidSearch

The search interface for governing address searches.

  • Method Details

    • searchAmongAddresses

      void searchAmongAddresses(IdList addressIds)
      Execute this search among the given list of addresses.
      Parameters:
      addressIds - list of addresses
      Throws:
      NullArgumentException - addressIds is null
      Compliance:
      mandatory - This method must be implemented.
    • orderAddressResults

      void orderAddressResults(AddressSearchOrder addressSearchOrder)
      Specify an ordering to the search results.
      Parameters:
      addressSearchOrder - address search order
      Throws:
      NullArgumentException - addressSearchOrder is null
      UnsupportedException - addressSearchOrder is not of this service
      Compliance:
      mandatory - This method must be implemented.
    • getAddressSearchRecord

      AddressSearchRecord getAddressSearchRecord(Type addressSearchRecordType) throws OperationFailedException
      Gets the address search 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 record
      Throws:
      NullArgumentException - addressSearchRecordType is null
      OperationFailedException - unable to complete request
      UnsupportedException - hasRecordType(addressSearchRecordType) is false
      Compliance:
      mandatory - This method must be implemented.