Interface ContactBatchManager
- All Superinterfaces:
AutoCloseable, Closeable, ContactBatchProfile, OsidManager, OsidManager, OsidProfile, Sourceable
The contact batch manager provides access to contact batch sessions and provides interoperability tests for various aspects of this service. The sessions included in this manager are:
-
ContactBatchSession: a session to create, modify and delete contacts in bulk -
AddressBatchAdminSession: a session to create, modify and delete addresses in bulk -
AddressBookBatchAdminSession: a session to create, modify and delete address books in bulk
-
Method Summary
Modifier and TypeMethodDescriptionGets theOsidSessionassociated with the bulk address administration service.getAddressBatchAdminSessionForAddressBook(Id addressBookId) Gets theOsidSessionassociated with the bulk address administration service for the given address book.Gets theOsidSessionassociated with the bulk address book administration service.Gets theOsidSessionassociated with the bulk contact administration service.getContactBatchAdminSessionForAddressBook(Id addressBookId) Gets theOsidSessionassociated with the bulk contact administration service for the given address book.Methods inherited from interface ContactBatchProfile
supportsAddressBatchAdmin, supportsAddressBookBatchAdmin, supportsContactBatchAdmin, supportsVisibleFederationModifier and TypeMethodDescriptionbooleanTests if bulk administration of addresses is available.booleanTests if bulk administration of address books is available.booleanTests if bulk administration of contacts is available.booleanTests if federation is visible.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
-
getContactBatchAdminSession
Gets theOsidSessionassociated with the bulk contact administration service.- Returns:
- a
ContactBatchAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsContactBatchAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsContactBatchAdmin()} is {@code true} .
-
getContactBatchAdminSessionForAddressBook
ContactBatchAdminSession getContactBatchAdminSessionForAddressBook(Id addressBookId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the bulk contact administration service for the given address book.- Parameters:
addressBookId- theIdof theAddressBook- Returns:
- a
ContactBatchAdminSession - Throws:
NotFoundException- noAddressBookfound by the givenIdNullArgumentException-addressBookIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsContactBatchAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsContactBatchAdmin()} and {@code supportsVisibleFederation()} are {@code true}
-
getAddressBatchAdminSession
Gets theOsidSessionassociated with the bulk address administration service.- Returns:
- an
AddressBatchAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsAddressBatchAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsAddressBatchAdmin()} is {@code true} .
-
getAddressBatchAdminSessionForAddressBook
AddressBatchAdminSession getAddressBatchAdminSessionForAddressBook(Id addressBookId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the bulk address administration service for the given address book.- Parameters:
addressBookId- theIdof theAddressBook- Returns:
- an
AddressBatchAdminSession - Throws:
NotFoundException- noAddressBookfound by the givenIdNullArgumentException-addressBookIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsAddressBatchAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsAddressBatchAdmin()} and {@code supportsVisibleFederation()} are {@code true}
-
getAddressBookBatchAdminSession
Gets theOsidSessionassociated with the bulk address book administration service.- Returns:
- a
AddressBookBatchAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsAddressBookBatchAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsAddressBookBatchAdmin()} is {@code true} .
-