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.
@Deprecated public interface RemotePropertyDefinition extends RemoteItemDefinition
Modifier and Type | Method and Description |
---|---|
String[] |
getAvailableQueryOperators()
Deprecated.
Remote version of the
PropertyDefinition.getAvailableQueryOperators()
method. |
Value[] |
getDefaultValues()
Deprecated.
Remote version of the
PropertyDefinition.getDefaultValues()
method. |
int |
getRequiredType()
Deprecated.
Remote version of the
PropertyDefinition.getRequiredType()
method. |
String[] |
getValueConstraints()
Deprecated.
Remote version of the
PropertyDefinition.getValueConstraints()
method. |
boolean |
isFullTextSearchable()
Deprecated.
Remote version of the
PropertyDefinition.isFullTextSearchable()
method. |
boolean |
isMultiple()
Deprecated.
Remote version of the
PropertyDefinition.isMultiple()
method. |
boolean |
isQueryOrderable()
Deprecated.
Remote version of the
PropertyDefinition.isQueryOrderable()
method. |
getDeclaringNodeType, getName, getOnParentVersion, isAutoCreated, isMandatory, isProtected
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
otherwiseRemoteException
- on RMI errorsString[] getAvailableQueryOperators() throws RemoteException
PropertyDefinition.getAvailableQueryOperators()
method.RemoteException
- on RMI errorsboolean isFullTextSearchable() throws RemoteException
PropertyDefinition.isFullTextSearchable()
method.RemoteException
- on RMI errorsboolean isQueryOrderable() throws RemoteException
PropertyDefinition.isQueryOrderable()
method.RemoteException
- on RMI errorsCopyright © 2004–2024 The Apache Software Foundation. All rights reserved.