Interface RemotePropertyDefinition
-
- All Superinterfaces:
Remote,RemoteItemDefinition
- All Known Implementing Classes:
ServerPropertyDefinition
@Deprecated public interface RemotePropertyDefinition extends RemoteItemDefinition
Deprecated.RMI support is deprecated and will be removed in a future version of Jackrabbit; see Jira ticket JCR-4972 for more information.Remote version of the JCR
PropertyDefinitioninterface. Used by theServerPropertyDefinitionandClientPropertyDefinitionadapters 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
SerialValueFactoryclass provides two convenience methods to satisfy this requirement.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description String[]getAvailableQueryOperators()Deprecated.Remote version of thePropertyDefinition.getAvailableQueryOperators()method.Value[]getDefaultValues()Deprecated.Remote version of thePropertyDefinition.getDefaultValues()method.intgetRequiredType()Deprecated.Remote version of thePropertyDefinition.getRequiredType()method.String[]getValueConstraints()Deprecated.Remote version of thePropertyDefinition.getValueConstraints()method.booleanisFullTextSearchable()Deprecated.Remote version of thePropertyDefinition.isFullTextSearchable()method.booleanisMultiple()Deprecated.Remote version of thePropertyDefinition.isMultiple()method.booleanisQueryOrderable()Deprecated.Remote version of thePropertyDefinition.isQueryOrderable()method.-
Methods inherited from interface org.apache.jackrabbit.rmi.remote.RemoteItemDefinition
getDeclaringNodeType, getName, getOnParentVersion, isAutoCreated, isMandatory, isProtected
-
-
-
-
Method Detail
-
getRequiredType
int getRequiredType() throws RemoteExceptionDeprecated.Remote version of thePropertyDefinition.getRequiredType()method.- Returns:
- required type
- Throws:
RemoteException- on RMI errors
-
getValueConstraints
String[] getValueConstraints() throws RemoteException
Deprecated.Remote version of thePropertyDefinition.getValueConstraints()method.- Returns:
- value constraints
- Throws:
RemoteException- on RMI errors
-
getDefaultValues
Value[] getDefaultValues() throws RemoteException
Deprecated.Remote version of thePropertyDefinition.getDefaultValues()method.- Returns:
- default values
- Throws:
RemoteException- on RMI errors
-
isMultiple
boolean isMultiple() throws RemoteExceptionDeprecated.Remote version of thePropertyDefinition.isMultiple()method.- Returns:
trueif the property is multi-valued,falseotherwise- Throws:
RemoteException- on RMI errors
-
getAvailableQueryOperators
String[] getAvailableQueryOperators() throws RemoteException
Deprecated.Remote version of thePropertyDefinition.getAvailableQueryOperators()method.- Returns:
- a String[]
- Throws:
RemoteException- on RMI errors
-
isFullTextSearchable
boolean isFullTextSearchable() throws RemoteExceptionDeprecated.Remote version of thePropertyDefinition.isFullTextSearchable()method.- Returns:
- a boolean
- Throws:
RemoteException- on RMI errors
-
isQueryOrderable
boolean isQueryOrderable() throws RemoteExceptionDeprecated.Remote version of thePropertyDefinition.isQueryOrderable()method.- Returns:
- a boolean
- Throws:
RemoteException- on RMI errors
-
-