Package org.apache.jackrabbit.rmi.client
Class ClientNodeDefinition
- java.lang.Object
-
- org.apache.jackrabbit.rmi.client.ClientObject
-
- org.apache.jackrabbit.rmi.client.ClientItemDefinition
-
- org.apache.jackrabbit.rmi.client.ClientNodeDefinition
-
- All Implemented Interfaces:
ItemDefinition,NodeDefinition
@Deprecated public class ClientNodeDefinition extends ClientItemDefinition implements NodeDefinition
Deprecated.RMI support is deprecated and will be removed in a future version of Jackrabbit; see Jira ticket JCR-4972 for more information.Local adapter for the JCR-RMI
RemoteNodeDefinitioninterface. This class makes a remote node definition locally available using the JCRNodeDefinterface.- See Also:
NodeDefinition,RemoteNodeDefinition
-
-
Constructor Summary
Constructors Constructor Description ClientNodeDefinition(RemoteNodeDefinition remote, LocalAdapterFactory factory)Deprecated.Creates a local adapter for the given remote node definition.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanallowsSameNameSiblings()Deprecated.NodeTypegetDefaultPrimaryType()Deprecated.StringgetDefaultPrimaryTypeName()Deprecated.String[]getRequiredPrimaryTypeNames()Deprecated.NodeType[]getRequiredPrimaryTypes()Deprecated.-
Methods inherited from class org.apache.jackrabbit.rmi.client.ClientItemDefinition
getDeclaringNodeType, getName, getOnParentVersion, isAutoCreated, isMandatory, isProtected
-
Methods inherited from class org.apache.jackrabbit.rmi.client.ClientObject
getFactory, getItem, getNode, getNodeTypeArray
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface javax.jcr.nodetype.ItemDefinition
getDeclaringNodeType, getName, getOnParentVersion, isAutoCreated, isMandatory, isProtected
-
-
-
-
Constructor Detail
-
ClientNodeDefinition
public ClientNodeDefinition(RemoteNodeDefinition remote, LocalAdapterFactory factory)
Deprecated.Creates a local adapter for the given remote node definition.- Parameters:
remote- remote node definitionfactory- local adapter factory
-
-
Method Detail
-
getRequiredPrimaryTypes
public NodeType[] getRequiredPrimaryTypes()
Deprecated.- Specified by:
getRequiredPrimaryTypesin interfaceNodeDefinition
-
getDefaultPrimaryType
public NodeType getDefaultPrimaryType()
Deprecated.- Specified by:
getDefaultPrimaryTypein interfaceNodeDefinition
-
allowsSameNameSiblings
public boolean allowsSameNameSiblings()
Deprecated.- Specified by:
allowsSameNameSiblingsin interfaceNodeDefinition
-
getDefaultPrimaryTypeName
public String getDefaultPrimaryTypeName()
Deprecated.- Specified by:
getDefaultPrimaryTypeNamein interfaceNodeDefinition
-
getRequiredPrimaryTypeNames
public String[] getRequiredPrimaryTypeNames()
Deprecated.- Specified by:
getRequiredPrimaryTypeNamesin interfaceNodeDefinition
-
-