public class ServerRow extends ServerObject implements RemoteRow
Row interface.
This class makes a local session available as an RMI service using the
RemoteRow
interface.Row,
RemoteRow,
Serialized Formref| Constructor and Description |
|---|
ServerRow(javax.jcr.query.Row row,
RemoteAdapterFactory factory)
Creates a remote adapter for the given local query row.
|
| Modifier and Type | Method and Description |
|---|---|
RemoteNode |
getNode() |
RemoteNode |
getNode(String selectorName) |
String |
getPath() |
String |
getPath(String selectorName) |
double |
getScore() |
double |
getScore(String selectorName) |
javax.jcr.Value |
getValue(String propertyName) |
javax.jcr.Value[] |
getValues() |
getFactory, getRemoteItem, getRemoteNode, getRemoteNodeTypeArray, getRepositoryException, getSerialValue, getSerialValuesclone, exportObject, exportObject, exportObject, unexportObjectgetClientHost, getLog, setLogpublic ServerRow(javax.jcr.query.Row row,
RemoteAdapterFactory factory)
throws RemoteException
row - local query rowfactory - remote adapter factoryRemoteException - on RMI errorspublic javax.jcr.Value[] getValues()
throws javax.jcr.RepositoryException,
RemoteException
getValues in interface RemoteRowjavax.jcr.RepositoryException - on repository errorsRemoteException - on RMI errorsRow.getValues()public javax.jcr.Value getValue(String propertyName) throws javax.jcr.RepositoryException, RemoteException
getValue in interface RemoteRowpropertyName - property namejavax.jcr.RepositoryException - on repository errorsRemoteException - on RMI errorsRow.getValue(String)public RemoteNode getNode() throws javax.jcr.RepositoryException, RemoteException
getNode in interface RemoteRowjavax.jcr.RepositoryException - on repository errorsRemoteException - on RMI errorsRow.getNode()public RemoteNode getNode(String selectorName) throws javax.jcr.RepositoryException, RemoteException
getNode in interface RemoteRowjavax.jcr.RepositoryException - on repository errorsRemoteException - on RMI errorsRow.getNode(String)public String getPath() throws javax.jcr.RepositoryException, RemoteException
getPath in interface RemoteRowjavax.jcr.RepositoryException - on repository errorsRemoteException - on RMI errorsRow.getPath()public String getPath(String selectorName) throws javax.jcr.RepositoryException, RemoteException
getPath in interface RemoteRowjavax.jcr.RepositoryException - on repository errorsRemoteException - on RMI errorsRow.getPath(String)public double getScore()
throws javax.jcr.RepositoryException,
RemoteException
getScore in interface RemoteRowjavax.jcr.RepositoryException - on repository errorsRemoteException - on RMI errorsRow.getScore()public double getScore(String selectorName) throws javax.jcr.RepositoryException, RemoteException
getScore in interface RemoteRowjavax.jcr.RepositoryException - on repository errorsRemoteException - on RMI errorsRow.getScore(String)Copyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.