com.pcbsys.nirvana.nAdminAPI.nAuditEvent Class Reference

This class contains information for realm auditing. More...


Public Member Functions

nACLEntry getNewValue ()
 If applicable, returns the new value after the change.
String getObjectName ()
 Returns the name of the object oin which the audit event is reporting on.
String getObjectString ()
 Returns a string representing the object being reported.
int getObjectType ()
 Returns the int object type.
nACLEntry getOldValue ()
 If applicable, returns the old value prior to the change.
int getOperation ()
 Returns the int operation type.
String getOperationString ()
 Returns a string representing the operation being reported.
String getSubject ()
 Returns the subject on which the audit event is reporting on.
String getTimestamp ()
 Returns the time stamp that the event took place.
Date getTimestampDate ()
 Returns the time stamp that the event took place represented as a date.

Static Public Attributes

static final int sAccess = 3
 Indicates an access operation.
static final int sChanACL = 7
 Indicates a Channel ACL audit object type.
static final int sChange = 2
 Indicates a changed operation.
static final int sChannel = 1
 Indicates a channel audit object type.
static final int sChannelFailure = 12
 Indicates a failed channel audit object type.
static final int sChannelSuccess = 11
 Indicates a successful channel audit object type.
static final int sDelete = 1
 Indicates a delete operation.
static final int sInterface = 19
 Indicates an Interface audit object type.
static final int sJoin = 4
 Indicates a join audit object type.
static final int sJoinFailure = 18
 Indicates a failed join audit object type.
static final int sJoinSuccess = 17
 Indicates a successful join audit object type.
static final int sModify = 0
 Indicates a modified operation.
static final int sQueue = 2
 Indicates a queue audit object type.
static final int sQueueACL = 6
 Indicates a Queue ACL audit object type.
static final int sQueueFailure = 14
 Indicates a failed queue audit object type.
static final int sQueueSuccess = 13
 Indicates a successful queue audit object type.
static final int sRealm = 0
 Indicates a Realm audit object type.
static final int sRealmACL = 5
 Indicates a Realm ACL audit object type.
static final int sRealmFailure = 10
 Indicates a failed realm audit object type.
static final int sRealmSuccess = 9
 Indicates a successful realm audit object type.
static final int sService = 3
 Indicates a service audit object type.
static final int sServiceACL = 8
 Indicates a service ACL audit object type.
static final int sServiceFailure = 16
 Indicates a failed service audit object type.
static final int sServiceSuccess = 15
 Indicates a successful service audit object type.
static final int sStart = 4
 Indicates a start operation.
static final int sStop = 5
 Indicates a stop operation.

Detailed Description

This class contains information for realm auditing.

The type of information contained is for :

Realms / Channels / Queues / ACLs / Service / Join

specifically operation such as :

Add / Delete / Remove

and 'who' i.e. the subject that performed the operation


Member Function Documentation

nACLEntry com.pcbsys.nirvana.nAdminAPI.nAuditEvent.getNewValue (  ) 

If applicable, returns the new value after the change.

Returns:
New value

String com.pcbsys.nirvana.nAdminAPI.nAuditEvent.getObjectName (  ) 

Returns the name of the object oin which the audit event is reporting on.

Returns:
String object name

String com.pcbsys.nirvana.nAdminAPI.nAuditEvent.getObjectString (  ) 

Returns a string representing the object being reported.

Returns:
String value

int com.pcbsys.nirvana.nAdminAPI.nAuditEvent.getObjectType (  ) 

Returns the int object type.

Returns:
Int value representative of the object type

nACLEntry com.pcbsys.nirvana.nAdminAPI.nAuditEvent.getOldValue (  ) 

If applicable, returns the old value prior to the change.

Only valid on a sChanged operation

Returns:
Old value as an nACLEntry object or null if not an sChaned operation

int com.pcbsys.nirvana.nAdminAPI.nAuditEvent.getOperation (  ) 

Returns the int operation type.

Returns:
Int value of the operation being reported

String com.pcbsys.nirvana.nAdminAPI.nAuditEvent.getOperationString (  ) 

Returns a string representing the operation being reported.

Returns:
A string representation of the operation being reported

String com.pcbsys.nirvana.nAdminAPI.nAuditEvent.getSubject (  ) 

Returns the subject on which the audit event is reporting on.

Returns:
String subject of username

String com.pcbsys.nirvana.nAdminAPI.nAuditEvent.getTimestamp (  ) 

Returns the time stamp that the event took place.

Returns:
A String timestamp

Date com.pcbsys.nirvana.nAdminAPI.nAuditEvent.getTimestampDate (  ) 

Returns the time stamp that the event took place represented as a date.

Returns:
a Date timestamp