Interface RemotePropertyDefinition
-
- All Superinterfaces:
Remote
,RemoteItemDefinition
- All Known Implementing Classes:
ServerPropertyDefinition
@Deprecated(forRemoval=true) public interface RemotePropertyDefinition extends RemoteItemDefinition
Deprecated, for removal: This API element is subject to removal in a future version.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
PropertyDefinition
interface. Used by theServerPropertyDefinition
andClientPropertyDefinition
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.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description String[]
getAvailableQueryOperators()
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of thePropertyDefinition.getAvailableQueryOperators()
method.Value[]
getDefaultValues()
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of thePropertyDefinition.getDefaultValues()
method.int
getRequiredType()
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of thePropertyDefinition.getRequiredType()
method.String[]
getValueConstraints()
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of thePropertyDefinition.getValueConstraints()
method.boolean
isFullTextSearchable()
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of thePropertyDefinition.isFullTextSearchable()
method.boolean
isMultiple()
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of thePropertyDefinition.isMultiple()
method.boolean
isQueryOrderable()
Deprecated, for removal: This API element is subject to removal in a future version.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 RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of thePropertyDefinition.getRequiredType()
method.- Returns:
- required type
- Throws:
RemoteException
- on RMI errors
-
getValueConstraints
String[] getValueConstraints() throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of thePropertyDefinition.getValueConstraints()
method.- Returns:
- value constraints
- Throws:
RemoteException
- on RMI errors
-
getDefaultValues
Value[] getDefaultValues() throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of thePropertyDefinition.getDefaultValues()
method.- Returns:
- default values
- Throws:
RemoteException
- on RMI errors
-
isMultiple
boolean isMultiple() throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of thePropertyDefinition.isMultiple()
method.- Returns:
true
if the property is multi-valued,false
otherwise- Throws:
RemoteException
- on RMI errors
-
getAvailableQueryOperators
String[] getAvailableQueryOperators() throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of thePropertyDefinition.getAvailableQueryOperators()
method.- Returns:
- a String[]
- Throws:
RemoteException
- on RMI errors
-
isFullTextSearchable
boolean isFullTextSearchable() throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of thePropertyDefinition.isFullTextSearchable()
method.- Returns:
- a boolean
- Throws:
RemoteException
- on RMI errors
-
isQueryOrderable
boolean isQueryOrderable() throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of thePropertyDefinition.isQueryOrderable()
method.- Returns:
- a boolean
- Throws:
RemoteException
- on RMI errors
-
-