Interface ContactRulesProxyManager
- All Superinterfaces:
AutoCloseable, Closeable, ContactRulesProfile, OsidProfile, OsidProxyManager, OsidProxyManager, Sourceable
The contact rules proxy manager provides access to contact rules
sessions and provides interoperability tests for various aspects of this
service. Methods in this manager pass a Proxy for passing
information from server environments. 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, Proxy proxy) Gets theOsidSessionassociated with the contact enabler administration service for the given address book.Gets theOsidSessionassociated with the contact enabler lookup service.getContactEnablerLookupSessionForAddressBook(Id addressBookId, Proxy proxy) Gets theOsidSessionassociated with the contact enabler lookup service for the given address book.getContactEnablerNotificationSession(ContactEnablerReceiver contactEnablerReceiver, Proxy proxy) Gets theOsidSessionassociated with the contact enabler notification service.getContactEnablerNotificationSessionForAddressBook(ContactEnablerReceiver contactEnablerReceiver, Id addressBookId, Proxy proxy) Gets theOsidSessionassociated with the contact enabler notification service for the given address book.Gets theOsidSessionassociated with the contact enabler query service.getContactEnablerQuerySessionForAddressBook(Id addressBookId, Proxy proxy) 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, Proxy proxy) Gets theOsidSessionassociated with the contact enabler assignment service for the given address book.Gets theOsidSessionassociated with the contact enabler mapping lookup service for looking up the rules applied to the address book.getContactEnablerRuleLookupSessionForAddressBook(Id addressBookId, Proxy proxy) Gets theOsidSessionassociated with the contact enabler mapping lookup service for the given address book for looking up rules applied to an address book.Gets theOsidSessionassociated with the contact enabler search service.getContactEnablerSearchSessionForAddressBook(Id addressBookId, Proxy proxy) Gets theOsidSessionassociated with the contact enablers earch service for the given address book.getContactEnablerSmartAddressBookSession(Id addressBookId, Proxy proxy) 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 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 OsidProxyManager
closeMethods inherited from interface OsidProxyManager
changeBranch, initialize, rollbackServiceModifier and TypeMethodDescriptionvoidchangeBranch(Id branchId, Proxy proxy) Changes the service branch.voidinitialize(OsidRuntimeManager runtime) Initializes this manager.rollbackService(Date rollbackTime, Proxy proxy) Rolls back this service to a point in time.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
ContactEnablerLookupSession getContactEnablerLookupSession(Proxy proxy) throws OperationFailedException Gets theOsidSessionassociated with the contact enabler lookup service.- Parameters:
proxy- a proxy- Returns:
- a
ContactEnablerLookupSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsContactEnablerLookup()isfalse- Compliance:
optional- This method must be implemented if {@code supportsContactEnablerLookup()} is {@code true} .
-
getContactEnablerLookupSessionForAddressBook
ContactEnablerLookupSession getContactEnablerLookupSessionForAddressBook(Id addressBookId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the contact enabler lookup service for the given address book.- Parameters:
addressBookId- theIdof theAddressBookproxy- a proxy- Returns:
- a
ContactEnablerLookupSession - Throws:
NotFoundException- noAddressBookfound by the givenIdNullArgumentException-addressBookId or proxy is nullOperationFailedException- unable to complete requestUnimplementedException-supportsContactEnablerLookup()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsContactEnablerLookup()} and {@code supportsVisibleFederation()} are {@code true} .
-
getContactEnablerQuerySession
ContactEnablerQuerySession getContactEnablerQuerySession(Proxy proxy) throws OperationFailedException Gets theOsidSessionassociated with the contact enabler query service.- Parameters:
proxy- a proxy- Returns:
- a
ContactEnablerQuerySession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsContactEnablerQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsContactEnablerQuery()} is {@code true} .
-
getContactEnablerQuerySessionForAddressBook
ContactEnablerQuerySession getContactEnablerQuerySessionForAddressBook(Id addressBookId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the contact enabler query service for the given address book.- Parameters:
addressBookId- theIdof theAddressBookproxy- a proxy- Returns:
- a
ContactEnablerQuerySession - Throws:
NotFoundException- noAddressBookfound by the givenIdNullArgumentException-addressBookId or proxy is nullOperationFailedException- unable to complete requestUnimplementedException-supportsContactEnablerQuery()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsContactEnablerQuery()} and {@code supportsVisibleFederation()} are {@code true} .
-
getContactEnablerSearchSession
ContactEnablerSearchSession getContactEnablerSearchSession(Proxy proxy) throws OperationFailedException Gets theOsidSessionassociated with the contact enabler search service.- Parameters:
proxy- a proxy- Returns:
- a
ContactEnablerSearchSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsContactEnablerSearch()isfalse- Compliance:
optional- This method must be implemented if {@code supportsContactEnablerSearch()} is {@code true} .
-
getContactEnablerSearchSessionForAddressBook
ContactEnablerSearchSession getContactEnablerSearchSessionForAddressBook(Id addressBookId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the contact enablers earch service for the given address book.- Parameters:
addressBookId- theIdof theAddressBookproxy- a proxy- Returns:
- a
ContactEnablerSearchSession - Throws:
NotFoundException- noAddressBookfound by the givenIdNullArgumentException-addressBookId or proxy is nullOperationFailedException- unable to complete requestUnimplementedException-supportsContactEnablerSearch()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsContactEnablerSearch()} and {@code supportsVisibleFederation()} are {@code true} .
-
getContactEnablerAdminSession
ContactEnablerAdminSession getContactEnablerAdminSession(Proxy proxy) throws OperationFailedException Gets theOsidSessionassociated with the contact enabler administration service.- Parameters:
proxy- a proxy- Returns:
- a
ContactEnablerAdminSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsContactEnablerAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsContactEnablerAdmin()} is {@code true} .
-
getContactEnablerAdminSessionForAddressBook
ContactEnablerAdminSession getContactEnablerAdminSessionForAddressBook(Id addressBookId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the contact enabler administration service for the given address book.- Parameters:
addressBookId- theIdof theAddressBookproxy- a proxy- Returns:
- a
ContactEnablerAdminSession - Throws:
NotFoundException- noAddressBookfound by the givenIdNullArgumentException-addressBookId or proxy is nullOperationFailedException- 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, Proxy proxy) throws OperationFailedException Gets theOsidSessionassociated with the contact enabler notification service.- Parameters:
contactEnablerReceiver- the notification callbackproxy- a proxy- Returns:
- a
ContactEnablerNotificationSession - Throws:
NullArgumentException-contactEnablerReceiverorproxyisnullOperationFailedException- 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, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the contact enabler notification service for the given address book.- Parameters:
contactEnablerReceiver- the notification callbackaddressBookId- theIdof theAddressBookproxy- a proxy- Returns:
- a
ContactEnablerNotificationSession - Throws:
NotFoundException- no address book found by the givenIdNullArgumentException-contactEnablerReceiver, addressBookIdorproxyisnullOperationFailedException- 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(Proxy proxy) throws OperationFailedException Gets theOsidSessionto lookup contact enabler/address book mappings for contact enablers.- Parameters:
proxy- a proxy- Returns:
- a
ContactEnablerAddressBookSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsContactEnablerAddressBook()isfalse- Compliance:
optional- This method must be implemented if {@code supportsContactEnablerAddressBook()} is {@code true} .
-
getContactEnablerAddressBookAssignmentSession
ContactEnablerAddressBookAssignmentSession getContactEnablerAddressBookAssignmentSession(Proxy proxy) throws OperationFailedException Gets theOsidSessionassociated with assigning contact enablers to address books for contact.- Parameters:
proxy- a proxy- Returns:
- a
ContactEnablerAddressBookAssignmentSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsContactEnablerAddressBookAssignment()isfalse- Compliance:
optional- This method must be implemented if {@code supportsContactEnablerAddressBookAssignment()} is {@code true} .
-
getContactEnablerSmartAddressBookSession
ContactEnablerSmartAddressBookSession getContactEnablerSmartAddressBookSession(Id addressBookId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionto manage contact enabler smart address books.- Parameters:
addressBookId- theIdof theAddressBookproxy- a proxy- Returns:
- a
ContactEnablerSmartAddressBookSession - Throws:
NotFoundException- noAddressBookfound by the givenIdNullArgumentException-addressBookIdorproxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsContactEnablerSmartAddressBook()isfalse- Compliance:
optional- This method must be implemented if {@code supportsContactEnablerSmartAddressBook()} is {@code true} .
-
getContactEnablerRuleLookupSession
ContactEnablerRuleLookupSession getContactEnablerRuleLookupSession(Proxy proxy) throws OperationFailedException Gets theOsidSessionassociated with the contact enabler mapping lookup service for looking up the rules applied to the address book.- Parameters:
proxy- a proxy- Returns:
- a
ContactEnablerRuleLookupSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsContactEnablerRuleLookup()isfalse- Compliance:
optional- This method must be implemented if {@code supportsContactEnablerRuleLookup()} is {@code true} .
-
getContactEnablerRuleLookupSessionForAddressBook
ContactEnablerRuleLookupSession getContactEnablerRuleLookupSessionForAddressBook(Id addressBookId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the contact enabler mapping lookup service for the given address book for looking up rules applied to an address book.- Parameters:
addressBookId- theIdof theAddressBookproxy- a proxy- Returns:
- a
ContactEnablerRuleLookupSession - Throws:
NotFoundException- noAddressBookfound by the givenIdNullArgumentException-addressBookIdorproxyisnullOperationFailedException- 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(Proxy proxy) throws OperationFailedException Gets theOsidSessionassociated with the contact enabler assignment service to apply enablers.- Parameters:
proxy- a proxy- Returns:
- a
ContactEnablerRuleApplicationSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsContactEnablerRuleApplication()isfalse- Compliance:
optional- This method must be implemented if {@code supportsContactEnablerRuleApplication()} is {@code true} .
-
getContactEnablerRuleApplicationSessionForAddressBook
ContactEnablerRuleApplicationSession getContactEnablerRuleApplicationSessionForAddressBook(Id addressBookId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the contact enabler assignment service for the given address book.- Parameters:
addressBookId- theIdof theAddressBookproxy- a proxy- Returns:
- a
ContactEnablerRuleApplicationSession - Throws:
NotFoundException- noAddressBookfound by the givenIdNullArgumentException-addressBookIdorproxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsContactEnablerRuleApplication()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsContactEnablerRuleApplication()} and {@code supportsVisibleFederation()} are {@code true} .
-