Interface IAuditLogger
- All Known Implementing Classes:
NoOpAuditLogger
i2 Analyze calls an implementation of this interface first to determine what logging
functionality is available, and then to use it. To implement the interface, override related
pairs of methods. i2 Analyze only calls a log...()
method when its companion
is...AuditEnabled()
returns true
.
Unless they are explicitly overridden, all is...AuditEnabled()
methods return
false
, and all log...()
methods redirect to logDefault(IAuditEvent)
, which does
nothing.
- Since:
- 8.0
-
Method Summary
Modifier and TypeMethodDescriptiondefault boolean
Indicates whether audit logging of "login" and "logout" operations, and users' acceptance of privacy agreements, is enabled.default boolean
Indicates whether audit logging of "chart create", "chart read", "chart update", "chart delete" and "chart undo delete" operations is enabled.default boolean
Indicates whether audit logging of "chartlet create" and "chartlet read" operations is enabled.default boolean
Indicates whether audit logging of "data acquisition" operations, including deleting the result sets from those operations, is enabled.default boolean
Indicates whether audit logging of "provisioning" operations for users and groups is enabled.default boolean
Indicates whether audit logging of "quick search", "expand", "find path", "geospatial search", "visual query", and "highlight query" operations is enabled.default boolean
Indicates whether audit logging of "record create", "record update", and "record delete" operations is enabled.default boolean
Indicates whether audit logging of "record retrieval" operations is enabled.default boolean
Deprecated.default boolean
Indicates whether audit logging of "saved artifact create", "saved artifact read", "saved artifact update" and "saved artifact delete" operations is enabled.default boolean
Indicates whether audit logging of completed "visual query" operations is enabled.default void
logChartCreate
(IChartCreateAuditEvent auditEvent) Logs information about a "chart create" operation.default void
logChartDelete
(IChartDeleteAuditEvent auditEvent) Logs information about a "chart delete" operation.default void
logChartletCreate
(IChartletAuditEvent auditEvent) Logs information about a "chartlet create" operation.default void
logChartletRead
(IChartletAuditEvent auditEvent) Logs information about a "chartlet read" operation.default void
logChartRead
(IChartReadAuditEvent auditEvent) Logs information about a "chart read" operation.default void
logChartUndoDelete
(IChartUndoDeleteAuditEvent auditEvent) Logs information about a "chart undo delete" operation.default void
logChartUpdate
(IChartUpdateAuditEvent auditEvent) Logs information about a "chart update" operation.default void
logChartVersionDelete
(IChartVersionDeleteAuditEvent auditEvent) Logs information about a "chart version delete" operation.default void
logChartVersionRead
(IChartVersionReadAuditEvent auditEvent) Logs information about a "chart version read" operation.default void
logDAODEvent
(IDAODAuditEvent auditEvent) Logs information about a "data acquisition" operation, which includes a visual query operation against an external source.default void
Logs information about the deletion of result sets from "data acquisition" operations.default void
logDefault
(IAuditEvent auditEvent) Logs information about an operation when auditing is enabled and a more specific method has not been overridden.default void
logExpand
(IExpandAuditEvent auditEvent) Logs information about an "expand" operation.default void
logFindPath
(IFindPathAuditEvent auditEvent) Logs information about a "find path" operation.default void
logGeospatialSearch
(IGeospatialSearchAuditEvent auditEvent) Logs information about a "geospatial search" operation.default void
logHighlightQuery
(IHighlightQueryShowMoreAuditEvent auditEvent) Logs information about a "highlight query show more" operation.default void
logLoginEvent
(ILoginAuditEvent auditEvent) Logs information about a "login" operation.default void
logLogoutEvent
(ILogoutAuditEvent auditEvent) Logs information about a "logout" operation.default void
logPrivacyAgreementEvent
(IPrivacyAgreementAuditEvent auditEvent) Logs information about user acceptance of a privacy agreement.default void
logProvisioningGroupAdd
(IGroupAddAuditEvent auditEvent) Logs information about an "add group" provisioning operation.default void
logProvisioningGroupRemove
(IGroupRemoveAuditEvent auditEvent) Logs information about a "remove group" provisioning operation.default void
logProvisioningGroupRestore
(IGroupRestoreAuditEvent auditEvent) Logs information about a "restore group" provisioning operation.default void
logProvisioningGroupUpdate
(IGroupUpdateAuditEvent auditEvent) Logs information about an "update group" provisioning operation.default void
logProvisioningUserAdd
(IUserAddAuditEvent auditEvent) Logs information about an "add user" provisioning operation.default void
logProvisioningUserRemove
(IUserRemoveAuditEvent auditEvent) Logs information about a "remove user" provisioning operation.default void
logProvisioningUserRestore
(IUserRestoreAuditEvent auditEvent) Logs information about a "restore user" provisioning operation.default void
logProvisioningUserUpdate
(IUserUpdateAuditEvent auditEvent) Logs information about an "update user" provisioning operation.default void
logQuickSearch
(IQuickSearchAuditEvent auditEvent) Logs information about a "quick search" operation.default void
logRecordDelete
(IRecordDeleteAuditEvent auditEvent) Logs information about a "record delete" operation.default void
logRecordRetrieval
(IRecordRetrievalAuditEvent auditEvent) Logs information about a "record retrieval" operation.default void
logRecordUpload
(IRecordUploadAuditEvent auditEvent) Logs information about a "record create" or "record update" operation.default void
logSavedArtifactCreate
(ISavedArtifactCreateAuditEvent auditEvent) Logs information about a "saved artifact create" operation.default void
logSavedArtifactDelete
(ISavedArtifactDeleteAuditEvent auditEvent) Logs information about a "saved artifact delete" operation.default void
logSavedArtifactRead
(ISavedArtifactReadAuditEvent auditEvent) Logs information about a "saved artifact read" operation.default void
logSavedArtifactUpdate
(ISavedArtifactUpdateAuditEvent auditEvent) Logs information about a "saved artifact update" operation.default void
logVisualQuery
(IVisualQueryAuditEvent auditEvent) Logs information about a "visual query" operation.default void
Logs information about a completed "visual query" operation.
-
Method Details
-
isQueryAuditEnabled
default boolean isQueryAuditEnabled()Indicates whether audit logging of "quick search", "expand", "find path", "geospatial search", "visual query", and "highlight query" operations is enabled.Note: Audit logging takes place after the operation in all cases except visual query, where it happens before the operation. For audit logging of completed visual queries, use
isVisualQueryCompletedAuditEnabled()
.- Returns:
true
if audit logging is enabled;false
otherwise.
-
isVisualQueryCompletedAuditEnabled
default boolean isVisualQueryCompletedAuditEnabled()Indicates whether audit logging of completed "visual query" operations is enabled.- Returns:
true
if audit logging is enabled;false
otherwise.
-
isRecordRetrievalAuditEnabled
default boolean isRecordRetrievalAuditEnabled()Indicates whether audit logging of "record retrieval" operations is enabled.- Returns:
true
if audit logging is enabled;false
otherwise.- Since:
- 9.0
-
isRecordUploadAuditEnabled
Deprecated.UseisRecordCUDAuditEnabled()
instead.Indicates whether audit logging of "record upload" operations is enabled.- Returns:
true
if audit logging is enabled;false
otherwise.- Since:
- 10.0
-
isRecordCUDAuditEnabled
default boolean isRecordCUDAuditEnabled()Indicates whether audit logging of "record create", "record update", and "record delete" operations is enabled.- Returns:
true
if audit logging is enabled;false
otherwise.- Since:
- 10.1
-
isChartCRUDAuditEnabled
default boolean isChartCRUDAuditEnabled()Indicates whether audit logging of "chart create", "chart read", "chart update", "chart delete" and "chart undo delete" operations is enabled.- Returns:
true
if audit logging is enabled;false
otherwise.- Since:
- 11.2
-
isDAODAuditEnabled
default boolean isDAODAuditEnabled()Indicates whether audit logging of "data acquisition" operations, including deleting the result sets from those operations, is enabled.- Returns:
true
if audit logging is enabled;false
otherwise.- Since:
- 10.2
-
isAuthenticationAuditEnabled
default boolean isAuthenticationAuditEnabled()Indicates whether audit logging of "login" and "logout" operations, and users' acceptance of privacy agreements, is enabled.- Returns:
true
if audit logging is enabled;false
otherwise.- Since:
- 13.0
-
isChartletAuditEnabled
default boolean isChartletAuditEnabled()Indicates whether audit logging of "chartlet create" and "chartlet read" operations is enabled.- Returns:
true
if audit logging is enabled;false
otherwise.- Since:
- 13.2
-
isSavedArtifactCRUDEnabled
default boolean isSavedArtifactCRUDEnabled()Indicates whether audit logging of "saved artifact create", "saved artifact read", "saved artifact update" and "saved artifact delete" operations is enabled.- Returns:
true
if audit logging is enabled;false
otherwise.- Since:
- 13.3
-
isProvisioningAuditEnabled
default boolean isProvisioningAuditEnabled()Indicates whether audit logging of "provisioning" operations for users and groups is enabled.- Returns:
true
if audit logging is enabled;false
otherwise.- Since:
- 13.3
-
logVisualQuery
Logs information about a "visual query" operation. i2 Analyze calls this method only ifisQueryAuditEnabled()
returnstrue
.Note: All implementations of this method must be thread safe.
- Parameters:
auditEvent
- AnIVisualQueryAuditEvent
that contains information about a "visual query" operation against the Information Store.- Since:
- 9.0
-
logVisualQueryCompleted
Logs information about a completed "visual query" operation. i2 Analyze calls this method only ifisVisualQueryCompletedAuditEnabled()
returnstrue
.Note: All implementations of this method must be thread safe.
- Parameters:
auditEvent
- AnIVisualQueryCompletedAuditEvent
that contains information about a completed "visual query" operation against the Information Store.- Since:
- 13.3
-
logFindPath
Logs information about a "find path" operation. i2 Analyze calls this method only ifisQueryAuditEnabled()
returnstrue
.Note: All implementations of this method must be thread safe.
- Parameters:
auditEvent
- AnIFindPathAuditEvent
that contains information about a "find path" operation against the Information Store.- Since:
- 9.2
-
logQuickSearch
Logs information about a "quick search" operation. i2 Analyze calls this method only ifisQueryAuditEnabled()
returnstrue
.Note: All implementations of this method must be thread safe.
- Parameters:
auditEvent
- AnIQuickSearchAuditEvent
that contains information about a "quick search" operation against the Information Store.
-
logHighlightQuery
Logs information about a "highlight query show more" operation. i2 Analyze calls this method only ifisQueryAuditEnabled()
returnstrue
.Note: All implementations of this method must be thread safe.
- Parameters:
auditEvent
- AnIHighlightQueryShowMoreAuditEvent
that contains information about a "highlight query show more" operation against the Information Store.- Since:
- 11.1
-
logGeospatialSearch
Logs information about a "geospatial search" operation. i2 Analyze calls this method only ifisQueryAuditEnabled()
returnstrue
.Note: All implementations of this method must be thread safe.
- Parameters:
auditEvent
- AnIGeospatialSearchAuditEvent
that contains information about a "geospatial search" operation against the Information Store.- Since:
- 11.0
-
logExpand
Logs information about an "expand" operation. i2 Analyze calls this method only ifisQueryAuditEnabled()
returnstrue
.Note: All implementations of this method must be thread safe.
- Parameters:
auditEvent
- AnIExpandAuditEvent
that contains information about an "expand" operation against the Information Store.
-
logRecordRetrieval
Logs information about a "record retrieval" operation. i2 Analyze calls this method only ifisRecordRetrievalAuditEnabled()
returnstrue
.Note: All implementations of this method must be thread safe.
- Parameters:
auditEvent
- AnIRecordRetrievalAuditEvent
that contains information about a "record retrieval" operation against the Information Store.- Since:
- 9.0
-
logRecordDelete
Logs information about a "record delete" operation. i2 Analyze calls this method only ifisRecordCUDAuditEnabled()
returnstrue
.Note: All implementations of this method must be thread safe.
- Parameters:
auditEvent
- AnIRecordDeleteAuditEvent
that contains information about a "record delete" operation against the Information Store.- Since:
- 10.1
-
logRecordUpload
Logs information about a "record create" or "record update" operation. i2 Analyze calls this method only ifisRecordCUDAuditEnabled()
returnstrue
.Note: All implementations of this method must be thread safe.
- Parameters:
auditEvent
- AnIRecordUploadAuditEvent
that contains information about a "record create" or "record update" operation against the Information Store.- Since:
- 10.0
-
logChartCreate
Logs information about a "chart create" operation. i2 Analyze calls this method only ifisChartCRUDAuditEnabled()
returnstrue
.Note: All implementations of this method must be thread safe.
- Parameters:
auditEvent
- AnIChartCreateAuditEvent
that contains information about a "chart create" operation against the Information Store.- Since:
- 11.2
-
logChartRead
Logs information about a "chart read" operation. i2 Analyze calls this method only ifisChartCRUDAuditEnabled()
returnstrue
.Note: All implementations of this method must be thread safe.
- Parameters:
auditEvent
- AnIChartReadAuditEvent
that contains information about a "chart read" operation against the Information Store.- Since:
- 11.2
-
logChartUpdate
Logs information about a "chart update" operation. i2 Analyze calls this method only ifisChartCRUDAuditEnabled()
returnstrue
.Note: All implementations of this method must be thread safe.
- Parameters:
auditEvent
- AnIChartUpdateAuditEvent
that contains information about a "chart update" operation against the Information Store.- Since:
- 11.2
-
logChartDelete
Logs information about a "chart delete" operation. i2 Analyze calls this method only ifisChartCRUDAuditEnabled()
returnstrue
.Note: All implementations of this method must be thread safe.
- Parameters:
auditEvent
- AnIChartDeleteAuditEvent
that contains information about a "chart delete" operation against the Information Store.- Since:
- 11.2
-
logChartUndoDelete
Logs information about a "chart undo delete" operation. i2 Analyze calls this method only ifisChartCRUDAuditEnabled()
returnstrue
.Note: All implementations of this method must be thread safe.
- Parameters:
auditEvent
- AnIChartUndoDeleteAuditEvent
that contains information about a "chart undo delete" operation against the Information Store.- Since:
- 12.1
-
logChartVersionRead
Logs information about a "chart version read" operation. i2 Analyze calls this method only ifisChartCRUDAuditEnabled()
returnstrue
.Note: All implementations of this method must be thread safe.
- Parameters:
auditEvent
- AnIChartVersionReadAuditEvent
that contains information about a "chart version read" operation against the Information Store.- Since:
- 11.2
-
logChartVersionDelete
Logs information about a "chart version delete" operation. i2 Analyze calls this method only ifisChartCRUDAuditEnabled()
returnstrue
.Note: All implementations of this method must be thread safe.
- Parameters:
auditEvent
- AnIChartVersionDeleteAuditEvent
that contains information about a "chart version delete" operation against the Information Store.- Since:
- 11.2
-
logDAODEvent
Logs information about a "data acquisition" operation, which includes a visual query operation against an external source. i2 Analyze calls this method only ifisDAODAuditEnabled()
returnstrue
.Note: All implementations of this method must be thread safe.
- Parameters:
auditEvent
- AnIDAODAuditEvent
that contains information about a "data acquisition" operation.- Since:
- 10.2
-
logLoginEvent
Logs information about a "login" operation. i2 Analyze calls this method only ifisAuthenticationAuditEnabled()
returnstrue
.- Parameters:
auditEvent
- AnILoginAuditEvent
that contains information about a "login" operation.- Since:
- 13.0
-
logLogoutEvent
Logs information about a "logout" operation. i2 Analyze calls this method only ifisAuthenticationAuditEnabled()
returnstrue
.- Parameters:
auditEvent
- AnILogoutAuditEvent
that contains information about a "logout" operation.- Since:
- 13.0
-
logPrivacyAgreementEvent
Logs information about user acceptance of a privacy agreement. i2 Analyze calls this method only ifisAuthenticationAuditEnabled()
returnstrue
.- Parameters:
auditEvent
- AnIPrivacyAgreementAuditEvent
that contains information about user acceptance of a privacy agreement.- Since:
- 13.0
-
logDAODResultSetsDeleteEvent
Logs information about the deletion of result sets from "data acquisition" operations. i2 Analyze calls this method only ifisDAODAuditEnabled()
returnstrue
.- Parameters:
auditEvent
- AnIDAODResultSetsDeleteAuditEvent
that contains information about the deletion of the result sets.- Since:
- 13.1
-
logChartletCreate
Logs information about a "chartlet create" operation. i2 Analyze calls this method only ifisChartletAuditEnabled()
returnstrue
.A chartlet is created when a user of an i2 Analyze client application shares records with other users.
- Parameters:
auditEvent
- AnIChartletAuditEvent
that contains information about a "chartlet create" operation.- Since:
- 13.2
-
logChartletRead
Logs information about a "chartlet read" operation. i2 Analyze calls this method only ifisChartletAuditEnabled()
returnstrue
.A chartlet is read when a user of an i2 Analyze client application navigates to the records that another user has shared.
- Parameters:
auditEvent
- AnIChartletAuditEvent
that contains information about a "chartlet read" operation.- Since:
- 13.2
-
logSavedArtifactCreate
Logs information about a "saved artifact create" operation. i2 Analyze calls this method only ifisSavedArtifactCRUDEnabled()
returnstrue
.Note: All implementations of this method must be thread safe.
- Parameters:
auditEvent
- AnISavedArtifactCreateAuditEvent
that contains information about a "saved artifact create" operation.- Since:
- 13.3
-
logSavedArtifactRead
Logs information about a "saved artifact read" operation. i2 Analyze calls this method only ifisSavedArtifactCRUDEnabled()
returnstrue
.Note: All implementations of this method must be thread safe.
- Parameters:
auditEvent
- AnISavedArtifactReadAuditEvent
that contains information about a "saved artifact read" operation.- Since:
- 13.3
-
logSavedArtifactUpdate
Logs information about a "saved artifact update" operation. i2 Analyze calls this method only ifisSavedArtifactCRUDEnabled()
returnstrue
.Note: All implementations of this method must be thread safe.
- Parameters:
auditEvent
- AnISavedArtifactUpdateAuditEvent
that contains information about a "saved artifact update" operation.- Since:
- 13.3
-
logSavedArtifactDelete
Logs information about a "saved artifact delete" operation. i2 Analyze calls this method only ifisSavedArtifactCRUDEnabled()
returnstrue
.Note: All implementations of this method must be thread safe.
- Parameters:
auditEvent
- AnISavedArtifactDeleteAuditEvent
that contains information about a "saved artifact delete" operation.- Since:
- 13.3
-
logProvisioningUserAdd
Logs information about an "add user" provisioning operation. i2 Analyze calls this method only ifisProvisioningAuditEnabled()
returnstrue
.- Parameters:
auditEvent
- AnIUserAddAuditEvent
that contains information about an "add user" provisioning operation.- Since:
- 13.3
-
logProvisioningUserRemove
Logs information about a "remove user" provisioning operation. i2 Analyze calls this method only ifisProvisioningAuditEnabled()
returnstrue
.- Parameters:
auditEvent
- AnIUserRemoveAuditEvent
that contains information about a "remove user" provisioning operation.- Since:
- 13.3
-
logProvisioningUserRestore
Logs information about a "restore user" provisioning operation. i2 Analyze calls this method only ifisProvisioningAuditEnabled()
returnstrue
.- Parameters:
auditEvent
- AnIUserRestoreAuditEvent
that contains information about a "restore user" provisioning operation.- Since:
- 13.3
-
logProvisioningUserUpdate
Logs information about an "update user" provisioning operation. i2 Analyze calls this method only ifisProvisioningAuditEnabled()
returnstrue
.- Parameters:
auditEvent
- AnIUserUpdateAuditEvent
that contains information about an "update user" provisioning operation.- Since:
- 13.3
-
logProvisioningGroupAdd
Logs information about an "add group" provisioning operation. i2 Analyze calls this method only ifisProvisioningAuditEnabled()
returnstrue
.- Parameters:
auditEvent
- AnIGroupAddAuditEvent
that contains information about an "add group" provisioning operation.- Since:
- 13.3
-
logProvisioningGroupRemove
Logs information about a "remove group" provisioning operation. i2 Analyze calls this method only ifisProvisioningAuditEnabled()
returnstrue
.- Parameters:
auditEvent
- AnIGroupRemoveAuditEvent
that contains information about a "remove group" provisioning operation.- Since:
- 13.3
-
logProvisioningGroupRestore
Logs information about a "restore group" provisioning operation. i2 Analyze calls this method only ifisProvisioningAuditEnabled()
returnstrue
.- Parameters:
auditEvent
- AnIGroupRestoreAuditEvent
that contains information about a "restore group" provisioning operation.- Since:
- 13.3
-
logProvisioningGroupUpdate
Logs information about an "update group" provisioning operation. i2 Analyze calls this method only ifisProvisioningAuditEnabled()
returnstrue
.- Parameters:
auditEvent
- AnIGroupUpdateAuditEvent
that contains information about an "update group" provisioning operation.- Since:
- 13.3
-
logDefault
Logs information about an operation when auditing is enabled and a more specific method has not been overridden. i2 Analyze calls this method if anis...AuditEnabled()
method returnstrue
but its companionlog...()
method is not implemented. The exception is for missing implementations oflogLogoutEvent(ILogoutAuditEvent)
, which do not result in a call to this method.Note: All implementations of this method must be thread safe.
- Parameters:
auditEvent
- AnIAuditEvent
that contains information about an operation against i2 Analyze or the Information Store.
-
isRecordCUDAuditEnabled()
instead.