public interface ContactRulesManager extends OsidManager, ContactRulesProfile
The contact rules manager provides access to address book rules sessions and provides interoperability tests for various aspects of this service. The sessions included in this manager are:
ContactEnablerLookupSession:
a session to retrieve
contact enablers ContactEnablerQuerySession:
a session to query for
contact enablers ContactEnablerSearchSession:
a session to search
for contact enablers ContactEnablerAdminSession:
a session to create
and delete contact enablers ContactEnablerNotificationSession:
a session to
receive notifications pertaining to contact enabler changes ContactEnablerAddressBookSession:
a session to
look up contact enabler address book mappings ContactEnablerAddressBookAssignmentSession:
a
session to manage contact enabler to address book mappings ContactEnablerSmartAddressBookSession:
a session
to manage dynamic address books of contact enablers ContactEnablerRuleLookupSession:
a session to look
up contact enabler to contact mappings ContactEnablerRuleApplicationSession:
a session to
apply contact enablers to contacts Modifier and Type | Method and Description |
---|---|
ContactEnablerAddressBookAssignmentSession |
getContactEnablerAddressBookAssignmentSession()
Gets the
OsidSession associated with assigning contact
enablers to address books for contact. |
ContactEnablerAddressBookSession |
getContactEnablerAddressBookSession()
Gets the
OsidSession to lookup contact enabler/address
book mappings for contact enablers. |
ContactEnablerAdminSession |
getContactEnablerAdminSession()
Gets the
OsidSession associated with the contact
enabler administration service. |
ContactEnablerAdminSession |
getContactEnablerAdminSessionForAddressBook(Id addressBookId)
Gets the
OsidSession associated with the contact
enabler administration service for the given address book. |
ContactEnablerLookupSession |
getContactEnablerLookupSession()
Gets the
OsidSession associated with the contact
enabler lookup service. |
ContactEnablerLookupSession |
getContactEnablerLookupSessionForAddressBook(Id addressBookId)
Gets the
OsidSession associated with the contact
enabler lookup service for the given address book. |
ContactEnablerNotificationSession |
getContactEnablerNotificationSession(ContactEnablerReceiver contactEnablerReceiver)
Gets the
OsidSession associated with the contact
enabler notification service. |
ContactEnablerNotificationSession |
getContactEnablerNotificationSessionForAddressBook(ContactEnablerReceiver contactEnablerReceiver,
Id addressBookId)
Gets the
OsidSession associated with the contact
enabler notification service for the given address book. |
ContactEnablerQuerySession |
getContactEnablerQuerySession()
Gets the
OsidSession associated with the contact
enabler query service. |
ContactEnablerQuerySession |
getContactEnablerQuerySessionForAddressBook(Id addressBookId)
Gets the
OsidSession associated with the contact
enabler query service for the given address book. |
ContactEnablerRuleApplicationSession |
getContactEnablerRuleApplicationSession()
Gets the
OsidSession associated with the contact
enabler assignment service to apply enablers. |
ContactEnablerRuleApplicationSession |
getContactEnablerRuleApplicationSessionForAddressBook(Id addressBookId)
Gets the
OsidSession associated with the contact
enabler assignment service for the given address book to apply
enablers. |
ContactEnablerRuleLookupSession |
getContactEnablerRuleLookupSession()
Gets the
OsidSession associated with the contact
enabler mapping lookup service. |
ContactEnablerRuleLookupSession |
getContactEnablerRuleLookupSessionForAddressBook(Id addressBookId)
Gets the
OsidSession associated with the contact
enabler mapping lookup service for the given address book. |
ContactEnablerSearchSession |
getContactEnablerSearchSession()
Gets the
OsidSession associated with the contact
enabler search service. |
ContactEnablerSearchSession |
getContactEnablerSearchSessionForAddressBook(Id addressBookId)
Gets the
OsidSession associated with the contact
enablers earch service for the given address book. |
ContactEnablerSmartAddressBookSession |
getContactEnablerSmartAddressBookSession(Id addressBookId)
Gets the
OsidSession to manage contact enabler smart
address books. |
changeBranch, initialize, rollbackService
close
getContactEnablerRecordTypes, getContactEnablerSearchRecordTypes, supportsContactEnablerAddressBook, supportsContactEnablerAddressBookAssignment, supportsContactEnablerAdmin, supportsContactEnablerLookup, supportsContactEnablerNotification, supportsContactEnablerQuery, supportsContactEnablerRecordType, supportsContactEnablerRuleApplication, supportsContactEnablerRuleLookup, supportsContactEnablerSearch, supportsContactEnablerSearchRecordType, supportsContactEnablerSmartAddressBook, supportsVisibleFederation
getBranch, getBranchId, getDescription, getDisplayName, getId, getLocales, getProxyRecordTypes, getReleaseDate, getVersion, supportsJournalBranching, supportsJournalRollback, supportsOSIDVersion, supportsProxyRecordType
getBranding, getBrandingIds, getLicense, getProvider, getProviderId
ContactEnablerLookupSession getContactEnablerLookupSession() throws OperationFailedException
OsidSession
associated with the contact
enabler lookup service. ContactEnablerLookupSession
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsContactEnablerLookup()
is false
optional
- This method must be implemented if
supportsContactEnablerLookup()
is true.
ContactEnablerLookupSession getContactEnablerLookupSessionForAddressBook(Id addressBookId) throws NotFoundException, OperationFailedException
OsidSession
associated with the contact
enabler lookup service for the given address book.addressBookId
- the Id
of the AddressBook
ContactEnablerLookupSession
NotFoundException
- no AddressBook
found
by the given Id
NullArgumentException
- addressBookId
is
null
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsContactEnablerLookup()
or
supportsVisibleFederation()
is false
optional
- This method must be implemented if
supportsContactEnablerLookup()
and
supportsVisibleFederation()
are true.
ContactEnablerQuerySession getContactEnablerQuerySession() throws OperationFailedException
OsidSession
associated with the contact
enabler query service. ContactEnablerQuerySession
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsContactEnablerQuery()
is false
optional
- This method must be implemented if
supportsContactEnablerQuery()
is true.
ContactEnablerQuerySession getContactEnablerQuerySessionForAddressBook(Id addressBookId) throws NotFoundException, OperationFailedException
OsidSession
associated with the contact
enabler query service for the given address book.addressBookId
- the Id
of the AddressBook
ContactEnablerQuerySession
NotFoundException
- no AddressBook
found
by the given Id
NullArgumentException
- addressBookId
is
null
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsContactEnablerQuery()
or
supportsVisibleFederation()
is false
optional
- This method must be implemented if
supportsContactEnablerQuery()
and
supportsVisibleFederation()
are true.
ContactEnablerSearchSession getContactEnablerSearchSession() throws OperationFailedException
OsidSession
associated with the contact
enabler search service. ContactEnablerSearchSession
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsContactEnablerSearch()
is false
optional
- This method must be implemented if
supportsContactEnablerSearch()
is true.
ContactEnablerSearchSession getContactEnablerSearchSessionForAddressBook(Id addressBookId) throws NotFoundException, OperationFailedException
OsidSession
associated with the contact
enablers earch service for the given address book.addressBookId
- the Id
of the AddressBook
ContactEnablerSearchSession
NotFoundException
- no AddressBook
found
by the given Id
NullArgumentException
- addressBookId
is
null
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsContactEnablerSearch()
or
supportsVisibleFederation()
is false
optional
- This method must be implemented if
supportsContactEnablerSearch()
and
supportsVisibleFederation()
are true.
ContactEnablerAdminSession getContactEnablerAdminSession() throws OperationFailedException
OsidSession
associated with the contact
enabler administration service. ContactEnablerAdminSession
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsContactEnablerAdmin()
is false
optional
- This method must be implemented if
supportsContactEnablerAdmin()
is true.
ContactEnablerAdminSession getContactEnablerAdminSessionForAddressBook(Id addressBookId) throws NotFoundException, OperationFailedException
OsidSession
associated with the contact
enabler administration service for the given address book.addressBookId
- the Id
of the AddressBook
ContactEnablerAdminSession
NotFoundException
- no AddressBook
found
by the given Id
NullArgumentException
- addressBookId
is
null
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsContactEnablerAdmin()
or
supportsVisibleFederation()
is false
optional
- This method must be implemented if
supportsContactEnablerAdmin()
and
supportsVisibleFederation()
are true.
ContactEnablerNotificationSession getContactEnablerNotificationSession(ContactEnablerReceiver contactEnablerReceiver) throws OperationFailedException
OsidSession
associated with the contact
enabler notification service.contactEnablerReceiver
- the notification callback ContactEnablerNotificationSession
NullArgumentException
- contactEnablerReceiver
is null
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsContactEnablerNotification()
is false
optional
- This method must be implemented if
supportsContactEnablerNotification()
is
true.
ContactEnablerNotificationSession getContactEnablerNotificationSessionForAddressBook(ContactEnablerReceiver contactEnablerReceiver, Id addressBookId) throws NotFoundException, OperationFailedException
OsidSession
associated with the contact
enabler notification service for the given address book.contactEnablerReceiver
- the notification callbackaddressBookId
- the Id
of the AddressBook
ContactEnablerNotificationSession
NotFoundException
- no address book found by the given
Id
NullArgumentException
- contactEnablerReceiver
or addressBookId
is null
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsContactEnablerNotification()
or
supportsVisibleFederation()
is false
optional
- This method must be implemented if
supportsContactEnablerNotification()
and
supportsVisibleFederation()
are true.
ContactEnablerAddressBookSession getContactEnablerAddressBookSession() throws OperationFailedException
OsidSession
to lookup contact enabler/address
book mappings for contact enablers. ContactEnablerAddressBookSession
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsContactEnablerAddressBook()
is false
optional
- This method must be implemented if
supportsContactEnablerAddressBook()
is
true.
ContactEnablerAddressBookAssignmentSession getContactEnablerAddressBookAssignmentSession() throws OperationFailedException
OsidSession
associated with assigning contact
enablers to address books for contact. ContactEnablerAddressBookAssignmentSession
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsContactEnablerAddressBookAssignment()
is
false
optional
- This method must be implemented if
supportsContactEnablerAddressBookAssignment()
is
true.
ContactEnablerSmartAddressBookSession getContactEnablerSmartAddressBookSession(Id addressBookId) throws NotFoundException, OperationFailedException
OsidSession
to manage contact enabler smart
address books.addressBookId
- the Id
of the AddressBook
ContactEnablerSmartAddressBookSession
NotFoundException
- no AddressBook
found
by the given Id
NullArgumentException
- addressBookId
is
null
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsContactEnablerSmartAddressBook()
is
false
optional
- This method must be implemented if
supportsContactEnablerSmartAddressBook()
is
true.
ContactEnablerRuleLookupSession getContactEnablerRuleLookupSession() throws OperationFailedException
OsidSession
associated with the contact
enabler mapping lookup service. ContactEnablertRuleLookupSession
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsContactEnablerRuleLookup()
is false
optional
- This method must be implemented if
supportsContactEnablerRuleLookup()
is true.
ContactEnablerRuleLookupSession getContactEnablerRuleLookupSessionForAddressBook(Id addressBookId) throws NotFoundException, OperationFailedException
OsidSession
associated with the contact
enabler mapping lookup service for the given address book.addressBookId
- the Id
of the AddressBook
ContactEnablerRuleLookupSession
NotFoundException
- no AddressBook
found
by the given Id
NullArgumentException
- addressBookId
is
null
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsContactEnablerRuleLookup()
or
supportsVisibleFederation()
is false
optional
- This method must be implemented if
supportsContactEnablerRuleLookup()
and
supportsVisibleFederation()
are true.
ContactEnablerRuleApplicationSession getContactEnablerRuleApplicationSession() throws OperationFailedException
OsidSession
associated with the contact
enabler assignment service to apply enablers. ContactEnablerRuleApplicationSession
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsContactEnablerRuleApplication()
is
false
optional
- This method must be implemented if
supportsContactEnablerRuleApplication()
is
true.
ContactEnablerRuleApplicationSession getContactEnablerRuleApplicationSessionForAddressBook(Id addressBookId) throws NotFoundException, OperationFailedException
OsidSession
associated with the contact
enabler assignment service for the given address book to apply
enablers.addressBookId
- the Id
of the AddressBook
ContactEnablerRuleApplicationSession
NotFoundException
- no AddressBook
found
by the given Id
NullArgumentException
- addressBookId
is
null
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsContactEnablerRuleApplication()
or
supportsVisibleFederation()
is false
optional
- This method must be implemented if
supportsContactEnablerRuleApplication()
and
supportsVisibleFederation()
are true.