Interface LoggingProxyManager
- All Superinterfaces:
AutoCloseable, Closeable, LoggingProfile, OsidProfile, OsidProxyManager, OsidProxyManager, Sourceable
The logging manager provides access to logging sessions and provides
interoperability tests for various aspects of this service. Methods in
this manager support the passing of a Proxy for the purposes of
passing information from server environments. The sessions included in
this manager are:
-
LoggingSession: a session to write to a log -
LogEntryLookupSession: a session to read a log -
LogEntryQuerySession: a session to search a log -
LogEntrySearchSession: a session to search a log -
LogEntryAdminSession: a session to manage log entries in a log -
LogEntryNotificationSession: a session to subscribe to notifications of new log entries -
LogEntryLogSession: a session to examine log entry to log mappings -
LogEntryLogAssignmentSession: a session to manage log entry to log mappings -
LogEntrySmartLogSession: a session to manage dynamic logs -
LogLookupSession: a session to retrieve log objects -
LogQuerySession: a session to search for logs -
LogSearchSession: a session to search for logs -
LogAdminSession: a session to create, update and delete logs -
LogNotificationSession: a session to receive notifications for changes in logs -
LogHierarchyTraversalSession: a session to traverse hierarchies of logs -
LogHierarchyDesignSession: a session to manage hierarchies of logs
The logging manager also provides a profile for determing the supported search types supported by this service.
-
Method Summary
Modifier and TypeMethodDescriptiongetLogAdminSession(Proxy proxy) Gets theOsidSessionassociated with the log administrative service.getLogEntryAdminSession(Proxy proxy) Gets theOsidSessionassociated with the logging entry administrative service.getLogEntryAdminSessionForLog(Id logId, Proxy proxy) Gets theOsidSessionassociated with the log entry administrative service for the given log.Gets the session for assigning log entry to log mappings.getLogEntryLogSession(Proxy proxy) Gets the session for retrieving log entry to log mappings.getLogEntryLookupSession(Proxy proxy) Gets theOsidSessionassociated with the logging reading service.getLogEntryLookupSessionForLog(Id logId, Proxy proxy) Gets theOsidSessionassociated with the log reading service for the given log.getLogEntryNotificationSession(LogEntryReceiver logEntryReceiver, Proxy proxy) Gets theOsidSessionassociated with the logging entry notification service.getLogEntryNotificationSessionForLog(LogEntryReceiver logEntryReceiver, Id logId, Proxy proxy) Gets theOsidSessionassociated with the log entry notification service for the given log.getLogEntryQuerySession(Proxy proxy) Gets theOsidSessionassociated with the logging entry query service.getLogEntryQuerySessionForLog(Id logId, Proxy proxy) Gets theOsidSessionassociated with the log entry query service for the given log.getLogEntrySearchSession(Proxy proxy) Gets theOsidSessionassociated with the logging entry search service.getLogEntrySearchSessionForLog(Id logId, Proxy proxy) Gets theOsidSessionassociated with the log entry search service for the given log.getLogEntrySmartLogSession(Id logId, Proxy proxy) Gets the session for managing dynamic log entry logs.Gets aLoggingBatchProxyManager.getLoggingSession(Proxy proxy) Gets theOsidSessionassociated with the logging service.getLoggingSessionForLog(Id logId, Proxy proxy) Gets theOsidSessionassociated with the logging service for the given log.Gets theOsidSessionassociated with the log hierarchy design service.getLogHierarchySession(Proxy proxy) Gets theOsidSessionassociated with the log hierarchy service.getLogLookupSession(Proxy proxy) Gets theOsidSessionassociated with the log lookup service.getLogNotificationSession(LogReceiver logReceiver, Proxy proxy) Gets theOsidSessionassociated with the log notification service.getLogQuerySession(Proxy proxy) Gets theOsidSessionassociated with the log query service.getLogSearchSession(Proxy proxy) Gets theOsidSessionassociated with the log search service.Methods inherited from interface LoggingProfile
getContentTypes, getLogEntryRecordTypes, getLogEntrySearchRecordTypes, getLogRecordTypes, getLogSearchRecordTypes, getPriorityTypes, supportsContentType, supportsLogAdmin, supportsLogEntryAdmin, supportsLogEntryLog, supportsLogEntryLogAssignment, supportsLogEntryLookup, supportsLogEntryNotification, supportsLogEntryQuery, supportsLogEntryRecordType, supportsLogEntrySearch, supportsLogEntrySearchRecordType, supportsLogEntrySmartLog, supportsLogging, supportsLoggingBatch, supportsLogHierarchy, supportsLogHierarchyDesign, supportsLogLookup, supportsLogNotification, supportsLogQuery, supportsLogRecordType, supportsLogSearch, supportsLogSearchRecordType, supportsPriorityType, supportsVisibleFederationModifier and TypeMethodDescriptionGets the content types supported.Gets the supportedLogrecord types.Gets the supported log entry search record types.Gets the supportedLogrecord types.Gets the supported log search record types.Gets the priority types supported, in ascending order of the priority level.booleansupportsContentType(Type contentType) Tests if the content type is supported.booleanTests for the availability of a log administrative service for creating and deleting logs.booleanTests if managing log entries is supported.booleanTests if looking up log entry log mappings is supported.booleanTests if managing log entry log mappings is supported.booleanTests if reading logs is supported.booleanTests if log entry notification is supported,.booleanTests if querying log entries is supported.booleansupportsLogEntryRecordType(Type logEntryRecordType) Tests if the givenLogEntryrecord type is supported.booleanTests if searching log entries is supported.booleansupportsLogEntrySearchRecordType(Type logEntrySearchRecordType) Tests if the given log entry search record type is supported.booleanTests if smart logs is supported.booleanTests if logging is supported.booleanTests for the availability of a logging batch service.booleanTests for the availability of a log hierarchy traversal service.booleanTests for the availability of a log hierarchy design service.booleanTests for the availability of a log lookup service.booleanTests for the availability of a log notification service.booleanTests if querying logs is available.booleansupportsLogRecordType(Type logRecordType) Tests if the givenLogrecord type is supported.booleanTests if searching for logs is available.booleansupportsLogSearchRecordType(Type logSearchRecordType) Tests if the given log search record type is supported.booleansupportsPriorityType(Type priorityType) Tests if the priority type is supported.booleanTests if visible federation is supported.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
-
getLoggingSession
Gets theOsidSessionassociated with the logging service.- Parameters:
proxy- a proxy- Returns:
- a
LoggingSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsLogging()isfalse- Compliance:
optional- This method must be implemented if {@code supportsLogging()} is {@code true} .
-
getLoggingSessionForLog
LoggingSession getLoggingSessionForLog(Id logId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the logging service for the given log.- Parameters:
logId- theIdof theLogproxy- a proxy- Returns:
- a
LoggingSession - Throws:
NotFoundException- noLogfound by the givenIdNullArgumentException-logIdorproxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsLogging()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsLogging()} and {@code supportsVisibleFederation()} are {@code true}
-
getLogEntryLookupSession
Gets theOsidSessionassociated with the logging reading service.- Parameters:
proxy- a proxy- Returns:
- a
LogEntryLookupSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsLogEntryLookup()isfalse- Compliance:
optional- This method must be implemented if {@code supportsLogEntryLookup()} is {@code true} .
-
getLogEntryLookupSessionForLog
LogEntryLookupSession getLogEntryLookupSessionForLog(Id logId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the log reading service for the given log.- Parameters:
logId- theIdof theLogproxy- a proxy- Returns:
- a
LogEntryLookupSession - Throws:
NotFoundException- noLogfound by the givenIdNullArgumentException-logIdorproxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsLogEntryLookup()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsLogEntryLookup()} and {@code supportsVisibleFederation()} are {@code true}
-
getLogEntryQuerySession
Gets theOsidSessionassociated with the logging entry query service.- Parameters:
proxy- a proxy- Returns:
- a
LogEntryQuerySession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsLogEntryQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsLogEntryQuery()} is {@code true} .
-
getLogEntryQuerySessionForLog
LogEntryQuerySession getLogEntryQuerySessionForLog(Id logId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the log entry query service for the given log.- Parameters:
logId- theIdof theLogproxy- a proxy- Returns:
- a
LogEntryQuerySession - Throws:
NotFoundException- noLogfound by the givenIdNullArgumentException-logIdorproxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsLogEntryQuery()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsLogEntryQuery()} and {@code supportsVisibleFederation()} are {@code true}
-
getLogEntrySearchSession
Gets theOsidSessionassociated with the logging entry search service.- Parameters:
proxy- a proxy- Returns:
- a
LogEntrySearchSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsLogEntrySearch()isfalse- Compliance:
optional- This method must be implemented if {@code supportsLogEntrySearch()} is {@code true} .
-
getLogEntrySearchSessionForLog
LogEntrySearchSession getLogEntrySearchSessionForLog(Id logId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the log entry search service for the given log.- Parameters:
logId- theIdof theLogproxy- a proxy- Returns:
- a
LogEntrySearchSession - Throws:
NotFoundException- noLogfound by the givenIdNullArgumentException-logIdorproxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsLogEntrySearch()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsLogEntrySearch()} and {@code supportsVisibleFederation()} are {@code true}
-
getLogEntryAdminSession
Gets theOsidSessionassociated with the logging entry administrative service.- Parameters:
proxy- a proxy- Returns:
- a
LogEntryAdminSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsLogEntryAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsLogEntryAdmin()} is {@code true} .
-
getLogEntryAdminSessionForLog
LogEntryAdminSession getLogEntryAdminSessionForLog(Id logId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the log entry administrative service for the given log.- Parameters:
logId- theIdof theLogproxy- a proxy- Returns:
- a
LogEntryAdminSession - Throws:
NotFoundException- noLogfound by the givenIdNullArgumentException-logIdorproxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsLogEntryAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsLogEntryAdmin()} and {@code supportsVisibleFederation()} are {@code true}
-
getLogEntryNotificationSession
LogEntryNotificationSession getLogEntryNotificationSession(LogEntryReceiver logEntryReceiver, Proxy proxy) throws OperationFailedException Gets theOsidSessionassociated with the logging entry notification service.- Parameters:
logEntryReceiver- the receiverproxy- a proxy- Returns:
- a
LogEntryNotificationSession - Throws:
NullArgumentException-logEntryReceiverorproxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsLogEntryNotification()isfalse- Compliance:
optional- This method must be implemented if {@code supportsLogEntryNotification()} is {@code true} .
-
getLogEntryNotificationSessionForLog
LogEntryNotificationSession getLogEntryNotificationSessionForLog(LogEntryReceiver logEntryReceiver, Id logId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the log entry notification service for the given log.- Parameters:
logEntryReceiver- the receiverlogId- theIdof theLogproxy- a proxy- Returns:
- a
LogEntryNotificationSession - Throws:
NotFoundException- noLogfound by the givenIdNullArgumentException-logEntryReceiver, logIdorproxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsLogEntryNotification()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsLogEntryNotification()} and {@code supportsVisibleFederation()} are {@code true}
-
getLogEntryLogSession
Gets the session for retrieving log entry to log mappings.- Parameters:
proxy- a proxy- Returns:
- a
LogEntryLogSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsLogEntryLog()isfalse- Compliance:
optional- This method must be implemented if {@code supportsLogEntryLog()} is {@code true} .
-
getLogEntryLogAssignmentSession
LogEntryLogAssignmentSession getLogEntryLogAssignmentSession(Proxy proxy) throws OperationFailedException Gets the session for assigning log entry to log mappings.- Parameters:
proxy- a proxy- Returns:
- a
LogEntryLogAssignmentSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsLogEntryLogAssignment()isfalse- Compliance:
optional- This method must be implemented if {@code supportsLogEntryLogAssignment()} is {@code true} .
-
getLogEntrySmartLogSession
LogEntrySmartLogSession getLogEntrySmartLogSession(Id logId, Proxy proxy) throws NotFoundException, OperationFailedException Gets the session for managing dynamic log entry logs.- Parameters:
logId- theIdof the logproxy- a proxy- Returns:
- a
LogEntrySmartLogSession - Throws:
NotFoundException-logIdnot foundNullArgumentException-logIdorproxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsLogEntrySmartLog()isfalse- Compliance:
optional- This method must be implemented if {@code supportsLogEntrySmartLog()} is {@code true} .
-
getLogLookupSession
Gets theOsidSessionassociated with the log lookup service.- Parameters:
proxy- a proxy- Returns:
- a
LogLookupSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsLogLookup()isfalse- Compliance:
optional- This method must be implemented if {@code supportsLogLookup()} is {@code true} .
-
getLogQuerySession
Gets theOsidSessionassociated with the log query service.- Parameters:
proxy- a proxy- Returns:
- a
LogQuerySession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsLogQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsLogQuery()} is {@code true} .
-
getLogSearchSession
Gets theOsidSessionassociated with the log search service.- Parameters:
proxy- a proxy- Returns:
- a
LogSearchSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsLogSearch()isfalse- Compliance:
optional- This method must be implemented if {@code supportsLogSearch()} is {@code true} .
-
getLogAdminSession
Gets theOsidSessionassociated with the log administrative service.- Parameters:
proxy- a proxy- Returns:
- a
LogAdminSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsLogAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsLogAdmin()} is {@code true} .
-
getLogNotificationSession
LogNotificationSession getLogNotificationSession(LogReceiver logReceiver, Proxy proxy) throws OperationFailedException Gets theOsidSessionassociated with the log notification service.- Parameters:
logReceiver- the receiverproxy- a proxy- Returns:
- a
LogNotificationSession - Throws:
NullArgumentException-logReceiverorproxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsLogNotification()isfalse- Compliance:
optional- This method must be implemented if {@code supportsLogNotification()} is {@code true} .
-
getLogHierarchySession
Gets theOsidSessionassociated with the log hierarchy service.- Parameters:
proxy- a proxy- Returns:
- a
LogHierarchySessionfor logs - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsLogHierarchy()isfalse- Compliance:
optional- This method must be implemented if {@code supportsLogHierarchy()} is {@code true} .
-
getLogHierarchyDesignSession
Gets theOsidSessionassociated with the log hierarchy design service.- Parameters:
proxy- a proxy- Returns:
- a
HierarchyDesignSessionfor logs - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsLogHierarchyDesign()isfalse- Compliance:
optional- This method must be implemented if {@code supportsLogHierarchyDesign()} is {@code true} .
-
getLoggingBatchProxyManager
Gets aLoggingBatchProxyManager.- Returns:
- a
LoggingBatchProxyManager - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsLoggingBatch()isfalse- Compliance:
optional- This method must be implemented if {@code supportsLoggingBatch()} is {@code true} .
-