Class AuditLogSearchRequest
java.lang.Object
com.adobe.acs.commons.audit_log_search.AuditLogSearchRequest
Simple POJO for audit log requests. Handles some of the crufty code around
loading and generating the query.
-
Constructor Summary
ConstructorsConstructorDescriptionAuditLogSearchRequest(org.apache.sling.api.SlingHttpServletRequest request) Constructs a new AuditLogSearchRequest from the SlingHttpServletRequest -
Method Summary
Modifier and TypeMethodDescriptiongetOrder()getType()getUser()getUserName(org.apache.sling.api.resource.ResourceResolver resolver, String userId) getUserPath(org.apache.sling.api.resource.ResourceResolver resolver, String userId) booleantoString()
-
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
-
getEndDate
-
getOrder
-
getQueryParameters
-
getStartDate
-
getType
-
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.UnsupportedRepositoryOperationExceptionjavax.jcr.RepositoryException
-
isIncludehildren
public boolean isIncludehildren() -
toString
-