Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.core.search.api.client.query
Interface ComposedNXQuery

All Superinterfaces:
BaseQuery, java.io.Serializable
All Known Implementing Classes:
ComposedNXQueryImpl

public interface ComposedNXQuery
extends BaseQuery

NXQL wrapper.

Includes a NXQL query along with additional information such as security checks.

Author:
Julien Anguenot

Method Summary
 SQLQuery getQuery()
          Returns an NXQL parsed query.
 void parseAndUpdateNXQuery(java.lang.String nxqlQueryStr)
          Parses and update the query associated with this ComposedNXQuery
 void setQuery(SQLQuery query)
          Sets the NXQL parsed query.
 
Methods inherited from interface org.nuxeo.ecm.core.search.api.client.query.BaseQuery
getSearchPrincipal, setSearchPrincipal
 

Method Detail

getQuery

SQLQuery getQuery()
Returns an NXQL parsed query.

Returns:
Query instance from NXQuery.

setQuery

void setQuery(SQLQuery query)
Sets the NXQL parsed query.

Parameters:
query - the NXQL based query.

parseAndUpdateNXQuery

void parseAndUpdateNXQuery(java.lang.String nxqlQueryStr)
Parses and update the query associated with this ComposedNXQuery

Parameters:
nxqlQueryStr - an NXQL query string.

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.