|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RemoteProperty
Remote version of the JCR Property interface.
The methods in this interface are documented only with a reference to a corresponding Property method. The remote object will simply forward the method call to the underlying Property instance. Argument and return values, as well as possible exceptions, are copied over the network.
Note that only the generic getValue and setValue methods are included in this interface. Clients should implement the type-specific value getters and setters wrapping using the generic methods. Note also that the Value objects must be serializable and implemented using classes available on both the client and server side.
| 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 interface org.exoplatform.services.jcr.rmi.api.remote.RemoteItem |
|---|
getAncestor, getDepth, getName, getParent, getPath, isModified, isNew, refresh, remove, save |
| Method Detail |
|---|
javax.jcr.Value getValue()
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
Property.getValue() method.
javax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors
javax.jcr.Value[] getValues()
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
Property.getValues() method.
javax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors
void setValue(javax.jcr.Value value)
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
Property.setValue(Value)
method.
value - property value
javax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors
void setValue(javax.jcr.Value[] values)
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
Property.setValue(Value[])
method.
values - property values
javax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors
long getLength()
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
Property.getLength() method.
javax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors
long[] getLengths()
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
Property.getLengths() method.
javax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors
RemotePropertyDefinition getDefinition()
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
Property.getDefinition()
method.
javax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors
int getType()
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
Property.getType() method.
javax.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 | |||||||||