public class AuditQuery extends Object implements Serializable
Constructor and Description |
---|
AuditQuery()
The default constructor.
|
Modifier and Type | Method and Description |
---|---|
AuditQuery |
actions(List<String> actions)
Sets the list of actions to query.
|
AuditQuery |
addAction(String action)
Adds an action to the list of actions to query.
|
AuditQuery |
addSourceTypeId(String sourceTypeId)
Adds a source type to the list of types to query.
|
boolean |
equals(Object obj) |
AuditQuery |
fromDate(Date fromDate)
Sets the start date of the date range to query.
|
List<String> |
getActions()
Gets the list of actions to query.
|
Date |
getFromDate()
Gets the start date of the date range to query.
|
AuditEntry.Mode |
getMode()
Gets the audit mode to query by.
|
String |
getSourceId()
Gets the identifier of the source object to query.
|
String |
getSourceLocation()
Gets the location of the source object to query.
|
String |
getSourceName()
Gets the name of the source object to query.
|
List<String> |
getSourceTypeIds()
Gets the list of object types to query.
|
Date |
getToDate()
Gets the end date of the date range to query.
|
String |
getUserId()
Gets the user identifier of the user whose actions to query.
|
int |
hashCode() |
AuditQuery |
mode(AuditEntry.Mode mode)
Sets the audit mode to query by.
|
void |
setActions(List<String> actions)
Sets the list of actions to query.
|
void |
setFromDate(Date fromDate)
Sets the start date of the date range to query.
|
void |
setMode(AuditEntry.Mode mode)
Sets the audit mode to query by.
|
void |
setSourceId(String sourceId)
Sets the identifier of the source object to query.
|
void |
setSourceLocation(String sourceLocation)
Sets the location of the source object to query.
|
void |
setSourceName(String sourceName)
Sets the name of the source object to query.
|
void |
setSourceTypeIds(List<String> sourceTypeIds)
Sets the list of object types to query.
|
void |
setToDate(Date toDate)
Sets the end date of the date range to query.
|
void |
setUserId(String userId)
Sets the user identifier of the user whose actions to query.
|
AuditQuery |
sourceId(String sourceId)
Sets the identifier of the source object to query.
|
AuditQuery |
sourceLocation(String sourceLocation)
Sets the location of the source object to query.
|
AuditQuery |
sourceName(String sourceName)
Sets the name of the source object to query.
|
AuditQuery |
sourceTypeIds(List<String> sourceTypeIds)
Sets the list of object types to query.
|
AuditQuery |
toDate(Date toDate)
Sets the end date of the date range to query.
|
String |
toString() |
AuditQuery |
userId(String userId)
Sets the user identifier of the user whose actions to query.
|
public String getUserId()
public void setUserId(String userId)
userId
- the user identifier of the user whose actions to query.public List<String> getActions()
public void setActions(List<String> actions)
actions
- The list of actions to query.public List<String> getSourceTypeIds()
public void setSourceTypeIds(List<String> sourceTypeIds)
sourceTypeIds
- the list of object types to query.public String getSourceName()
public void setSourceName(String sourceName)
sourceName
- the name of the source object to query.public String getSourceLocation()
public void setSourceLocation(String sourceLocation)
sourceLocation
- the location of the source object to query.public Date getFromDate()
public void setFromDate(Date fromDate)
fromDate
- the start date of the date range to query.public Date getToDate()
public void setToDate(Date toDate)
toDate
- the end date of the date range to query.public String getSourceId()
public void setSourceId(String sourceId)
sourceId
- the identifier of the source object to query.public AuditEntry.Mode getMode()
public void setMode(AuditEntry.Mode mode)
mode
- the audit mode to query by.public AuditQuery userId(String userId)
userId
- the user identifier of the user whose actions to query.public AuditQuery actions(List<String> actions)
actions
- the list of actions to query.public AuditQuery addAction(String action)
action
- an action to add.public AuditQuery sourceTypeIds(List<String> sourceTypeIds)
sourceTypeIds
- the list of object types to query.public AuditQuery addSourceTypeId(String sourceTypeId)
sourceTypeId
- a source type to add.public AuditQuery sourceName(String sourceName)
sourceName
- the name of the source object to query.public AuditQuery sourceLocation(String sourceLocation)
sourceLocation
- the location of the source object to query.public AuditQuery fromDate(Date fromDate)
fromDate
- the start date of the date range to query.public AuditQuery toDate(Date toDate)
toDate
- the end date of the date range to query.public AuditQuery sourceId(String sourceId)
sourceId
- the identifier of the source object to query.public AuditQuery mode(AuditEntry.Mode mode)
mode
- the audit mode to query by.Copyright (c) 2019, SAS Institute Inc., Cary, NC, USA