Nuxeo Enterprise Platform 5.1

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

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.AbstractNativeQuery
All Implemented Interfaces:
Serializable, BaseNativeQuery, BaseQuery
Direct Known Subclasses:
NativeQueryImpl, NativeQueryStringImpl

public abstract class AbstractNativeQuery
extends AbstractQuery
implements BaseNativeQuery

Abtract native query.

Author:
Julien Anguenot
See Also:
Serialized Form

Field Summary
protected  String backendName
           
 
Fields inherited from class org.nuxeo.ecm.core.search.api.client.query.AbstractQuery
principal
 
Constructor Summary
protected AbstractNativeQuery()
           
protected AbstractNativeQuery(String backendName)
           
  AbstractNativeQuery(String backendName, SearchPrincipal principal)
           
 
Method Summary
 String getBackendName()
          Returns the name of the targeted backend.
 
Methods inherited from class org.nuxeo.ecm.core.search.api.client.query.AbstractQuery
getSearchPrincipal, setSearchPrincipal
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.nuxeo.ecm.core.search.api.client.query.BaseQuery
getSearchPrincipal, setSearchPrincipal
 

Field Detail

backendName

protected String backendName
Constructor Detail

AbstractNativeQuery

protected AbstractNativeQuery()

AbstractNativeQuery

protected AbstractNativeQuery(String backendName)

AbstractNativeQuery

public AbstractNativeQuery(String backendName,
                           SearchPrincipal principal)
Method Detail

getBackendName

public String getBackendName()
Description copied from interface: BaseNativeQuery
Returns the name of the targeted backend.

The name to returned is the name under which the backend has been registered within the search service.

Specified by:
getBackendName in interface BaseNativeQuery
Returns:
the name of the targeted backend

Nuxeo Enterprise Platform 5.1

Copyright ? 2007 Nuxeo SAS. All Rights Reserved.