org.exoplatform.services.jcr.rmi.impl.server
Class ServerRow
java.lang.Object
java.rmi.server.RemoteObject
java.rmi.server.RemoteServer
java.rmi.server.UnicastRemoteObject
org.exoplatform.services.jcr.rmi.impl.server.ServerObject
org.exoplatform.services.jcr.rmi.impl.server.ServerRow
- All Implemented Interfaces:
- java.io.Serializable, java.rmi.Remote, RemoteRow
public class ServerRow
- extends ServerObject
- implements RemoteRow
Remote adapter for the JCR Row interface. This class makes a local
session available as an RMI service using the
RemoteRow interface.
- See Also:
Row,
RemoteRow,
Serialized Form
| Fields inherited from class java.rmi.server.RemoteObject |
ref |
|
Method Summary |
javax.jcr.Value |
getValue(java.lang.String propertyName)
|
javax.jcr.Value[] |
getValues()
|
| Methods inherited from class java.rmi.server.UnicastRemoteObject |
clone, exportObject, exportObject, exportObject, unexportObject |
| Methods inherited from class java.rmi.server.RemoteServer |
getClientHost, getLog, setLog |
| Methods inherited from class java.rmi.server.RemoteObject |
equals, getRef, hashCode, toString, toStub |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
ServerRow
public ServerRow(javax.jcr.query.Row row,
RemoteAdapterFactory factory)
throws java.rmi.RemoteException
- Creates a remote adapter for the given local query row.
- Parameters:
row - local query rowfactory - remote adapter factory
- Throws:
java.rmi.RemoteException - on RMI errors
getValues
public javax.jcr.Value[] getValues()
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
-
- Specified by:
getValues in interface RemoteRow
- Returns:
- row values
- Throws:
javax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors- See Also:
Row.getValues()
getValue
public javax.jcr.Value getValue(java.lang.String propertyName)
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
-
- Specified by:
getValue in interface RemoteRow
- Parameters:
propertyName - property name
- Returns:
- identified value
- Throws:
javax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors- See Also:
Row.getValue(String)
Copyright © 2012 eXo Platform SAS. All Rights Reserved.