Package org.apache.jackrabbit.rmi.server
Class ServerPropertyDefinition
- java.lang.Object
-
- java.rmi.server.RemoteObject
-
- java.rmi.server.RemoteServer
-
- java.rmi.server.UnicastRemoteObject
-
- org.apache.jackrabbit.rmi.server.ServerObject
-
- org.apache.jackrabbit.rmi.server.ServerItemDefinition
-
- org.apache.jackrabbit.rmi.server.ServerPropertyDefinition
-
- All Implemented Interfaces:
Serializable
,Remote
,RemoteItemDefinition
,RemotePropertyDefinition
@Deprecated(forRemoval=true) public class ServerPropertyDefinition extends ServerItemDefinition implements RemotePropertyDefinition
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 adapter for the JCR
PropertyDefinition
interface. This class makes a local property definition available as an RMI service using theRemotePropertyDefinition
interface.
-
-
Field Summary
-
Fields inherited from class java.rmi.server.RemoteObject
ref
-
-
Constructor Summary
Constructors Constructor Description ServerPropertyDefinition(PropertyDefinition def, RemoteAdapterFactory factory)
Deprecated, for removal: This API element is subject to removal in a future version.Creates a remote adapter for the given local property definition.
-
Method Summary
All Methods Instance Methods Concrete 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 class org.apache.jackrabbit.rmi.server.ServerItemDefinition
getDeclaringNodeType, getName, getOnParentVersion, isAutoCreated, isMandatory, isProtected
-
Methods inherited from class org.apache.jackrabbit.rmi.server.ServerObject
getFactory, getRemoteItem, getRemoteNode, getRemoteNodeTypeArray, getRepositoryException, getSerialValue, getSerialValues
-
Methods inherited from class java.rmi.server.UnicastRemoteObject
clone, exportObject, exportObject, exportObject, exportObject, exportObject, unexportObject
-
Methods inherited from class java.rmi.server.RemoteServer
getClientHost, getLog, setLog
-
Methods inherited from class java.rmi.server.RemoteObject
equals, getRef, hashCode, toString, toStub
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.jackrabbit.rmi.remote.RemoteItemDefinition
getDeclaringNodeType, getName, getOnParentVersion, isAutoCreated, isMandatory, isProtected
-
-
-
-
Constructor Detail
-
ServerPropertyDefinition
public ServerPropertyDefinition(PropertyDefinition def, RemoteAdapterFactory factory) throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Creates a remote adapter for the given local property definition.- Parameters:
def
- local property definitionfactory
- remote adapter factory- Throws:
RemoteException
- on RMI errors
-
-
Method Detail
-
getRequiredType
public int getRequiredType() throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of thePropertyDefinition.getRequiredType()
method.- Specified by:
getRequiredType
in interfaceRemotePropertyDefinition
- Returns:
- required type
- Throws:
RemoteException
- on RMI errors
-
getValueConstraints
public String[] getValueConstraints() throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of thePropertyDefinition.getValueConstraints()
method.- Specified by:
getValueConstraints
in interfaceRemotePropertyDefinition
- Returns:
- value constraints
- Throws:
RemoteException
- on RMI errors
-
getDefaultValues
public Value[] getDefaultValues() throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of thePropertyDefinition.getDefaultValues()
method.- Specified by:
getDefaultValues
in interfaceRemotePropertyDefinition
- Returns:
- default values
- Throws:
RemoteException
- on RMI errors
-
isMultiple
public boolean isMultiple() throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of thePropertyDefinition.isMultiple()
method.- Specified by:
isMultiple
in interfaceRemotePropertyDefinition
- Returns:
true
if the property is multi-valued,false
otherwise- Throws:
RemoteException
- on RMI errors
-
getAvailableQueryOperators
public String[] getAvailableQueryOperators() throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of thePropertyDefinition.getAvailableQueryOperators()
method.- Specified by:
getAvailableQueryOperators
in interfaceRemotePropertyDefinition
- Returns:
- a String[]
- Throws:
RemoteException
- on RMI errors
-
isFullTextSearchable
public boolean isFullTextSearchable() throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of thePropertyDefinition.isFullTextSearchable()
method.- Specified by:
isFullTextSearchable
in interfaceRemotePropertyDefinition
- Returns:
- a boolean
- Throws:
RemoteException
- on RMI errors
-
isQueryOrderable
public boolean isQueryOrderable() throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of thePropertyDefinition.isQueryOrderable()
method.- Specified by:
isQueryOrderable
in interfaceRemotePropertyDefinition
- Returns:
- a boolean
- Throws:
RemoteException
- on RMI errors
-
-