org.exoplatform.services.jcr.rmi.api.client
Class ClientQuery
java.lang.Object
org.exoplatform.services.jcr.rmi.api.client.ClientObject
org.exoplatform.services.jcr.rmi.api.client.ClientQuery
- All Implemented Interfaces:
- javax.jcr.query.Query
public class ClientQuery
- extends ClientObject
- implements javax.jcr.query.Query
Local adapter for the JCR-RMI RemoteQuery inteface. This class makes a remote
query locally available using the JCR Query interface.
- See Also:
Query,
RemoteQuery
| Fields inherited from interface javax.jcr.query.Query |
SQL, XPATH |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClientQuery
public ClientQuery(javax.jcr.Session session,
RemoteQuery remote,
LocalAdapterFactory factory)
- Creates a client adapter for the given query.
- Parameters:
session - current sessionremote - remote queryfactory - adapter factory
execute
public javax.jcr.query.QueryResult execute()
throws javax.jcr.RepositoryException
-
- Specified by:
execute in interface javax.jcr.query.Query
- Throws:
javax.jcr.RepositoryException
getStatement
public java.lang.String getStatement()
-
- Specified by:
getStatement in interface javax.jcr.query.Query
getLanguage
public java.lang.String getLanguage()
-
- Specified by:
getLanguage in interface javax.jcr.query.Query
getStoredQueryPath
public java.lang.String getStoredQueryPath()
throws javax.jcr.RepositoryException
-
- Specified by:
getStoredQueryPath in interface javax.jcr.query.Query
- Throws:
javax.jcr.RepositoryException
storeAsNode
public javax.jcr.Node storeAsNode(java.lang.String absPath)
throws javax.jcr.RepositoryException
-
- Specified by:
storeAsNode in interface javax.jcr.query.Query
- Throws:
javax.jcr.RepositoryException
Copyright © 2011 eXo Platform SAS. All Rights Reserved.