|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.events.KeyedEvent
wt.audit.AuditServiceEvent
Event emitted when a user logs in or out the system or a specific container.
The types of event supported are AuditEventType
objects.
Supported API: false
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
private ObjectReference |
containerRef
|
private Timestamp |
eventTime
|
private static String |
RESOURCE
|
private WTPrincipalReference |
userRef
|
Fields inherited from class wt.events.KeyedEvent |
|
Constructor Summary | |
AuditServiceEvent(AuditEventType event_type,
WTPrincipalReference user_ref,
ObjectReference container_ref)
Audit service event constructor. |
Method Summary | |
static String |
generateEventKey(AuditEventType event_type)
Generates the event key given the event type as a AuditEventType . |
static String |
generateEventKey(String event_type)
Generates the event key given the event type as a String. |
ObjectReference |
getContainerRef()
Gets the value of the attribute: containerRef; Reference to the container that is being logged in/out. |
Timestamp |
getEventTime()
Gets the value of the attribute: eventTime; Time of the event. |
WTPrincipalReference |
getUserRef()
Gets the value of the attribute: userRef; Holds a reference to the user that is logging in/out. |
void |
setContainerRef(ObjectReference a_ContainerRef)
Sets the value of the attribute: containerRef; Reference to the container that is being logged in/out. |
void |
setEventTime(Timestamp a_EventTime)
Sets the value of the attribute: eventTime; Time of the event. |
void |
setUserRef(WTPrincipalReference a_UserRef)
Sets the value of the attribute: userRef; Holds a reference to the user that is logging in/out. |
String |
toString()
Return a String representation of this event Supported API: false |
Methods inherited from class wt.events.KeyedEvent |
generateEventKey, generateEventKey, getConceptualClassname, getEventKey, getEventTarget, getEventType, toMultiObjectEvent, toSingleObjectEvents |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private WTPrincipalReference userRef
private ObjectReference containerRef
private Timestamp eventTime
Constructor Detail |
public AuditServiceEvent(AuditEventType event_type, WTPrincipalReference user_ref, ObjectReference container_ref)
event_type
- user_ref
- container_ref
- Method Detail |
public WTPrincipalReference getUserRef()
public void setUserRef(WTPrincipalReference a_UserRef)
a_UserRef
- public ObjectReference getContainerRef()
public void setContainerRef(ObjectReference a_ContainerRef)
a_ContainerRef
- public Timestamp getEventTime()
public void setEventTime(Timestamp a_EventTime)
a_EventTime
- public static String generateEventKey(String event_type)
event_type
-
public static String generateEventKey(AuditEventType event_type)
AuditEventType
.
event_type
-
public String toString()
KeyedEvent
toString
in class KeyedEvent
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |