public interface ContactProxyManager extends OsidProxyManager, ContactProfile
The contact manager provides access to contact sessions and provides
interoperability tests for various aspects of this service. Methods in
this manager accept a Proxy for passing information from a
server environment. The sessions included in this manager are:
ContactSession : a session to get available
contacts for a resource ContactLookupSession: a session to lookup contacts
ContactQuerySession: a session to query contacts
ContactSearchSession: a session to search contacts
ContactAdminSession: a session to manage contacts
ContactNotificationSession: a session to subscribe
to notifications of contact changes ContactAddressBookSession: a session to lookup
contact address book mappings ContactAddressBookAssignmentSession: a session to
manage contact address book mappings ContactSmartAddressBookSession: a session to
manage smart address books of contacts AddressLookupSession: a session to retrieve
addresses AddressQuerySession: a session to query addresses
AddressSearchSession: a session to search for
addresses AddressAdminSession: a session to create, update
and delete addresses AddressNotificationSession: a session to receive
notifications for changes in addresses AddressAddressBookSession: a session to lookup
address address book mappings AddressAddressBookAssignmentSession: a session to
manage address address book mappings AddressSmartAddressBookSession: a session to
manage smart address books of addresses AddressBookLookupSession: a session to retrieve
address books AddressBookQuerySession: a session to query
address books AddressBookSearchSession: a session to search for
address books AddressBookAdminSession: a session to create,
update and delete address books AddressBookNotificationSession: a session to
receive notifications for changes in address books AddressBookHierarchyTraversalSession: a session to
traverse hierarchies of address books AddressBookHierarchyDesignSession: a session to
manage hierarchies of address books The contact manager also provides a profile for determing the supported search types supported by this service.
| Modifier and Type | Method and Description |
|---|---|
AddressAddressBookAssignmentSession |
getAddressAddressBookAssignmentSession(Proxy proxy)
Gets the session for assigning address to address book mappings.
|
AddressAddressBookSession |
getAddressAddressBookSession(Proxy proxy)
Gets the session for retrieving address to address book mappings.
|
AddressAdminSession |
getAddressAdminSession(Proxy proxy)
Gets the
OsidSession associated with the address
administrative service. |
AddressAdminSession |
getAddressAdminSessionForAddressBook(Id addressBookId,
Proxy proxy)
Gets the
OsidSession associated with the address
administration service for the given address book. |
AddressBookAdminSession |
getAddressBookAdminSession(Proxy proxy)
Gets the
OsidSession associated with the address book
administrative service. |
AddressBookHierarchyDesignSession |
getAddressBookHierarchyDesignSession(Proxy proxy)
Gets the
OsidSession associated with the address book
hierarchy design service. |
AddressBookHierarchySession |
getAddressBookHierarchySession(Proxy proxy)
Gets the
OsidSession associated with the address book
hierarchy service. |
AddressBookLookupSession |
getAddressBookLookupSession(Proxy proxy)
Gets the
OsidSession associated with the address book
lookup service. |
AddressBookNotificationSession |
getAddressBookNotificationSession(AddressBookReceiver addressBookReceiver,
Proxy proxy)
Gets the
OsidSession associated with the address book
notification service. |
AddressBookQuerySession |
getAddressBookQuerySession(Proxy proxy)
Gets the
OsidSession associated with the address book
query service. |
AddressBookSearchSession |
getAddressBookSearchSession(Proxy proxy)
Gets the
OsidSession associated with the address book
search service. |
AddressLookupSession |
getAddressLookupSession(Proxy proxy)
Gets the
OsidSession associated with the address lookup
service. |
AddressLookupSession |
getAddressLookupSessionForAddressBook(Id addressBookId,
Proxy proxy)
Gets the
OsidSession associated with the address lookup
service for the given address book. |
AddressNotificationSession |
getAddressNotificationSession(AddressReceiver addressReceiver,
Proxy proxy)
Gets the
OsidSession associated with the address
notification service. |
AddressNotificationSession |
getAddressNotificationSessionForAddressBook(AddressReceiver addressReceiver,
Id addressBookId,
Proxy proxy)
Gets the
OsidSession associated with the address
notification service for the given address book. |
AddressQuerySession |
getAddressQuerySession(Proxy proxy)
Gets the
OsidSession associated with the address query
service. |
AddressQuerySession |
getAddressQuerySessionForAddressBook(Id addressBookId,
Proxy proxy)
Gets the
OsidSession associated with the address query
service for the given address book. |
AddressSearchSession |
getAddressSearchSession(Proxy proxy)
Gets the
OsidSession associated with the address search
service. |
AddressSearchSession |
getAddressSearchSessionForAddressBook(Id addressBookId,
Proxy proxy)
Gets the
OsidSession associated with the address search
service for the given address book. |
AddressSmartAddressBookSession |
getAddressSmartAddressBookSession(Id addressBookId,
Proxy proxy)
Gets the session for managing dynamic address address books for the
given address book.
|
ContactAddressBookAssignmentSession |
getContactAddressBookAssignmentSession(Proxy proxy)
Gets the session for assigning contact to address book mappings.
|
ContactAddressBookSession |
getContactAddressBookSession(Proxy proxy)
Gets the session for retrieving contact to address book mappings.
|
ContactAdminSession |
getContactAdminSession(Proxy proxy)
Gets the
OsidSession associated with the contact
administration service. |
ContactAdminSession |
getContactAdminSessionForAddressBook(Id addressId,
Proxy proxy)
Gets the
OsidSession associated with the contact
administration service for the given address book. |
ContactBatchProxyManager |
getContactBatchProxyManager()
Gets the
ContactBatchProxyManager. |
ContactLookupSession |
getContactLookupSession(Proxy proxy)
Gets the
OsidSession associated with the contact lookup
service. |
ContactLookupSession |
getContactLookupSessionForAddressBook(Id addressId,
Proxy proxy)
Gets the
OsidSession associated with the contact lookup
service for the given address book. |
ContactNotificationSession |
getContactNotificationSession(ContactReceiver contactReceiver,
Proxy proxy)
Gets the
OsidSession associated with the contact
notification service. |
ContactNotificationSession |
getContactNotificationSessionForAddressBook(ContactReceiver contactReceiver,
Id addressId,
Proxy proxy)
Gets the
OsidSession associated with the contact
notification service for the given address book. |
ContactQuerySession |
getContactQuerySession(Proxy proxy)
Gets the
OsidSession associated with the contact query
service. |
ContactQuerySession |
getContactQuerySessionForAddressBook(Id addressId,
Proxy proxy)
Gets the
OsidSession associated with the contact query
service for the given address book. |
ContactRulesProxyManager |
getContactRulesProxyManager()
Gets the
ContactRulesProxyManager. |
ContactSearchSession |
getContactSearchSession(Proxy proxy)
Gets the
OsidSession associated with the contact search
service. |
ContactSearchSession |
getContactSearchSessionForAddressBook(Id addressId,
Proxy proxy)
Gets the
OsidSession associated with the contact search
service for the given address book. |
ContactSession |
getContactSession(Proxy proxy)
Gets the
OsidSession associated with the contact
service. |
ContactSession |
getContactSessionForAddressBook(Id addressId,
Proxy proxy)
Gets the
OsidSession associated with the contact
service for the given address book. |
ContactSmartAddressBookSession |
getContactSmartAddressBookSession(Id addressBookId,
Proxy proxy)
Gets the session associated with the contact smart address book for
the given address book.
|
changeBranch, initialize, rollbackServiceclosegetAddressBookRecordTypes, getAddressBookSearchRecordTypes, getAddressRecordTypes, getAddressSearchRecordTypes, getContactRecordTypes, getContactSearchRecordTypes, supportsAddressAddressBook, supportsAddressAddressBookAssignment, supportsAddressAdmin, supportsAddressBookAdmin, supportsAddressBookHierarchy, supportsAddressBookHierarchyDesign, supportsAddressBookLookup, supportsAddressBookNotification, supportsAddressBookQuery, supportsAddressBookRecordType, supportsAddressBookSearch, supportsAddressBookSearchRecordType, supportsAddressLookup, supportsAddressNotification, supportsAddressQuery, supportsAddressRecordType, supportsAddressSearch, supportsAddressSearchRecordType, supportsAddressSmartAddressBook, supportsContact, supportsContactAddressBook, supportsContactAddressBookAssignment, supportsContactAdmin, supportsContactBatch, supportsContactLookup, supportsContactNotification, supportsContactQuery, supportsContactRecordType, supportsContactRules, supportsContactSearch, supportsContactSearchRecordType, supportsContactSmartAddressBook, supportsVisibleFederationgetBranch, getBranchId, getDescription, getDisplayName, getId, getLocales, getProxyRecordTypes, getReleaseDate, getVersion, supportsJournalBranching, supportsJournalRollback, supportsOSIDVersion, supportsProxyRecordTypegetBranding, getBrandingIds, getLicense, getProvider, getProviderIdContactSession getContactSession(Proxy proxy) throws OperationFailedException
OsidSession associated with the contact
service.proxy - a proxy ContactSession NullArgumentException - proxy is
null OperationFailedException - unable to complete requestUnimplementedException - supportsContact()
is false optional - This method must be implemented if
supportsContact() is true. ContactSession getContactSessionForAddressBook(Id addressId, Proxy proxy) throws NotFoundException, OperationFailedException
OsidSession associated with the contact
service for the given address book.addressId - the Id of the Address proxy - a proxy ContactLookupSession NotFoundException - no Address found by
the given Id NullArgumentException - addressId or
proxy is null OperationFailedException - unable to complete requestUnimplementedException - supportsContact()
or supportsVisibleFederation() is
false optional - This method must be implemented if
supportsContact() and
supportsVisibleFederation() are true
ContactLookupSession getContactLookupSession(Proxy proxy) throws OperationFailedException
OsidSession associated with the contact lookup
service.proxy - a proxy ContactLookupSession NullArgumentException - proxy is
null OperationFailedException - unable to complete requestUnimplementedException - supportsContactLookup()
is false optional - This method must be implemented if
supportsContactLookup() is true. ContactLookupSession getContactLookupSessionForAddressBook(Id addressId, Proxy proxy) throws NotFoundException, OperationFailedException
OsidSession associated with the contact lookup
service for the given address book.addressId - the Id of the Address proxy - a proxy ContactLookupSession NotFoundException - no Address found by
the given Id NullArgumentException - addressId or
proxy is null OperationFailedException - unable to complete requestUnimplementedException - supportsContactLookup()
or supportsVisibleFederation() is
false optional - This method must be implemented if
supportsContactLookup() and
supportsVisibleFederation() are true
ContactQuerySession getContactQuerySession(Proxy proxy) throws OperationFailedException
OsidSession associated with the contact query
service.proxy - a proxy ContactQuerySession NullArgumentException - proxy is
null OperationFailedException - unable to complete requestUnimplementedException - supportsContactQuery()
is false optional - This method must be implemented if
supportsContactQuery() is true. ContactQuerySession getContactQuerySessionForAddressBook(Id addressId, Proxy proxy) throws NotFoundException, OperationFailedException
OsidSession associated with the contact query
service for the given address book.addressId - the Id of the Address proxy - a proxy ContactQuerySession NotFoundException - no Contact found by
the given Id NullArgumentException - addressId or
proxy is null OperationFailedException - unable to complete requestUnimplementedException - supportsContactQuery()
or supportsVisibleFederation() is
false optional - This method must be implemented if
supportsContactQuery() and
supportsVisibleFederation() are true
ContactSearchSession getContactSearchSession(Proxy proxy) throws OperationFailedException
OsidSession associated with the contact search
service.proxy - a proxy ContactSearchSession NullArgumentException - proxy is
null OperationFailedException - unable to complete requestUnimplementedException - supportsContactSearch()
is false optional - This method must be implemented if
supportsContactSearch() is true. ContactSearchSession getContactSearchSessionForAddressBook(Id addressId, Proxy proxy) throws NotFoundException, OperationFailedException
OsidSession associated with the contact search
service for the given address book.addressId - the Id of the Address proxy - a proxy ContactSearchSession NotFoundException - no Contact found by
the given Id NullArgumentException - addressId or
proxy is null OperationFailedException - unable to complete requestUnimplementedException - supportsContactSearch()
or supportsVisibleFederation() is
false optional - This method must be implemented if
supportsContactSearch() and
supportsVisibleFederation() are true
ContactAdminSession getContactAdminSession(Proxy proxy) throws OperationFailedException
OsidSession associated with the contact
administration service.proxy - a proxy ContactAdminSession NullArgumentException - proxy is
null OperationFailedException - unable to complete requestUnimplementedException - supportsContactAdmin()
is false optional - This method must be implemented if
supportsContactAdmin() is true. ContactAdminSession getContactAdminSessionForAddressBook(Id addressId, Proxy proxy) throws NotFoundException, OperationFailedException
OsidSession associated with the contact
administration service for the given address book.addressId - the Id of the Address proxy - a proxy ContactAdminSession NotFoundException - no Contact found by
the given Id NullArgumentException - addressId or
proxy is null OperationFailedException - unable to complete requestUnimplementedException - supportsContactAdmin()
or supportsVisibleFederation() is
false optional - This method must be implemented if
supportsContactAdmin() and
supportsVisibleFederation() are true
ContactNotificationSession getContactNotificationSession(ContactReceiver contactReceiver, Proxy proxy) throws OperationFailedException
OsidSession associated with the contact
notification service.contactReceiver - the receiverproxy - a proxy ContactNotificationSession NullArgumentException - contactReceiver
or proxy is null OperationFailedException - unable to complete requestUnimplementedException -
supportsContactNotification() is false optional - This method must be implemented if
supportsContactNotification() is true.
ContactNotificationSession getContactNotificationSessionForAddressBook(ContactReceiver contactReceiver, Id addressId, Proxy proxy) throws NotFoundException, OperationFailedException
OsidSession associated with the contact
notification service for the given address book.contactReceiver - the receiveraddressId - the Id of the Address proxy - a proxy ContactNotificationSession NotFoundException - no Contact found by
the given Id NullArgumentException - contactReceiver,
addressId or proxy is null
OperationFailedException - unable to complete requestUnimplementedException -
supportsContactNotification() or
supportsVisibleFederation() is false optional - This method must be implemented if
supportsContactNotification() and
supportsVisibleFederation() are true
ContactAddressBookSession getContactAddressBookSession(Proxy proxy) throws OperationFailedException
proxy - a proxy ContactAddressBookSession NullArgumentException - proxy is
null OperationFailedException - unable to complete requestUnimplementedException -
supportsContactAddressBook() is false optional - This method must be implemented if
supportsContactAddressBook() is true.
ContactAddressBookAssignmentSession getContactAddressBookAssignmentSession(Proxy proxy) throws OperationFailedException
proxy - a proxy ContactAddressBookAssignmentSession NullArgumentException - proxy is
null OperationFailedException - unable to complete requestUnimplementedException -
supportsContactAddressBookAssignment() is false
optional - This method must be implemented if
supportsContactAddressBookAssignment() is
true. ContactSmartAddressBookSession getContactSmartAddressBookSession(Id addressBookId, Proxy proxy) throws NotFoundException, OperationFailedException
addressBookId - the Id of the contact bookproxy - a proxy ContactSmartAddressBookSession NotFoundException - contactBookId not
foundNullArgumentException - contactBookId or
proxy is null OperationFailedException - unable to complete requestUnimplementedException -
supportsContactSmartAddressBook() is false
optional - This method must be implemented if
supportsContactSmartAddressBook() is true.
AddressLookupSession getAddressLookupSession(Proxy proxy) throws OperationFailedException
OsidSession associated with the address lookup
service.proxy - a proxy AddressLookupSession NullArgumentException - proxy is
null OperationFailedException - unable to complete requestUnimplementedException - supportsAddressLookup()
is false optional - This method must be implemented if
supportsAddressLookup() is true. AddressLookupSession getAddressLookupSessionForAddressBook(Id addressBookId, Proxy proxy) throws NotFoundException, OperationFailedException
OsidSession associated with the address lookup
service for the given address book.addressBookId - the Id of the AddressBook
proxy - a proxy AddressLookupSession NotFoundException - no AddressBook found
by the given Id NullArgumentException - addressBookId or
proxy is null OperationFailedException - unable to complete requestUnimplementedException - supportsAddressLookup()
or supportsVisibleFederation() is
false optional - This method must be implemented if
supportsAddressLookup() and
supportsVisibleFederation() are true
AddressQuerySession getAddressQuerySession(Proxy proxy) throws OperationFailedException
OsidSession associated with the address query
service.proxy - a proxy AddressQuerySession NullArgumentException - proxy is
null OperationFailedException - unable to complete requestUnimplementedException - supportsAddressQuery()
is false optional - This method must be implemented if
supportsAddressQuery() is true. AddressQuerySession getAddressQuerySessionForAddressBook(Id addressBookId, Proxy proxy) throws NotFoundException, OperationFailedException
OsidSession associated with the address query
service for the given address book.addressBookId - the Id of the AddressBook
proxy - a proxy AddressQuerySession NotFoundException - no Address found by
the given Id NullArgumentException - addressBookId or
proxy is null OperationFailedException - unable to complete requestUnimplementedException - supportsAddressQuery()
or supportsVisibleFederation() is
false optional - This method must be implemented if
supportsAddressQuery() and
supportsVisibleFederation() are true
AddressSearchSession getAddressSearchSession(Proxy proxy) throws OperationFailedException
OsidSession associated with the address search
service.proxy - a proxy AddressSearchSession NullArgumentException - proxy is
null OperationFailedException - unable to complete requestUnimplementedException - supportsAddressSearch()
is false optional - This method must be implemented if
supportsAddressSearch() is true. AddressSearchSession getAddressSearchSessionForAddressBook(Id addressBookId, Proxy proxy) throws NotFoundException, OperationFailedException
OsidSession associated with the address search
service for the given address book.addressBookId - the Id of the AddressBook
proxy - a proxy AddressSearchSession NotFoundException - no Address found by
the given Id NullArgumentException - addressBookId or
proxy is null OperationFailedException - unable to complete requestUnimplementedException - supportsAddressSearch()
or supportsVisibleFederation() is
false optional - This method must be implemented if
supportsAddressSearch() and
supportsVisibleFederation() are true
AddressAdminSession getAddressAdminSession(Proxy proxy) throws OperationFailedException
OsidSession associated with the address
administrative service.proxy - a proxy AddressAdminSession NullArgumentException - proxy is
null OperationFailedException - unable to complete requestUnimplementedException - supportsAddressAdmin()
is false optional - This method must be implemented if
supportsAddressAdmin() is true. AddressAdminSession getAddressAdminSessionForAddressBook(Id addressBookId, Proxy proxy) throws NotFoundException, OperationFailedException
OsidSession associated with the address
administration service for the given address book.addressBookId - the Id of the AddressBook
proxy - a proxy AddressAdminSession NotFoundException - no Address found by
the given Id NullArgumentException - addressBookId or
proxy is null OperationFailedException - unable to complete requestUnimplementedException - supportsAddressAdmin()
or supportsVisibleFederation() is
false optional - This method must be implemented if
supportsAddressAdmin() and
supportsVisibleFederation() are true
AddressNotificationSession getAddressNotificationSession(AddressReceiver addressReceiver, Proxy proxy) throws OperationFailedException
OsidSession associated with the address
notification service.addressReceiver - the receiverproxy - a proxy AddressNotificationSession NullArgumentException - addressReceiver
or proxy is null OperationFailedException - unable to complete requestUnimplementedException -
supportsAddressNotification() is false optional - This method must be implemented if
supportsAddressNotification() is true.
AddressNotificationSession getAddressNotificationSessionForAddressBook(AddressReceiver addressReceiver, Id addressBookId, Proxy proxy) throws NotFoundException, OperationFailedException
OsidSession associated with the address
notification service for the given address book.addressReceiver - the receiveraddressBookId - the Id of the AddressBook
proxy - a proxy AddressNotificationSession NotFoundException - no Address found by
the given Id NullArgumentException - addressReceiver,
addressBookId or proxy is null
OperationFailedException - unable to complete requestUnimplementedException -
supportsAddressNotification() or
supportsVisibleFederation() is false optional - This method must be implemented if
supportsAddressNotification() and
supportsVisibleFederation() are true
AddressAddressBookSession getAddressAddressBookSession(Proxy proxy) throws OperationFailedException
proxy - a proxy AddressAddressBookSession NullArgumentException - proxy is
null OperationFailedException - unable to complete requestUnimplementedException -
supportsAddressAddressBook() is false optional - This method must be implemented if
supportsAddressAddressBook() is true.
AddressAddressBookAssignmentSession getAddressAddressBookAssignmentSession(Proxy proxy) throws OperationFailedException
proxy - a proxy AddressAddressBookAssignmentSession NullArgumentException - proxy is
null OperationFailedException - unable to complete requestUnimplementedException -
supportsAddressAddressBookAssignment() is false
optional - This method must be implemented if
supportsAddressAddressBookAssignment() is
true. AddressSmartAddressBookSession getAddressSmartAddressBookSession(Id addressBookId, Proxy proxy) throws NotFoundException, OperationFailedException
addressBookId - the Id of an address bookproxy - a proxy AddressSmartAddressBookSession NotFoundException - addressBookId is not
foundNullArgumentException - addressBookId or
proxy is null OperationFailedException - unable to complete requestUnimplementedException -
supportsAddressSmartAddressBook() is false
optional - This method must be implemented if
supportsAddressSmartAddressBook() is true.
AddressBookLookupSession getAddressBookLookupSession(Proxy proxy) throws OperationFailedException
OsidSession associated with the address book
lookup service.proxy - a proxy AddressBookLookupSession NullArgumentException - proxy is
null OperationFailedException - unable to complete requestUnimplementedException -
supportsAddressBookLookup() is false optional - This method must be implemented if
supportsAddressBookLookup() is true.
AddressBookQuerySession getAddressBookQuerySession(Proxy proxy) throws OperationFailedException
OsidSession associated with the address book
query service.proxy - a proxy AddressBookQuerySession NullArgumentException - proxy is
null OperationFailedException - unable to complete requestUnimplementedException -
supportsAddressBookQuery() is false optional - This method must be implemented if
supportsAddressBookQuery() is true. AddressBookSearchSession getAddressBookSearchSession(Proxy proxy) throws OperationFailedException
OsidSession associated with the address book
search service.proxy - a proxy AddressBookSearchSession NullArgumentException - proxy is
null OperationFailedException - unable to complete requestUnimplementedException -
supportsAddressBookSearch() is false optional - This method must be implemented if
supportsAddressBookSearch() is true.
AddressBookAdminSession getAddressBookAdminSession(Proxy proxy) throws OperationFailedException
OsidSession associated with the address book
administrative service.proxy - a proxy AddressBookAdminSession NullArgumentException - proxy is
null OperationFailedException - unable to complete requestUnimplementedException -
supportsAddressBookAdmin() is false optional - This method must be implemented if
supportsAddressBookAdmin() is true. AddressBookNotificationSession getAddressBookNotificationSession(AddressBookReceiver addressBookReceiver, Proxy proxy) throws OperationFailedException
OsidSession associated with the address book
notification service.addressBookReceiver - the receiverproxy - a proxy AddressBookNotificationSession NullArgumentException - addressBookReceiver
or proxy is null OperationFailedException - unable to complete requestUnimplementedException -
supportsAddressBookNotification() is false
optional - This method must be implemented if
supportsAddressBookNotification() is true.
AddressBookHierarchySession getAddressBookHierarchySession(Proxy proxy) throws OperationFailedException
OsidSession associated with the address book
hierarchy service.proxy - a proxy AddressBookHierarchySession NullArgumentException - proxy is
null OperationFailedException - unable to complete requestUnimplementedException -
supportsAddressBookHierarchy() is false optional - This method must be implemented if
supportsAddressBookHierarchy() is true.
AddressBookHierarchyDesignSession getAddressBookHierarchyDesignSession(Proxy proxy) throws OperationFailedException
OsidSession associated with the address book
hierarchy design service.proxy - a proxy AddressBookHierarchyDesignSession NullArgumentException - proxy is
null OperationFailedException - unable to complete requestUnimplementedException -
supportsAddressBookHierarchyDesign() is false
optional - This method must be implemented if
supportsAddressBookHierarchyDesign() is
true. ContactBatchProxyManager getContactBatchProxyManager() throws OperationFailedException
ContactBatchProxyManager. ContactBatchProxyManager OperationFailedException - unable to complete requestUnimplementedException - supportsContactBatch()
is false optional - This method must be implemented if
supportsContactBatch() is true. ContactRulesProxyManager getContactRulesProxyManager() throws OperationFailedException
ContactRulesProxyManager. ContactRulesProxyManager OperationFailedException - unable to complete requestUnimplementedException - supportsContactRules()
is false optional - This method must be implemented if
supportsContactRules() is true.