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.
javax.jcr.nodetype.PropertyDefinition
,
ClientPropertyDefinition
,
ServerPropertyDefinition
Modifier and Type | Method and Description |
---|---|
java.lang.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. |
java.lang.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 java.rmi.RemoteException
PropertyDefinition.getRequiredType()
method.java.rmi.RemoteException
- on RMI errorsjava.lang.String[] getValueConstraints() throws java.rmi.RemoteException
PropertyDefinition.getValueConstraints()
method.java.rmi.RemoteException
- on RMI errorsValue[] getDefaultValues() throws java.rmi.RemoteException
PropertyDefinition.getDefaultValues()
method.java.rmi.RemoteException
- on RMI errorsboolean isMultiple() throws java.rmi.RemoteException
PropertyDefinition.isMultiple()
method.true
if the property is multi-valued,
false
otherwisejava.rmi.RemoteException
- on RMI errorsjava.lang.String[] getAvailableQueryOperators() throws java.rmi.RemoteException
PropertyDefinition.getAvailableQueryOperators()
method.java.rmi.RemoteException
- on RMI errorsboolean isFullTextSearchable() throws java.rmi.RemoteException
PropertyDefinition.isFullTextSearchable()
method.java.rmi.RemoteException
- on RMI errorsboolean isQueryOrderable() throws java.rmi.RemoteException
PropertyDefinition.isQueryOrderable()
method.java.rmi.RemoteException
- on RMI errors"Copyright © 2010 - 2019 Adobe Systems Incorporated. All Rights Reserved"