|
||||||||||
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 signaled 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.
PropertyDefinition
,
ClientPropertyDefinition
,
ServerPropertyDefinition
Method Summary | |
---|---|
Value[] |
getDefaultValues()
Remote version of the PropertyDefinition.getDefaultValues()
method. |
int |
getRequiredType()
Remote version of the PropertyDefinition.getRequiredType()
method. |
String[] |
getValueConstraints()
Remote version of the PropertyDefinition.getValueConstraints()
method. |
boolean |
isMultiple()
Remote version of the PropertyDefinition.isMultiple()
method. |
Methods inherited from interface org.apache.jackrabbit.rmi.remote.RemoteItemDefinition |
---|
getDeclaringNodeType, getName, getOnParentVersion, isAutoCreated, isMandatory, isProtected |
Method Detail |
---|
int getRequiredType() throws RemoteException
PropertyDefinition.getRequiredType()
method.
RemoteException
- on RMI errorsString[] getValueConstraints() throws RemoteException
PropertyDefinition.getValueConstraints()
method.
RemoteException
- on RMI errorsValue[] getDefaultValues() throws RemoteException
PropertyDefinition.getDefaultValues()
method.
RemoteException
- on RMI errorsboolean isMultiple() throws RemoteException
PropertyDefinition.isMultiple()
method.
true
if the property is multi-valued,
false
otherwise
RemoteException
- on RMI errors
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |