Interface AddressSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing address searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetAddressSearchRecord(Type addressSearchRecordType) Gets the address search record corresponding to the given address search recordType.voidorderAddressResults(AddressSearchOrder addressSearchOrder) Specify an ordering to the search results.voidsearchAmongAddresses(IdList addressIds) Execute this search among the given list of addresses.Methods inherited from interface Extensible
getRecordTypes, hasRecordTypeModifier and TypeMethodDescriptionGets the record types available in this object.booleanhasRecordType(Type recordType) Tests if this object supports the given recordType.Methods inherited from interface OsidSearch
limitResultSetModifier and TypeMethodDescriptionvoidlimitResultSet(long start, long end) By default, searches return all matching results.
-
Method Details
-
searchAmongAddresses
Execute this search among the given list of addresses.- Parameters:
addressIds- list of addresses- Throws:
NullArgumentException-addressIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderAddressResults
Specify an ordering to the search results.- Parameters:
addressSearchOrder- address search order- Throws:
NullArgumentException-addressSearchOrderisnullUnsupportedException-addressSearchOrderis 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 recordType. 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-addressSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(addressSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-