|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RemotePropertyDefinition
Remote version of the JCR PropertyDefinition
interface. Used by the
ServerPropertyDefinition and
ClientPropertyDefinition adapters to provide transparent RMI access to remote property
definitions.
The methods in this interface are documented only with a reference to a corresponding PropertyDef method. The remote object will simply forward the method call to the underlying PropertyDef instance. Return values and possible exceptions are copied over the network. RMI errors are signalled with RemoteExceptions.
Note that the returned Value objects must be serializable and implemented using classes available
on both the client and server side. The
SerialValueFactory class
provides two convenience methods to satisfy this requirement.
| Method Summary | |
|---|---|
javax.jcr.Value[] |
getDefaultValues()
Remote version of the PropertyDefinition.getDefaultValues() method. |
int |
getRequiredType()
Remote version of the PropertyDefinition.getRequiredType() method. |
java.lang.String[] |
getValueConstraints()
Remote version of the PropertyDefinition.getValueConstraints() method. |
boolean |
isMultiple()
Remote version of the PropertyDefinition.isMultiple() method. |
| Methods inherited from interface org.exoplatform.services.jcr.rmi.api.remote.nodetype.RemoteItemDefinition |
|---|
getDeclaringNodeType, getName, getOnParentVersion, isAutoCreated, isMandatory, isProtected |
| Method Detail |
|---|
int getRequiredType()
throws java.rmi.RemoteException
PropertyDefinition.getRequiredType() method.
java.rmi.RemoteException - on RMI errors
java.lang.String[] getValueConstraints()
throws java.rmi.RemoteException
PropertyDefinition.getValueConstraints() method.
java.rmi.RemoteException - on RMI errors
javax.jcr.Value[] getDefaultValues()
throws java.rmi.RemoteException
PropertyDefinition.getDefaultValues() method.
java.rmi.RemoteException - on RMI errors
boolean isMultiple()
throws java.rmi.RemoteException
PropertyDefinition.isMultiple() method.
true if the property is multi-valued, false otherwise
java.rmi.RemoteException - on RMI errors
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||