com.sas.hls.security.audit
Class AuditEntryQuery

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

public class AuditEntryQuery
extends Object
implements Serializable

AuditEntryQuery contains information on how to filter audit information. Specifying a sourceIdentifier will query the audit trail for a specific object. If no sourceIdentifier is specified, the global audit trail will be queried.

See Also:
Serialized Form

Constructor Summary
AuditEntryQuery()
          Zero-arg constructor
AuditEntryQuery(String userId, List<String> actions, List<String> sourceTypes, String sourceName, String sourceLocation, String sourceIdentifier, Date fromDate, Date toDate)
          Constructor
AuditEntryQuery(String userId, List<String> sourceTypes, String sourceName, String sourceLocation, String sourceIdentifier, Date fromDate, Date toDate)
          Constructor
 
Method Summary
 List<String> getActions()
          Get the list of actions in which to query
 Date getFromDate()
          Get the start date in which to query
 String getSourceIdentifier()
          Get the identifier of source in which to query
 String getSourceLocation()
          Get the location of source in which to query
 String getSourceName()
          Get the name of the source in which to query
 List<String> getSourceTypes()
          Get the list of object types in which to query
 Date getToDate()
          Get the end date in which to query
 String getUserId()
          Get the userId of the user whose actions will be queried
 void setActions(List<String> actions)
          set the list of actions in which to query
 void setFromDate(Date fromDate)
          Set the start date in which to query
 void setSourceIdentifier(String sourceIdentifier)
          Set the identifier of source in which to query
 void setSourceLocation(String sourceLocation)
          Set the location of source in which to query
 void setSourceName(String sourceName)
          Set the name of the source in which to query
 void setSourceTypes(List<String> sourceTypes)
          set the list of object types in which to query
 void setToDate(Date toDate)
          Set the end date in which to query
 void setUserId(String userId)
          Set the userId of the user whose actions will be queried
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuditEntryQuery

public AuditEntryQuery()
Zero-arg constructor


AuditEntryQuery

public AuditEntryQuery(String userId,
                       List<String> sourceTypes,
                       String sourceName,
                       String sourceLocation,
                       String sourceIdentifier,
                       Date fromDate,
                       Date toDate)
Constructor

Parameters:
userId - the userId of the user whose actions will be queried
sourceTypes - the list of object types in which to query
sourceName - the name of the source in which to query
sourceLocation - the location of source in which to query
sourceIdentifier - the identifier of source in which to query
fromDate - the start date in which to query
toDate - the end date in which to query

AuditEntryQuery

public AuditEntryQuery(String userId,
                       List<String> actions,
                       List<String> sourceTypes,
                       String sourceName,
                       String sourceLocation,
                       String sourceIdentifier,
                       Date fromDate,
                       Date toDate)
Constructor

Parameters:
userId - the userId of the user whose actions will be queried
actions - the list of actions in which to query
sourceTypes - the list of object types in which to query
sourceName - the name of the source in which to query
sourceLocation - the location of source in which to query
sourceIdentifier - the identifier of source in which to query
fromDate - the start date in which to query
toDate - the end date in which to query
Method Detail

getUserId

public String getUserId()
Get the userId of the user whose actions will be queried

Returns:
the userId of the user whose actions will be queried

setUserId

public void setUserId(String userId)
Set the userId of the user whose actions will be queried

Parameters:
userId - the userId of the user whose actions will be queried

getActions

public List<String> getActions()
Get the list of actions in which to query

Returns:
the list of actions in which to query

setActions

public void setActions(List<String> actions)
set the list of actions in which to query

Parameters:
actions - the list of actions in which to query

getSourceTypes

public List<String> getSourceTypes()
Get the list of object types in which to query

Returns:
the list of object types in which to query

setSourceTypes

public void setSourceTypes(List<String> sourceTypes)
set the list of object types in which to query

Parameters:
sourceTypes - the list of object types in which to query

getSourceName

public String getSourceName()
Get the name of the source in which to query

Returns:
the name of the source in which to query

setSourceName

public void setSourceName(String sourceName)
Set the name of the source in which to query

Parameters:
sourceName - the name of the source in which to query

getSourceLocation

public String getSourceLocation()
Get the location of source in which to query

Returns:
the location of source in which to query

setSourceLocation

public void setSourceLocation(String sourceLocation)
Set the location of source in which to query

Parameters:
sourceLocation - the location of source in which to query

getFromDate

public Date getFromDate()
Get the start date in which to query

Returns:
the start date in which to query

setFromDate

public void setFromDate(Date fromDate)
Set the start date in which to query

Parameters:
fromDate - the start date in which to query

getToDate

public Date getToDate()
Get the end date in which to query

Returns:
the end date in which to query

setToDate

public void setToDate(Date toDate)
Set the end date in which to query

Parameters:
toDate - the end date in which to query

getSourceIdentifier

public String getSourceIdentifier()
Get the identifier of source in which to query

Returns:
the identifier of source in which to query

setSourceIdentifier

public void setSourceIdentifier(String sourceIdentifier)
Set the identifier of source in which to query

Parameters:
sourceIdentifier - the identifier of source in which to query


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