public final class AuditEvent extends com.streamscape.sdo.event.AbstractMutableEvent implements EventDatagram
Title: Structured Data Objects: Audit Event
Description: An object that represents an Audit Event.
An audit event is an implementation of the DataEvent
which presents a String
message and a
Severity
type as it's payload elements. The eventgram is intended to be used as a mechanism for advertising
and thereby auditing a process or micro-flow state within the Service Event Fabric
. The eventgram is intended
to be used together with the Auditor Event Trigger and potentially Audit Queues allowing users to
produce and log audit events.
A Audit Event
has the following capabilities and limitations:
Copyright: Copyright (c) 2011
Company: StreamScape Technologies
Modifier and Type | Class and Description |
---|---|
static class |
AuditEvent.ContentType |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_EVENT_ID |
static java.lang.String |
PROCESS_EVENT_ID |
static java.lang.String |
SQL_EVENT_ID |
static java.lang.String |
USER_EVENT_ID |
SEMANTIC_TYPE_NAME
DEFAULT_SERIAL_VERSION_ID
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object other) |
java.lang.String |
getAuditData()
Returns the audit data of this event.
|
AuditEvent.ContentType |
getContentType()
Returns the type of data content of this event.
|
java.lang.String |
getReferenceKey()
Returns the reference key of this event.
|
Severity |
getSeverity()
Returns the severity of this event.
|
void |
setAuditData(java.lang.String data)
Sets the audit data.
|
void |
setContentType(AuditEvent.ContentType type)
Sets the type of data content of this event.
|
void |
setReferenceKey(java.lang.String key)
Sets the reference key of this event.
|
void |
setSeverity(Severity severity)
Sets the severity of this audit event.
|
addAnnotation, clearEventProperties, protect, removeAnnotation, removeEventProperty, resetReplyTo, setCorrelationId, setCorrelationIdAsBytes, setDurable, setEventBigDecimalProperty, setEventBigDecimalProperty, setEventBooleanProperty, setEventByteProperty, setEventDoubleProperty, setEventExpiration, setEventFloatProperty, setEventGroupId, setEventIntProperty, setEventKey, setEventLongProperty, setEventObjectProperty, setEventShortProperty, setEventStringProperty, setFinal, setForwardTo, setReplyTo, setSecurityAssertionToken, setSecurityAssertionTokenAsBytes, unprotect
canConvertEventProperty, clone, existsEventProperty, getAnnotatedProperties, getAnnotation, getCorrelationId, getCorrelationIdAsBytes, getDurable, getEventBigDecimalProperty, getEventBooleanProperty, getEventByteProperty, getEventDoubleProperty, getEventExpiration, getEventFloatProperty, getEventGroupId, getEventId, getEventIntProperty, getEventKey, getEventLongProperty, getEventObjectProperty, getEventPropertyNames, getEventPropertyType, getEventShortProperty, getEventSource, getEventStringProperty, getForwardTo, getPermissions, getReadAccess, getReplyTo, getSecurityAssertionToken, getSecurityAssertionTokenAsBytes, getTimestamp, getTransmitAccess, getWriteAccess, hasAnnotatedProperties, hasSuitableAnnotationType, isProtected
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addAnnotation, canConvertEventProperty, clearEventProperties, existsEventProperty, getAnnotatedProperties, getAnnotation, getCorrelationId, getCorrelationIdAsBytes, getEventBigDecimalProperty, getEventBooleanProperty, getEventByteProperty, getEventDoubleProperty, getEventExpiration, getEventFloatProperty, getEventIntProperty, getEventLongProperty, getEventObjectProperty, getEventPropertyNames, getEventPropertyType, getEventShortProperty, getEventStringProperty, getForwardTo, getPermissions, getReadAccess, getReplyTo, getSecurityAssertionToken, getSecurityAssertionTokenAsBytes, getTransmitAccess, getWriteAccess, hasAnnotatedProperties, isProtected, protect, removeAnnotation, removeEventProperty, resetReplyTo, setCorrelationId, setCorrelationIdAsBytes, setDurable, setEventBigDecimalProperty, setEventBigDecimalProperty, setEventBooleanProperty, setEventByteProperty, setEventDoubleProperty, setEventExpiration, setEventFloatProperty, setEventGroupId, setEventIntProperty, setEventKey, setEventLongProperty, setEventObjectProperty, setEventShortProperty, setEventStringProperty, setFinal, setForwardTo, setReplyTo, setSecurityAssertionToken, setSecurityAssertionTokenAsBytes, unprotect
clone, getDurable, getEventGroupId, getEventId, getEventKey, getEventSource, getTimestamp
getSerialVersionUID
public static final java.lang.String DEFAULT_EVENT_ID
public static final java.lang.String PROCESS_EVENT_ID
public static final java.lang.String SQL_EVENT_ID
public static final java.lang.String USER_EVENT_ID
public void setAuditData(java.lang.String data) throws SecurityViolationException
data
- the audit data to be set.SDORuntimeException
- if the event is coalesced (locked for editing).SecurityViolationException
- if the event is protected from write access.public java.lang.String getAuditData() throws SecurityViolationException
SecurityViolationException
- if the event is protected from read access.public void setSeverity(Severity severity) throws SecurityViolationException
severity
- the severity to be set.SecurityViolationException
- if the event is protected from write access.public Severity getSeverity() throws SecurityViolationException
SecurityViolationException
- if the event is protected from read access.public AuditEvent.ContentType getContentType() throws SecurityViolationException, SDOException
SecurityViolationException
- if the event is protected from read accessSDOException
public void setContentType(AuditEvent.ContentType type) throws SecurityViolationException, SDOException
type
- the content type to be set.SecurityViolationException
- if the event is protected from write access.SDOException
public java.lang.String getReferenceKey() throws SecurityViolationException, SDOException
SecurityViolationException
- if the event is protected from read access.SDOException
public void setReferenceKey(java.lang.String key) throws SecurityViolationException, SDOException
key
- the reference key to be set.SecurityViolationException
- if the event is protected from write access.SDOException
public boolean equals(java.lang.Object other)
equals
in class com.streamscape.sdo.IAbstractDataEvent
Copyright © 2015-2024 StreamScape Technologies. All rights reserved.