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
-
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, supportsVisibleFederationModifier and TypeMethodDescriptionbooleanTests if bulk administration of logs is available.booleanTests if bulk administration of log entries is available.booleanTests if bulk purging of log 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
-
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} .
-