Package com.i2group.disco.audit
Interface IWebChartSessionOpenAuditEvent
- All Superinterfaces:
IAuditEvent
An event that was generated when a principal attempted to open a web chart session.
IWebChartSessionOpenAuditEvent makes information about the operation available to the audit
logging mechanism.
Recorded for both a successful open and a denied attempt, distinguished by getOutcome() — there is no separate "chart session open denied" event. Recorded for both an
open for editing and a read-only open, distinguished by isReadOnly().
- Since:
- 13.8
-
Method Summary
Modifier and TypeMethodDescriptionGets the identifier of the web chart session that the principal attempted to open.Gets the identifier of the user who currently holds the web chart's edit lease, whengetOutcome()isWebChartSessionOpenOutcome.FAILED_LOCKED.Gets theWebChartSessionOpenOutcomeof the attempt.booleanIndicates whether the principal attempted to open the web chart session read-only, without taking its edit lease or control of it.Methods inherited from interface com.i2group.disco.audit.IAuditEvent
getClientIPAddress, getClientUserAgent, getTimestamp, getUser, getUserId, getUserSecurityGroups, getUserSecurityPermissions, toString
-
Method Details
-
getChartId
String getChartId()Gets the identifier of the web chart session that the principal attempted to open.- Returns:
- See above.
-
getOutcome
WebChartSessionOpenOutcome getOutcome()Gets theWebChartSessionOpenOutcomeof the attempt.- Returns:
- See above.
-
getLockHolderUserId
Gets the identifier of the user who currently holds the web chart's edit lease, whengetOutcome()isWebChartSessionOpenOutcome.FAILED_LOCKED.- Returns:
- See above. Empty for every other outcome.
-
isReadOnly
boolean isReadOnly()Indicates whether the principal attempted to open the web chart session read-only, without taking its edit lease or control of it. A read-only open is recorded with the same outcomes as an open for editing, except that it is neverWebChartSessionOpenOutcome.FAILED_LOCKED.- Returns:
trueif the attempt was a read-only open;falseif it was an open for editing, or the creation of a web chart.
-