Class AuditRecordFilter


  • public class AuditRecordFilter
    extends Filter
    A filter to be used in audit record queries. The setter (by*) methods return the filter itself to provide chaining: AuditRecordFilter filter = new AuditRecordFilter().byUser(user).byType(type);
    • Constructor Detail

      • AuditRecordFilter

        public AuditRecordFilter()
    • Method Detail

      • byUser

        public AuditRecordFilter byUser​(String user)
        Specifies the user query parameter.
        Parameters:
        user - the user associated with the audit record(s)
        Returns:
        the audit record filter with user set
      • byType

        public AuditRecordFilter byType​(String type)
        Specifies the type query parameter.
        Parameters:
        type - the type of the audit record(s)
        Returns:
        the audit record filter with type set
      • bySource

        public AuditRecordFilter bySource​(String source)
        Specifies the source query parameter.
        Parameters:
        source - the source of the audit record(s)
        Returns:
        the audit record filter with source set
      • byApplication

        public AuditRecordFilter byApplication​(String application)
        Specifies the application query parameter
        Parameters:
        application - the application associated with the audit record(s)
        Returns:
        the audit record filter with application set
      • getUser

        public String getUser()
        Returns:
        the user parameter of the query
      • getType

        public String getType()
        Returns:
        the type parameter of the query
      • getApplication

        public String getApplication()
        Returns:
        the application parameter of the query
      • getSource

        public String getSource()
        Returns:
        the source parameter of the query