Package org.apache.jackrabbit.rmi.remote
Interface RemoteNodeType
-
- All Superinterfaces:
Remote
- All Known Implementing Classes:
ServerNodeType
@Deprecated(forRemoval=true) public interface RemoteNodeType extends Remote
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
NodeType
interface. Used by theServerNodeType
andClientNodeType
adapters to provide transparent RMI access to remote node types.The methods in this interface are documented only with a reference to a corresponding NodeType method. The remote object will simply forward the method call to the underlying NodeType instance. Return values and possible exceptions are copied over the network. Complex return values (like NodeTypes and PropertyDefs) are returned as remote references to the corresponding remote interfaces. RMI errors are signaled with RemoteExceptions.
- See Also:
NodeType
,ClientNodeType
,ServerNodeType
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description boolean
canAddChildNode(String name)
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNodeType.canAddChildNode(String)
method.boolean
canAddChildNode(String name, String type)
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNodeType.canAddChildNode(String,String)
method.boolean
canRemoveItem(String name)
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNodeType.canRemoveItem(String)
method.boolean
canRemoveNode(String nodeName)
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNodeType.canRemoveNode()
method.boolean
canRemoveProperty(String propertyName)
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNodeType.canRemoveProperty()
method.boolean
canSetProperty(String name, Value value)
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNodeType.canSetProperty(String,Value)
method.boolean
canSetProperty(String name, Value[] values)
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNodeType.canSetProperty(String,Value[])
method.RemoteNodeDefinition[]
getChildNodeDefs()
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNodeType.getChildNodeDefinitions()
method.RemoteNodeDefinition[]
getDeclaredChildNodeDefs()
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNodeType.getDeclaredChildNodeDefinitions()
method.RemotePropertyDefinition[]
getDeclaredPropertyDefs()
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNodeType.getDeclaredPropertyDefinitions()
method.RemoteIterator
getDeclaredSubtypes()
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNodeType.getDeclaredSubtypes()
method.String[]
getDeclaredSupertypeNames()
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNodeType.getDeclaredSupertypeNames()
method.RemoteNodeType[]
getDeclaredSupertypes()
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNodeType.getDeclaredSupertypes()
method.String
getName()
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNodeType.getName()
method.String
getPrimaryItemName()
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNodeType.getPrimaryItemName()
method.RemotePropertyDefinition[]
getPropertyDefs()
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNodeType.getPropertyDefinitions()
method.RemoteIterator
getSubtypes()
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNodeType.getSubtypes()
method.RemoteNodeType[]
getSupertypes()
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNodeType.getSupertypes()
method.boolean
hasOrderableChildNodes()
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNodeType.hasOrderableChildNodes()
method.boolean
isAbstract()
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNodeType.isAbstract()
method.boolean
isMixin()
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNodeType.isMixin()
method.boolean
isNodeType(String type)
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNodeType.isNodeType(String)
method.boolean
isQueryable()
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNodeType.isQueryable()
method.
-
-
-
Method Detail
-
getName
String getName() throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNodeType.getName()
method.- Returns:
- node type name
- Throws:
RemoteException
- on RMI errors
-
isMixin
boolean isMixin() throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNodeType.isMixin()
method.- Returns:
true
if this is a mixin type,false
otherwise- Throws:
RemoteException
- on RMI errors
-
isAbstract
boolean isAbstract() throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNodeType.isAbstract()
method.- Returns:
true
if this is an abstract type,false
otherwise- Throws:
RemoteException
- on RMI errors
-
hasOrderableChildNodes
boolean hasOrderableChildNodes() throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNodeType.hasOrderableChildNodes()
method.- Returns:
true
if nodes of this type has orderable child nodes,false
otherwise- Throws:
RemoteException
- on RMI errors
-
getSupertypes
RemoteNodeType[] getSupertypes() throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNodeType.getSupertypes()
method.- Returns:
- supertypes
- Throws:
RemoteException
- on RMI errors
-
getDeclaredSupertypes
RemoteNodeType[] getDeclaredSupertypes() throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNodeType.getDeclaredSupertypes()
method.- Returns:
- declared supertypes
- Throws:
RemoteException
- on RMI errors
-
isNodeType
boolean isNodeType(String type) throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNodeType.isNodeType(String)
method.- Parameters:
type
- node type name- Returns:
true
if this node type is or extends the given node type,false
otherwise- Throws:
RemoteException
- on RMI errors
-
getPropertyDefs
RemotePropertyDefinition[] getPropertyDefs() throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNodeType.getPropertyDefinitions()
method.- Returns:
- property definitions
- Throws:
RemoteException
- on RMI errors
-
getDeclaredPropertyDefs
RemotePropertyDefinition[] getDeclaredPropertyDefs() throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNodeType.getDeclaredPropertyDefinitions()
method.- Returns:
- declared property definitions
- Throws:
RemoteException
- on RMI errors
-
getChildNodeDefs
RemoteNodeDefinition[] getChildNodeDefs() throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNodeType.getChildNodeDefinitions()
method.- Returns:
- child node definitions
- Throws:
RemoteException
- on RMI errors
-
getDeclaredChildNodeDefs
RemoteNodeDefinition[] getDeclaredChildNodeDefs() throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNodeType.getDeclaredChildNodeDefinitions()
method.- Returns:
- declared child node definitions
- Throws:
RemoteException
- on RMI errors
-
canSetProperty
boolean canSetProperty(String name, Value value) throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNodeType.canSetProperty(String,Value)
method.- Parameters:
name
- property namevalue
- property value- Returns:
true
if the property can be set,false
otherwise- Throws:
RemoteException
- on RMI errors
-
canSetProperty
boolean canSetProperty(String name, Value[] values) throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNodeType.canSetProperty(String,Value[])
method.- Parameters:
name
- property namevalues
- property values- Returns:
true
if the property can be set,false
otherwise- Throws:
RemoteException
- on RMI errors
-
canAddChildNode
boolean canAddChildNode(String name) throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNodeType.canAddChildNode(String)
method.- Parameters:
name
- child node name- Returns:
true
if the child node can be added,false
otherwise- Throws:
RemoteException
- on RMI errors
-
canAddChildNode
boolean canAddChildNode(String name, String type) throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNodeType.canAddChildNode(String,String)
method.- Parameters:
name
- child node nametype
- child node type- Returns:
true
if the child node can be added,false
otherwise- Throws:
RemoteException
- on RMI errors
-
canRemoveItem
boolean canRemoveItem(String name) throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNodeType.canRemoveItem(String)
method.- Parameters:
name
- item name- Returns:
true
if the item can be removed,false
otherwise- Throws:
RemoteException
- on RMI errors
-
getPrimaryItemName
String getPrimaryItemName() throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNodeType.getPrimaryItemName()
method.- Returns:
- primary item name
- Throws:
RemoteException
- on RMI errors
-
canRemoveNode
boolean canRemoveNode(String nodeName) throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNodeType.canRemoveNode()
method.- Returns:
- boolean
- Throws:
RemoteException
- on RMI errors
-
canRemoveProperty
boolean canRemoveProperty(String propertyName) throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNodeType.canRemoveProperty()
method.- Returns:
- boolean
- Throws:
RemoteException
- on RMI errors
-
getDeclaredSupertypeNames
String[] getDeclaredSupertypeNames() throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNodeType.getDeclaredSupertypeNames()
method.- Returns:
- a String[]
- Throws:
RemoteException
- on RMI errors
-
isQueryable
boolean isQueryable() throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNodeType.isQueryable()
method.- Returns:
- boolean
- Throws:
RemoteException
- on RMI errors
-
getDeclaredSubtypes
RemoteIterator getDeclaredSubtypes() throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNodeType.getDeclaredSubtypes()
method.- Returns:
- RemoteIterator
- Throws:
RemoteException
- on RMI errors
-
getSubtypes
RemoteIterator getSubtypes() throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNodeType.getSubtypes()
method.- Returns:
- RemoteIterator
- Throws:
RemoteException
- on RMI errors
-
-