org.apache.jackrabbit.rmi.remote
Interface RemoteNodeDefinition

All Superinterfaces:
Remote, RemoteItemDefinition
All Known Implementing Classes:
ServerNodeDefinition

public interface RemoteNodeDefinition
extends RemoteItemDefinition

Remote version of the JCR NodeDefinition interface. Used by the ServerNodeDefinition and ClientNodeDefinition adapters to provide transparent RMI access to remote node definitions.

The methods in this interface are documented only with a reference to a corresponding NodeDef method. The remote object will simply forward the method call to the underlying NodeDef instance. Return values and possible exceptions are copied over the network. Complex NodeType return values are returned as remote references to the RemoteNodeType interface. RMI errors are signaled with RemoteExceptions.

See Also:
NodeDefinition, ClientNodeDefinition, ServerNodeDefinition

Method Summary
 boolean allowsSameNameSiblings()
          Remote version of the NodeDef.allowSameNameSibs() method.
 RemoteNodeType getDefaultPrimaryType()
          Remote version of the NodeDef.getDefaultPrimaryType() method.
 RemoteNodeType[] getRequiredPrimaryTypes()
          Remote version of the NodeDef.getRequiredPrimaryTypes() method.
 
Methods inherited from interface org.apache.jackrabbit.rmi.remote.RemoteItemDefinition
getDeclaringNodeType, getName, getOnParentVersion, isAutoCreated, isMandatory, isProtected
 

Method Detail

getRequiredPrimaryTypes

RemoteNodeType[] getRequiredPrimaryTypes()
                                         throws RemoteException
Remote version of the NodeDef.getRequiredPrimaryTypes() method.

Returns:
required primary node types
Throws:
RemoteException - on RMI errors

getDefaultPrimaryType

RemoteNodeType getDefaultPrimaryType()
                                     throws RemoteException
Remote version of the NodeDef.getDefaultPrimaryType() method.

Returns:
default primary node type
Throws:
RemoteException - on RMI errors

allowsSameNameSiblings

boolean allowsSameNameSiblings()
                               throws RemoteException
Remote version of the NodeDef.allowSameNameSibs() method.

Returns:
true if same name siblings are allowed, false otherwise
Throws:
RemoteException - on RMI errors


Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.