Interface JournalingBatchManager
- All Superinterfaces:
AutoCloseable, Closeable, JournalingBatchProfile, OsidManager, OsidManager, OsidProfile, Sourceable
The journaling batch manager provides access to journaling batch sessions and provides interoperability tests for various aspects of this service. The sessions included in this manager are:
-
JournalEntryBatchAdminSession: a session to create, modify and delete journal entries in bulk -
BranchBatchSession: a session to create, modify and delete branches in bulk -
JournalBatchAdminSession: a session to create, modify and delete journals in bulk
-
Method Summary
Modifier and TypeMethodDescriptionGets theOsidSessionassociated with the bulk branch administration service.getBranchBatchAdminSessionForJournal(Id journalId) Gets theOsidSessionassociated with the bulk branch administration service for the given journal.Gets theOsidSessionassociated with the bulk journal administration service.Gets theOsidSessionassociated with the bulk journal entry administration service.getJournalEntryBatchAdminSessionForJournal(Id journalId) Gets theOsidSessionassociated with the bulk journal entry administration service for the given journal.Methods inherited from interface JournalingBatchProfile
supportsBranchBatchAdmin, supportsJournalBatchAdmin, supportsJournalEntryBatchAdmin, supportsVisibleFederationModifier and TypeMethodDescriptionbooleanTests if bulk administration of branches is available.booleanTests if bulk administration of journals is available.booleanTests if bulk administration of journal entries 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
-
getJournalEntryBatchAdminSession
Gets theOsidSessionassociated with the bulk journal entry administration service.- Returns:
- a
JournalEntryBatchAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsJournalEntryBatchAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsJournalEntryBatchAdmin()} is {@code true} .
-
getJournalEntryBatchAdminSessionForJournal
JournalEntryBatchAdminSession getJournalEntryBatchAdminSessionForJournal(Id journalId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the bulk journal entry administration service for the given journal.- Parameters:
journalId- theIdof theJournal- Returns:
- a
JournalEntryBatchAdminSession - Throws:
NotFoundException- noJournalfound by the givenIdNullArgumentException-journalIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsJournalEntryBatchAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsJournalEntryBatchAdmin()} and {@code supportsVisibleFederation()} are {@code true}
-
getBranchBatchAdminSession
Gets theOsidSessionassociated with the bulk branch administration service.- Returns:
- a
BranchBatchAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsBranchBatchAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsBranchBatchAdmin()} is {@code true} .
-
getBranchBatchAdminSessionForJournal
BranchBatchAdminSession getBranchBatchAdminSessionForJournal(Id journalId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the bulk branch administration service for the given journal.- Parameters:
journalId- theIdof theJournal- Returns:
- a
BranchBatchAdminSession - Throws:
NotFoundException- noJournalfound by the givenIdNullArgumentException-journalIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsBranchBatchAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsBranchBatchAdmin()} and {@code supportsVisibleFederation()} are {@code true}
-
getJournalBatchAdminSession
Gets theOsidSessionassociated with the bulk journal administration service.- Returns:
- a
JournalBatchAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsJournalBatchAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsJournalBatchAdmin()} is {@code true} .
-