org.apache.jackrabbit.rmi.jackrabbit
Interface RemoteJackrabbitNodeTypeManager

All Superinterfaces:
Remote, RemoteNodeTypeManager
All Known Implementing Classes:
ServerJackrabbitNodeTypeManager

public interface RemoteJackrabbitNodeTypeManager
extends RemoteNodeTypeManager

Remote version of the JackrabbitNodeTypeManager extension interface.


Method Summary
 boolean hasNodeType(String name)
          Checks if the named node type exists.
 RemoteNodeType[] registerNodeTypes(byte[] content, String contentType)
          Registers node types defined in the given node type definitions.
 
Methods inherited from interface org.apache.jackrabbit.rmi.remote.RemoteNodeTypeManager
getAllNodeTypes, getMixinNodeTypes, getNodeType, getPrimaryNodeTypes
 

Method Detail

hasNodeType

boolean hasNodeType(String name)
                    throws RepositoryException,
                           RemoteException
Checks if the named node type exists.

Parameters:
name - node type name
Returns:
true if the named node type exists, false otherwise
Throws:
RepositoryException - if a repository error occurs
RemoteException - if a remote error occurs.

registerNodeTypes

RemoteNodeType[] registerNodeTypes(byte[] content,
                                   String contentType)
                                   throws RepositoryException,
                                          RemoteException
Registers node types defined in the given node type definitions.

Parameters:
content - node type definitions
contentType - type of the node type definitions
Returns:
registered node types
Throws:
RepositoryException - if a repository error occurs
RemoteException - if a remote error occurs.


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