OSID Logo
OSID Specifications
contact package
Version 3.0.0
Release Candidate Preview
Interfaceosid.contact.AddressQueryInspector
Implementsosid.OsidObjectQueryInspector
Description

This is the query inspector for examining address queries. Each method specifies an AND term while multiple invocations of the same method produce a nested OR.

MethodgetResourceIdTerms
Description

Gets the resource Id terms.

Returnosid.search.terms.IdTerm[]the resource Id terms
CompliancemandatoryThis method must be implemented.
MethodgetResourceTerms
Description

Gets the resource terms.

Returnosid.resource.ResourceQueryInspector[]the resource terms
CompliancemandatoryThis method must be implemented.
MethodgetAddressTextTerms
Description

Gets the address text terms.

Returnosid.search.terms.StringTerm[]the string terms
CompliancemandatoryThis method must be implemented.
MethodgetContactIdTerms
Description

Gets the contact Id terms.

Returnosid.search.terms.IdTerm[]the contact Id terms
CompliancemandatoryThis method must be implemented.
MethodgetContactTerms
Description

Gets the contact terms.

Returnosid.contact.ContactQueryInspector[]the contact terms
CompliancemandatoryThis method must be implemented.
MethodgetAddressBookIdTerms
Description

Gets the address book Id terms.

Returnosid.search.terms.IdTerm[]the address book Id terms
CompliancemandatoryThis method must be implemented.
MethodgetAddressBookTerms
Description

Gets the address book terms.

Returnosid.contact.AddressBookQueryInspector[]the address book terms
CompliancemandatoryThis method must be implemented.
MethodgetAddressQueryInspectorRecord
Description

Gets the query inspector record corresponding to the given Address record Type.

Parametersosid.type.TypeaddressRecordTypean address record type
Returnosid.contact.records.AddressQueryInspectorRecordthe address query inspector record
ErrorsNULL_ARGUMENT addressRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(addressRecordType) is false
CompliancemandatoryThis method must be implemented.