org.exoplatform.services.jcr.rmi.api.remote
Interface RemoteQuery
- All Superinterfaces:
- java.rmi.Remote
- All Known Implementing Classes:
- ServerQuery
public interface RemoteQuery
- extends java.rmi.Remote
Remote version of the JCR Query interface. Used by the
ServerQuery and
ClientQuery adapter base classes
to provide transparent RMI access to remote items.
RMI errors are signalled with RemoteExceptions.
- See Also:
Query,
ClientQuery,
ServerQuery
execute
RemoteQueryResult execute()
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
- Returns:
- a
QueryResult
- Throws:
javax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors- See Also:
Query.execute()
getStatement
java.lang.String getStatement()
throws java.rmi.RemoteException
- Returns:
- the query statement.
- Throws:
java.rmi.RemoteException - on RMI errors- See Also:
Query.getStatement()
getLanguage
java.lang.String getLanguage()
throws java.rmi.RemoteException
- Returns:
- the query language.
- Throws:
java.rmi.RemoteException - on RMI errors- See Also:
Query.getLanguage()
getStoredQueryPath
java.lang.String getStoredQueryPath()
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
- Returns:
- path of the node representing this query.
- Throws:
javax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors- See Also:
Query.getStoredQueryPath()
storeAsNode
RemoteNode storeAsNode(java.lang.String absPath)
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
- Parameters:
absPath - path at which to persist this query.
- Returns:
- stored node
- Throws:
javax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors- See Also:
Query.storeAsNode(String)
Copyright © 2011 eXo Platform SAS. All Rights Reserved.