|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.audit.AuditEventInfo
Auxiliary class just to hold user and the time of its last event.
Supported API: false
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
private Timestamp |
eventTime
|
static long |
EXTERNALIZATION_VERSION_UID
|
protected static long |
OLD_FORMAT_VERSION_UID
|
private static String |
RESOURCE
|
(package private) static long |
serialVersionUID
|
private ObjectReference |
targetReference
|
private WTPrincipalReference |
userReference
|
Constructor Summary | |
AuditEventInfo()
|
Method Summary | |
Timestamp |
getEventTime()
Gets the value of the attribute: eventTime; Time of the event. |
ObjectReference |
getTargetReference()
Gets the value of the attribute: targetReference; Reference to a persistable object that is the target of the event. |
WTPrincipalReference |
getUserReference()
Gets the value of the attribute: userReference; Reference to event originator. |
void |
readExternal(ObjectInput input)
Reads the non-transient fields of this class from an external source. |
private boolean |
readOldVersion(ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source, which is not the current version. |
protected boolean |
readVersion(AuditEventInfo thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source. |
void |
setEventTime(Timestamp a_EventTime)
Sets the value of the attribute: eventTime; Time of the event. |
void |
setTargetReference(ObjectReference a_TargetReference)
Sets the value of the attribute: targetReference; Reference to a persistable object that is the target of the event. |
void |
setUserReference(WTPrincipalReference a_UserReference)
Sets the value of the attribute: userReference; Reference to event originator. |
private void |
targetReferenceValidate(ObjectReference a_TargetReference)
|
String |
toString()
Produces String representation of the object. |
private void |
userReferenceValidate(WTPrincipalReference a_UserReference)
|
void |
writeExternal(ObjectOutput output)
Writes the non-transient fields of this class to an external source. |
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 userReference
private Timestamp eventTime
private ObjectReference targetReference
static final long serialVersionUID
public static final long EXTERNALIZATION_VERSION_UID
protected static final long OLD_FORMAT_VERSION_UID
Constructor Detail |
public AuditEventInfo()
Method Detail |
public void writeExternal(ObjectOutput output) throws IOException
writeExternal
in interface Externalizable
output
-
IOException
public void readExternal(ObjectInput input) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
input
-
IOException
ClassNotFoundException
protected boolean readVersion(AuditEventInfo thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
thisObject
- input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
private boolean readOldVersion(ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
public WTPrincipalReference getUserReference()
public void setUserReference(WTPrincipalReference a_UserReference) throws WTPropertyVetoException
a_UserReference
-
WTPropertyVetoException
private void userReferenceValidate(WTPrincipalReference a_UserReference) throws WTPropertyVetoException
a_UserReference
-
WTPropertyVetoException
public Timestamp getEventTime()
public void setEventTime(Timestamp a_EventTime) throws WTPropertyVetoException
a_EventTime
-
WTPropertyVetoException
public ObjectReference getTargetReference()
public void setTargetReference(ObjectReference a_TargetReference) throws WTPropertyVetoException
a_TargetReference
-
WTPropertyVetoException
private void targetReferenceValidate(ObjectReference a_TargetReference) throws WTPropertyVetoException
a_TargetReference
-
WTPropertyVetoException
public String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |