|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.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.ServerItem
org.exoplatform.services.jcr.rmi.impl.server.ServerProperty
public class ServerProperty
Remote adapter for the JCR Property interface. This class makes a
local property available as an RMI service using the
RemoteProperty interface.
Property,
RemoteProperty,
Serialized Form| Field Summary |
|---|
| Fields inherited from class java.rmi.server.RemoteObject |
|---|
ref |
| Constructor Summary | |
|---|---|
ServerProperty(javax.jcr.Property property,
RemoteAdapterFactory factory)
Creates a remote adapter for the given local property. |
|
| Method Summary | |
|---|---|
RemotePropertyDefinition |
getDefinition()
Remote version of the Property.getDefinition()
method. |
long |
getLength()
Remote version of the Property.getLength() method. |
long[] |
getLengths()
Remote version of the Property.getLengths() method. |
int |
getType()
Remote version of the Property.getType() method. |
javax.jcr.Value |
getValue()
Remote version of the Property.getValue() method. |
javax.jcr.Value[] |
getValues()
Remote version of the Property.getValues() method. |
void |
setValue(javax.jcr.Value value)
Remote version of the Property.setValue(Value)
method. |
void |
setValue(javax.jcr.Value[] values)
Remote version of the Property.setValue(Value[])
method. |
| Methods inherited from class org.exoplatform.services.jcr.rmi.impl.server.ServerItem |
|---|
getAncestor, getDepth, getName, getParent, getPath, isModified, isNew, refresh, remove, save |
| Methods inherited from class org.exoplatform.services.jcr.rmi.impl.server.ServerObject |
|---|
getFactory, getRemoteItem, getRemoteNode, getRemoteNodeTypeArray, getRepositoryException |
| 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 |
| Methods inherited from interface org.exoplatform.services.jcr.rmi.api.remote.RemoteItem |
|---|
getAncestor, getDepth, getName, getParent, getPath, isModified, isNew, refresh, remove, save |
| Constructor Detail |
|---|
public ServerProperty(javax.jcr.Property property,
RemoteAdapterFactory factory)
throws java.rmi.RemoteException
property - local propertyfactory - remote adapter factory
java.rmi.RemoteException - on RMI errors| Method Detail |
|---|
public javax.jcr.Value getValue()
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
Property.getValue() method.
getValue in interface RemotePropertyjavax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors
public javax.jcr.Value[] getValues()
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
Property.getValues() method.
getValues in interface RemotePropertyjavax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors
public void setValue(javax.jcr.Value value)
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
Property.setValue(Value)
method.
setValue in interface RemotePropertyvalue - property value
javax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors
public void setValue(javax.jcr.Value[] values)
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
Property.setValue(Value[])
method.
setValue in interface RemotePropertyvalues - property values
javax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors
public long getLength()
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
Property.getLength() method.
getLength in interface RemotePropertyjavax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors
public long[] getLengths()
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
Property.getLengths() method.
getLengths in interface RemotePropertyjavax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors
public RemotePropertyDefinition getDefinition()
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
Property.getDefinition()
method.
getDefinition in interface RemotePropertyjavax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors
public int getType()
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
Property.getType() method.
getType in interface RemotePropertyjavax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||