com.sas.hls.security.audit
Class AuditEntry

java.lang.Object
  extended by com.sas.hls.security.audit.AuditEntry
All Implemented Interfaces:
Serializable

public class AuditEntry
extends Object
implements Serializable

AuditEntry contains information from a single audit record which includes the source information, the action performed, when it was performed, and by whom.

See Also:
Serialized Form

Constructor Summary
AuditEntry(String identifier, Date timestamp, String userId, String action, String sourceType, String sourceIdentifier, String sourceName, String sourceLocation)
          Constructor
 
Method Summary
 String getAction()
          Get the action performed
 String getIdentifier()
          Get the identifier value for this entry
 String getSourceIdentifier()
          Get the identifier of the object that was acted upon
 String getSourceLocation()
          Get the location of the object that was acted upon
 String getSourceName()
          Get the name of the object that was acted upon
 String getSourceType()
          Get the type of object that was acted upon
 Date getTimestamp()
          Get the date and time in which the action was performed
 String getUserId()
          Get the userId of the user who performed the action
 String toString()
          Return a string representation of the object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AuditEntry

public AuditEntry(String identifier,
                  Date timestamp,
                  String userId,
                  String action,
                  String sourceType,
                  String sourceIdentifier,
                  String sourceName,
                  String sourceLocation)
Constructor

Parameters:
identifier - The identifier value for this entry
timestamp - The date and time in which the action was performed
userId - The userId of the user who performed the action
action - The action performed
sourceType - The type of object that was acted upon
sourceIdentifier - The identifier of the object that was acted upon
sourceName - The name of the object that was acted upon
sourceLocation - The location of the object that was acted upon
Method Detail

getIdentifier

public String getIdentifier()
Get the identifier value for this entry

Returns:
the identifier value for this entry

getUserId

public String getUserId()
Get the userId of the user who performed the action

Returns:
the userId of the user who performed the action

getSourceType

public String getSourceType()
Get the type of object that was acted upon

Returns:
the type of object that was acted upon

getSourceIdentifier

public String getSourceIdentifier()
Get the identifier of the object that was acted upon

Returns:
the identifier of the object that was acted upon

getSourceLocation

public String getSourceLocation()
Get the location of the object that was acted upon

Returns:
the location of the object that was acted upon

getSourceName

public String getSourceName()
Get the name of the object that was acted upon

Returns:
the name of the object that was acted upon

getAction

public String getAction()
Get the action performed

Returns:
the action performed

getTimestamp

public Date getTimestamp()
Get the date and time in which the action was performed

Returns:
the date and time in which the action was performed

toString

public String toString()
Return a string representation of the object.

Overrides:
toString in class Object
See Also:
Object.toString()


Copyright (c) 2013, SAS Institute Inc., Cary, NC, USA