Platform Explorer / Nuxeo Platform 5.6

Operation Audit.Query

Query Audit Service

Description

Execute a JPA query against the Audit Service. This is returning a blob with the query result. The result is a serialized JSON array. You can use the context to set query variables but you must prefix using 'audit.query.' the context variable keys that match the ones in the query.
Operation id Audit.Query
Category Services
Label Query Audit Service
Requires
Since

Parameters

Name Description Type Required Default value
query string yes  
maxResults int no  
pageNo int no  

Signature

Inputs void
Outputs blob

Implementation information

Implementation class org.nuxeo.ecm.automation.core.operations.services.AuditQuery
Contributing component org.nuxeo.ecm.core.automation.featuresContrib

JSON definition

{
  "id" : "Audit.Query",
  "label" : "Query Audit Service",
  "category" : "Services",
  "requires" : null,
  "description" : "Execute a JPA query against the Audit Service. This is returning a blob with the query result. The result is a serialized JSON array. You can use the context to set query variables but you must prefix using 'audit.query.' the context variable keys that match the ones in the query.",
  "url" : "Audit.Query",
  "signature" : [ "void", "blob" ],
  "params" : [ {
    "name" : "query",
    "description" : "",
    "type" : "string",
    "required" : true,
    "widget" : "TextArea",
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "maxResults",
    "description" : "",
    "type" : "int",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "pageNo",
    "description" : "",
    "type" : "int",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  } ]
}