Class RoutingAuditRequestFilter
java.lang.Object
org.nuxeo.elasticsearch.http.readonly.AbstractSearchRequestFilterImpl
org.nuxeo.elasticsearch.http.readonly.filter.AuditRequestFilter
org.nuxeo.ecm.platform.routing.core.audit.es.RoutingAuditRequestFilter
- All Implemented Interfaces:
SearchRequestFilter
Define a elasticsearch passthrough filter for audit_wf index view. Restrict to 'Routing' event category and, if the
user is not an administrator, to the list of workflow model on which the user has the 'Data Visualization'
permission.
- Since:
- 7.4
-
Field Summary
Fields inherited from class org.nuxeo.elasticsearch.http.readonly.AbstractSearchRequestFilterImpl
BACKSLASH_MARKER, filteredPayload, indices, MATCH_ALL, payload, principal, QUERY_STRING, rawQuery, types, url
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Methods inherited from class org.nuxeo.elasticsearch.http.readonly.filter.AuditRequestFilter
init
Methods inherited from class org.nuxeo.elasticsearch.http.readonly.AbstractSearchRequestFilterImpl
extractPayloadFromQuery, getIndices, getQueryMap, getTypes, getUrl, setRawQuery, toString
-
Constructor Details
-
RoutingAuditRequestFilter
public RoutingAuditRequestFilter()
-
-
Method Details
-
init
public void init(CoreSession session, String indices, String types, String rawQuery, String payload) -
getPayload
- Specified by:
getPayload
in interfaceSearchRequestFilter
- Overrides:
getPayload
in classAuditRequestFilter
- Throws:
org.json.JSONException
-