public interface RemotePropertyDefinition extends RemoteItemDefinition
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.
Modifier and Type | Method and Description |
---|---|
String[] |
getAvailableQueryOperators()
Remote version of the
PropertyDefinition.getAvailableQueryOperators()
method. |
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 |
isFullTextSearchable()
Remote version of the
PropertyDefinition.isFullTextSearchable()
method. |
boolean |
isMultiple()
Remote version of the
PropertyDefinition.isMultiple()
method. |
boolean |
isQueryOrderable()
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–2022 The Apache Software Foundation. All rights reserved.