Interface LoggingBatchManager
- All Superinterfaces:
AutoCloseable, Closeable, LoggingBatchProfile, OsidManager, OsidManager, OsidProfile, Sourceable
The logging batch manager provides access to logging batch sessions and provides interoperability tests for various aspects of this service. The sessions included in this manager are:
-
LogEntryBatchAdminSession: a session to create, modify and delete log entries in bulk -
LogEntryPurgeSession: a session to purge logs -
LogBatchAdminSession: a session to create, modify and delete logs in bulk
LoggingBatchManager may be accessed by multiple processing
threads.-
Method Summary
Modifier and TypeMethodDescriptionGets theOsidSessionassociated with the bulk log administration service.Gets theOsidSessionassociated with the bulk log entry administration service.Gets theOsidSessionassociated with the bulk log entry administration service for the given log.Gets theOsidSessionassociated with the log entry purge service.getLogEntryPurgeSessionForLog(Id logId) Gets theOsidSessionassociated with the log entry purge service for the given log.Methods inherited from interface LoggingBatchProfile
supportsLogBatchAdmin, supportsLogEntryBatchAdmin, supportsLogEntryPurgeSession, supportsVisibleFederationMethods inherited from interface OsidManager
closeMethods inherited from interface OsidManager
changeBranch, initialize, rollbackServiceMethods inherited from interface OsidProfile
getBranch, getBranchId, getDescription, getDisplayName, getId, getLocales, getReleaseDate, getVersion, supportsJournalBranching, supportsJournalRollback, supportsOSIDVersionMethods inherited from interface Sourceable
getBranding, getBrandingIds, getLicense, getProvider, getProviderId
-
Method Details
-
getLogEntryBatchAdminSession
Gets theOsidSessionassociated with the bulk log entry administration service.- Returns:
- a
LogEntryBatchAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsLogEntryBatchAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsLogEntryBatchAdmin()} is {@code true}.
-
getLogEntryBatchAdminSessionForLog
LogEntryBatchAdminSession getLogEntryBatchAdminSessionForLog(Id logId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the bulk log entry administration service for the given log.- Parameters:
logId- theIdof theLog- Returns:
- a
LogEntryBatchAdminSession - Throws:
NotFoundException- noLogfound by the givenIdNullArgumentException-logIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsLogEntryBatchAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsLogEntryBatchAdmin()} and {@code supportsVisibleFederation()} are {@code true}
-
getLogEntryPurgeSession
Gets theOsidSessionassociated with the log entry purge service.- Returns:
- a
LogEntryPurgeSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsLogEntryPurge()isfalse- Compliance:
optional- This method must be implemented if {@code supportsLogEntryPurge()} is {@code true}.
-
getLogEntryPurgeSessionForLog
LogEntryPurgeSession getLogEntryPurgeSessionForLog(Id logId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the log entry purge service for the given log.- Parameters:
logId- theIdof theLog- Returns:
- a
LogEntryPurgeSession - Throws:
NotFoundException- noLogfound by the givenIdNullArgumentException-logIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsLogEntryPurge()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsLogEntryPurge()} and {@code supportsVisibleFederation()} are {@code true}
-
getLogBatchAdminSession
Gets theOsidSessionassociated with the bulk log administration service.- Returns:
- a
LogBatchAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsLogBatchAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsLogBatchAdmin()} is {@code true}.
-