Interface ContactRulesManager
- All Superinterfaces:
AutoCloseable, Closeable, ContactRulesProfile, OsidManager, OsidManager, OsidProfile, Sourceable
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
-
Method Summary
Modifier and TypeMethodDescriptionGets theOsidSessionassociated with assigning contact enablers to address books for contact.Gets theOsidSessionto lookup contact enabler/address book mappings for contact enablers.Gets theOsidSessionassociated with the contact enabler administration service.getContactEnablerAdminSessionForAddressBook(Id addressBookId) Gets theOsidSessionassociated with the contact enabler administration service for the given address book.Gets theOsidSessionassociated with the contact enabler lookup service.getContactEnablerLookupSessionForAddressBook(Id addressBookId) Gets theOsidSessionassociated with the contact enabler lookup service for the given address book.getContactEnablerNotificationSession(ContactEnablerReceiver contactEnablerReceiver) Gets theOsidSessionassociated with the contact enabler notification service.getContactEnablerNotificationSessionForAddressBook(ContactEnablerReceiver contactEnablerReceiver, Id addressBookId) Gets theOsidSessionassociated with the contact enabler notification service for the given address book.Gets theOsidSessionassociated with the contact enabler query service.getContactEnablerQuerySessionForAddressBook(Id addressBookId) Gets theOsidSessionassociated with the contact enabler query service for the given address book.Gets theOsidSessionassociated with the contact enabler assignment service to apply enablers.getContactEnablerRuleApplicationSessionForAddressBook(Id addressBookId) Gets theOsidSessionassociated with the contact enabler assignment service for the given address book to apply enablers.Gets theOsidSessionassociated with the contact enabler mapping lookup service.getContactEnablerRuleLookupSessionForAddressBook(Id addressBookId) Gets theOsidSessionassociated with the contact enabler mapping lookup service for the given address book.Gets theOsidSessionassociated with the contact enabler search service.getContactEnablerSearchSessionForAddressBook(Id addressBookId) Gets theOsidSessionassociated with the contact enablers earch service for the given address book.getContactEnablerSmartAddressBookSession(Id addressBookId) Gets theOsidSessionto manage contact enabler smart address books.Methods inherited from interface ContactRulesProfile
getContactEnablerRecordTypes, getContactEnablerSearchRecordTypes, supportsContactEnablerAddressBook, supportsContactEnablerAddressBookAssignment, supportsContactEnablerAdmin, supportsContactEnablerLookup, supportsContactEnablerNotification, supportsContactEnablerQuery, supportsContactEnablerRecordType, supportsContactEnablerRuleApplication, supportsContactEnablerRuleLookup, supportsContactEnablerSearch, supportsContactEnablerSearchRecordType, supportsContactEnablerSmartAddressBook, supportsVisibleFederationModifier and TypeMethodDescriptionGets the supportedContactEnablerrecord types.Gets the supportedContactEnablersearch record types.booleanTests if a contact enabler address book lookup service is supported.booleanTests if a contact enabler address book service is supported.booleanTests if a contact enabler administrative service is supported.booleanTests if looking up contact enablers is supported.booleanTests if a contact enabler notification service is supported.booleanTests if querying contact enablers is supported.booleansupportsContactEnablerRecordType(Type contactEnablerRecordType) Tests if the givenContactEnablerrecord type is supported.booleanTests if a contact enabler rule application service is supported.booleanTests if a contact enabler rule lookup service is supported.booleanTests if searching contact enablers is supported.booleansupportsContactEnablerSearchRecordType(Type contactEnablerSearchRecordType) Tests if the givenContactEnablersearch record type is supported.booleanTests if a contact enabler address book lookup service is supported.booleanTests if any broker federation is exposed.Methods inherited from interface OsidManager
closeMethods inherited from interface OsidManager
changeBranch, initialize, rollbackServiceModifier and TypeMethodDescriptionvoidchangeBranch(Id branchId) Changes the service branch.voidinitialize(OsidRuntimeManager runtime) Initializes this manager.rollbackService(Date rollbackTime) Rolls back this service to a point in time.Methods inherited from interface OsidProfile
getBranch, getBranchId, getDescription, getDisplayName, getId, getLocales, getProxyRecordTypes, getReleaseDate, getVersion, supportsJournalBranching, supportsJournalRollback, supportsOSIDVersion, supportsProxyRecordTypeModifier and TypeMethodDescriptionGets this service branch.Gets theBranch Idrepresenting this service branch.Gets a description of this service implementation.Gets a display name for this service implementation.getId()Gets an identifier for this service implementation.Gets the locales supported in this service.Gets the proxy recordTypessupported in this service.Gets the date this service implementation was released.Gets the version of this service implementation.booleanTest for support of a journal branching service.booleanTest for support of a journaling rollback service.booleansupportsOSIDVersion(Version version) Test for support of an OSID specification version.booleansupportsProxyRecordType(Type proxyRecordType) Test for support of a proxy type.Methods inherited from interface Sourceable
getBranding, getBrandingIds, getLicense, getProvider, getProviderIdModifier and TypeMethodDescriptionGets a branding, such as an image or logo, expressed using theAssetinterface.Gets the branding assetIds.Gets the terms of usage.Gets theResourcerepresenting the provider.Gets theIdof the provider.
-
Method Details
-
getContactEnablerLookupSession
Gets theOsidSessionassociated with the contact enabler lookup service.- Returns:
- a
ContactEnablerLookupSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsContactEnablerLookup()isfalse- Compliance:
optional- This method must be implemented if {@code supportsContactEnablerLookup()} is {@code true} .
-
getContactEnablerLookupSessionForAddressBook
ContactEnablerLookupSession getContactEnablerLookupSessionForAddressBook(Id addressBookId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the contact enabler lookup service for the given address book.- Parameters:
addressBookId- theIdof theAddressBook- Returns:
- a
ContactEnablerLookupSession - Throws:
NotFoundException- noAddressBookfound by the givenIdNullArgumentException-addressBookIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsContactEnablerLookup()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsContactEnablerLookup()} and {@code supportsVisibleFederation()} are {@code true} .
-
getContactEnablerQuerySession
Gets theOsidSessionassociated with the contact enabler query service.- Returns:
- a
ContactEnablerQuerySession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsContactEnablerQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsContactEnablerQuery()} is {@code true} .
-
getContactEnablerQuerySessionForAddressBook
ContactEnablerQuerySession getContactEnablerQuerySessionForAddressBook(Id addressBookId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the contact enabler query service for the given address book.- Parameters:
addressBookId- theIdof theAddressBook- Returns:
- a
ContactEnablerQuerySession - Throws:
NotFoundException- noAddressBookfound by the givenIdNullArgumentException-addressBookIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsContactEnablerQuery()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsContactEnablerQuery()} and {@code supportsVisibleFederation()} are {@code true} .
-
getContactEnablerSearchSession
Gets theOsidSessionassociated with the contact enabler search service.- Returns:
- a
ContactEnablerSearchSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsContactEnablerSearch()isfalse- Compliance:
optional- This method must be implemented if {@code supportsContactEnablerSearch()} is {@code true} .
-
getContactEnablerSearchSessionForAddressBook
ContactEnablerSearchSession getContactEnablerSearchSessionForAddressBook(Id addressBookId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the contact enablers earch service for the given address book.- Parameters:
addressBookId- theIdof theAddressBook- Returns:
- a
ContactEnablerSearchSession - Throws:
NotFoundException- noAddressBookfound by the givenIdNullArgumentException-addressBookIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsContactEnablerSearch()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsContactEnablerSearch()} and {@code supportsVisibleFederation()} are {@code true} .
-
getContactEnablerAdminSession
Gets theOsidSessionassociated with the contact enabler administration service.- Returns:
- a
ContactEnablerAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsContactEnablerAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsContactEnablerAdmin()} is {@code true} .
-
getContactEnablerAdminSessionForAddressBook
ContactEnablerAdminSession getContactEnablerAdminSessionForAddressBook(Id addressBookId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the contact enabler administration service for the given address book.- Parameters:
addressBookId- theIdof theAddressBook- Returns:
- a
ContactEnablerAdminSession - Throws:
NotFoundException- noAddressBookfound by the givenIdNullArgumentException-addressBookIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsContactEnablerAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsContactEnablerAdmin()} and {@code supportsVisibleFederation()} are {@code true} .
-
getContactEnablerNotificationSession
ContactEnablerNotificationSession getContactEnablerNotificationSession(ContactEnablerReceiver contactEnablerReceiver) throws OperationFailedException Gets theOsidSessionassociated with the contact enabler notification service.- Parameters:
contactEnablerReceiver- the notification callback- Returns:
- a
ContactEnablerNotificationSession - Throws:
NullArgumentException-contactEnablerReceiverisnullOperationFailedException- unable to complete requestUnimplementedException-supportsContactEnablerNotification()isfalse- Compliance:
optional- This method must be implemented if {@code supportsContactEnablerNotification()} is {@code true} .
-
getContactEnablerNotificationSessionForAddressBook
ContactEnablerNotificationSession getContactEnablerNotificationSessionForAddressBook(ContactEnablerReceiver contactEnablerReceiver, Id addressBookId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the contact enabler notification service for the given address book.- Parameters:
contactEnablerReceiver- the notification callbackaddressBookId- theIdof theAddressBook- Returns:
- a
ContactEnablerNotificationSession - Throws:
NotFoundException- no address book found by the givenIdNullArgumentException-contactEnablerReceiveroraddressBookIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsContactEnablerNotification()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsContactEnablerNotification()} and {@code supportsVisibleFederation()} are {@code true} .
-
getContactEnablerAddressBookSession
ContactEnablerAddressBookSession getContactEnablerAddressBookSession() throws OperationFailedExceptionGets theOsidSessionto lookup contact enabler/address book mappings for contact enablers.- Returns:
- a
ContactEnablerAddressBookSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsContactEnablerAddressBook()isfalse- Compliance:
optional- This method must be implemented if {@code supportsContactEnablerAddressBook()} is {@code true} .
-
getContactEnablerAddressBookAssignmentSession
ContactEnablerAddressBookAssignmentSession getContactEnablerAddressBookAssignmentSession() throws OperationFailedExceptionGets theOsidSessionassociated with assigning contact enablers to address books for contact.- Returns:
- a
ContactEnablerAddressBookAssignmentSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsContactEnablerAddressBookAssignment()isfalse- Compliance:
optional- This method must be implemented if {@code supportsContactEnablerAddressBookAssignment()} is {@code true} .
-
getContactEnablerSmartAddressBookSession
ContactEnablerSmartAddressBookSession getContactEnablerSmartAddressBookSession(Id addressBookId) throws NotFoundException, OperationFailedException Gets theOsidSessionto manage contact enabler smart address books.- Parameters:
addressBookId- theIdof theAddressBook- Returns:
- a
ContactEnablerSmartAddressBookSession - Throws:
NotFoundException- noAddressBookfound by the givenIdNullArgumentException-addressBookIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsContactEnablerSmartAddressBook()isfalse- Compliance:
optional- This method must be implemented if {@code supportsContactEnablerSmartAddressBook()} is {@code true} .
-
getContactEnablerRuleLookupSession
ContactEnablerRuleLookupSession getContactEnablerRuleLookupSession() throws OperationFailedExceptionGets theOsidSessionassociated with the contact enabler mapping lookup service.- Returns:
- a
ContactEnablertRuleLookupSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsContactEnablerRuleLookup()isfalse- Compliance:
optional- This method must be implemented if {@code supportsContactEnablerRuleLookup()} is {@code true} .
-
getContactEnablerRuleLookupSessionForAddressBook
ContactEnablerRuleLookupSession getContactEnablerRuleLookupSessionForAddressBook(Id addressBookId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the contact enabler mapping lookup service for the given address book.- Parameters:
addressBookId- theIdof theAddressBook- Returns:
- a
ContactEnablerRuleLookupSession - Throws:
NotFoundException- noAddressBookfound by the givenIdNullArgumentException-addressBookIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsContactEnablerRuleLookup()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsContactEnablerRuleLookup()} and {@code supportsVisibleFederation()} are {@code true} .
-
getContactEnablerRuleApplicationSession
ContactEnablerRuleApplicationSession getContactEnablerRuleApplicationSession() throws OperationFailedExceptionGets theOsidSessionassociated with the contact enabler assignment service to apply enablers.- Returns:
- a
ContactEnablerRuleApplicationSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsContactEnablerRuleApplication()isfalse- Compliance:
optional- This method must be implemented if {@code supportsContactEnablerRuleApplication()} is {@code true} .
-
getContactEnablerRuleApplicationSessionForAddressBook
ContactEnablerRuleApplicationSession getContactEnablerRuleApplicationSessionForAddressBook(Id addressBookId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the contact enabler assignment service for the given address book to apply enablers.- Parameters:
addressBookId- theIdof theAddressBook- Returns:
- a
ContactEnablerRuleApplicationSession - Throws:
NotFoundException- noAddressBookfound by the givenIdNullArgumentException-addressBookIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsContactEnablerRuleApplication()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsContactEnablerRuleApplication()} and {@code supportsVisibleFederation()} are {@code true} .
-