Package com.sas.lsaf.security.audit
Class AuditQuery
java.lang.Object
com.sas.lsaf.security.audit.AuditQuery
- All Implemented Interfaces:
Serializable
Audit entry query contains information on how to query the audit trail information. Specifying a source identifier
queries the audit trail for a specific object. If no source identifier is specified, the global audit trail is queried.
- Since:
- 1.5
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the list of actions to query.Adds an action to the list of actions to query.addSourceTypeId(String sourceTypeId) Adds a source type to the list of types to query.booleanSets the start date of the date range to query.Gets the list of actions to query.Gets the start date of the date range to query.getMode()Gets the audit mode to query by.Gets the identifier of the source object to query.Gets the location of the source object to query.Gets the name of the source object to query.Gets the list of object types to query.Gets the end date of the date range to query.Gets the user identifier of the user whose actions to query.inthashCode()mode(AuditEntry.Mode mode) Sets the audit mode to query by.voidsetActions(List<String> actions) Sets the list of actions to query.voidsetFromDate(Date fromDate) Sets the start date of the date range to query.voidsetMode(AuditEntry.Mode mode) Sets the audit mode to query by.voidsetSourceId(String sourceId) Sets the identifier of the source object to query.voidsetSourceLocation(String sourceLocation) Sets the location of the source object to query.voidsetSourceName(String sourceName) Sets the name of the source object to query.voidsetSourceTypeIds(List<String> sourceTypeIds) Sets the list of object types to query.voidSets the end date of the date range to query.voidSets the user identifier of the user whose actions to query.Sets the identifier of the source object to query.sourceLocation(String sourceLocation) Sets the location of the source object to query.sourceName(String sourceName) Sets the name of the source object to query.sourceTypeIds(List<String> sourceTypeIds) Sets the list of object types to query.Sets the end date of the date range to query.toString()Sets the user identifier of the user whose actions to query.
-
Constructor Details
-
AuditQuery
public AuditQuery()The default constructor.
-
-
Method Details
-
getUserId
Gets the user identifier of the user whose actions to query.- Returns:
- The user identifier of the user whose actions to query.
-
setUserId
Sets the user identifier of the user whose actions to query.- Parameters:
userId- the user identifier of the user whose actions to query.
-
getActions
Gets the list of actions to query.- Returns:
- The list of actions to query.
-
setActions
Sets the list of actions to query.- Parameters:
actions- The list of actions to query.
-
getSourceTypeIds
Gets the list of object types to query.- Returns:
- The list of object types to query.
-
setSourceTypeIds
Sets the list of object types to query.- Parameters:
sourceTypeIds- the list of object types to query.
-
getSourceName
Gets the name of the source object to query.- Returns:
- The name of the source object to query.
-
setSourceName
Sets the name of the source object to query.- Parameters:
sourceName- the name of the source object to query.
-
getSourceLocation
Gets the location of the source object to query.- Returns:
- The location of the source object to query.
-
setSourceLocation
Sets the location of the source object to query.- Parameters:
sourceLocation- the location of the source object to query.
-
getFromDate
Gets the start date of the date range to query.- Returns:
- The start date of the date range to query.
-
setFromDate
Sets the start date of the date range to query.- Parameters:
fromDate- the start date of the date range to query.
-
getToDate
Gets the end date of the date range to query.- Returns:
- The end date of the date range to query.
-
setToDate
Sets the end date of the date range to query.- Parameters:
toDate- the end date of the date range to query.
-
getSourceId
Gets the identifier of the source object to query.- Returns:
- The identifier of the source object to query.
-
setSourceId
Sets the identifier of the source object to query.- Parameters:
sourceId- the identifier of the source object to query.
-
getMode
Gets the audit mode to query by.- Returns:
- The audit mode to query by.
-
setMode
Sets the audit mode to query by.- Parameters:
mode- the audit mode to query by.
-
userId
Sets the user identifier of the user whose actions to query.- Parameters:
userId- the user identifier of the user whose actions to query.- Returns:
- The audit query for further processing.
-
actions
Sets the list of actions to query.- Parameters:
actions- the list of actions to query.- Returns:
- The audit query for further processing.
-
addAction
Adds an action to the list of actions to query.- Parameters:
action- an action to add.- Returns:
- The audit query for further processing.
-
sourceTypeIds
Sets the list of object types to query.- Parameters:
sourceTypeIds- the list of object types to query.- Returns:
- The audit query for further processing.
-
addSourceTypeId
Adds a source type to the list of types to query.- Parameters:
sourceTypeId- a source type to add.- Returns:
- The audit query for further processing.
-
sourceName
Sets the name of the source object to query.- Parameters:
sourceName- the name of the source object to query.- Returns:
- The audit query for further processing.
-
sourceLocation
Sets the location of the source object to query.- Parameters:
sourceLocation- the location of the source object to query.- Returns:
- The audit query for further processing.
-
fromDate
Sets the start date of the date range to query.- Parameters:
fromDate- the start date of the date range to query.- Returns:
- The audit query for further processing.
-
toDate
Sets the end date of the date range to query.- Parameters:
toDate- the end date of the date range to query.- Returns:
- The audit query for further processing.
-
sourceId
Sets the identifier of the source object to query.- Parameters:
sourceId- the identifier of the source object to query.- Returns:
- The audit query for further processing.
-
mode
Sets the audit mode to query by.- Parameters:
mode- the audit mode to query by.- Returns:
- The audit query for further processing.
-
hashCode
public int hashCode() -
equals
-
toString
-