Class AuditLogSearchRequest

java.lang.Object
com.adobe.acs.commons.audit_log_search.AuditLogSearchRequest

public class AuditLogSearchRequest extends Object
Simple POJO for audit log requests. Handles some of the crufty code around loading and generating the query.
  • Constructor Details

    • AuditLogSearchRequest

      public AuditLogSearchRequest(org.apache.sling.api.SlingHttpServletRequest request) throws ParseException
      Constructs a new AuditLogSearchRequest from the SlingHttpServletRequest
      Parameters:
      request - yep, that's a request... guess what it does
      Throws:
      ParseException - an exception occurred parsing the start / end date
  • Method Details

    • getContentRoot

      public String getContentRoot()
    • getEndDate

      public Date getEndDate()
    • getOrder

      public String getOrder()
    • getQueryParameters

      public String getQueryParameters()
    • getStartDate

      public Date getStartDate()
    • getType

      public String getType()
    • getUser

      public String getUser()
    • getUserName

      public String getUserName(org.apache.sling.api.resource.ResourceResolver resolver, String userId) throws javax.jcr.RepositoryException
      Throws:
      javax.jcr.RepositoryException
    • getUserPath

      public String getUserPath(org.apache.sling.api.resource.ResourceResolver resolver, String userId) throws javax.jcr.UnsupportedRepositoryOperationException, javax.jcr.RepositoryException
      Throws:
      javax.jcr.UnsupportedRepositoryOperationException
      javax.jcr.RepositoryException
    • isIncludehildren

      public boolean isIncludehildren()
    • toString

      public String toString()
      Overrides:
      toString in class Object