Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.core.search.api.client.query.impl
Class ComposedNXQueryImpl

java.lang.Object
  extended by org.nuxeo.ecm.core.search.api.client.query.AbstractQuery
      extended by org.nuxeo.ecm.core.search.api.client.query.impl.ComposedNXQueryImpl
All Implemented Interfaces:
java.io.Serializable, BaseQuery, ComposedNXQuery

public class ComposedNXQueryImpl
extends AbstractQuery
implements ComposedNXQuery

Composed NXQL query implementation.

Author:
Julien Anguenot
See Also:
Serialized Form

Constructor Summary
ComposedNXQueryImpl()
           
ComposedNXQueryImpl(SQLQuery query)
           
ComposedNXQueryImpl(SQLQuery query, SearchPrincipal principal)
           
ComposedNXQueryImpl(java.lang.String nxqlQueryStr)
           
 
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 class org.nuxeo.ecm.core.search.api.client.query.AbstractQuery
getSearchPrincipal, setSearchPrincipal
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.nuxeo.ecm.core.search.api.client.query.BaseQuery
getSearchPrincipal, setSearchPrincipal
 

Constructor Detail

ComposedNXQueryImpl

public ComposedNXQueryImpl()

ComposedNXQueryImpl

public ComposedNXQueryImpl(java.lang.String nxqlQueryStr)

ComposedNXQueryImpl

public ComposedNXQueryImpl(SQLQuery query)

ComposedNXQueryImpl

public ComposedNXQueryImpl(SQLQuery query,
                           SearchPrincipal principal)
Method Detail

getQuery

public SQLQuery getQuery()
Description copied from interface: ComposedNXQuery
Returns an NXQL parsed query.

Specified by:
getQuery in interface ComposedNXQuery
Returns:
Query instance from NXQuery.

setQuery

public void setQuery(SQLQuery query)
Description copied from interface: ComposedNXQuery
Sets the NXQL parsed query.

Specified by:
setQuery in interface ComposedNXQuery
Parameters:
query - the NXQL based query.

parseAndUpdateNXQuery

public void parseAndUpdateNXQuery(java.lang.String nxqlQueryStr)
Description copied from interface: ComposedNXQuery
Parses and update the query associated with this ComposedNXQuery

Specified by:
parseAndUpdateNXQuery in interface ComposedNXQuery
Parameters:
nxqlQueryStr - an NXQL query string.

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.