org.apache.jackrabbit.ocm.manager
Interface CustomNodeTypeCreator

All Known Implementing Classes:
CustomNodeTypeCreatorImpl

public interface CustomNodeTypeCreator

Interface for custom node type creator implementations.

Version:
$Id: Exp $
Author:
Oliver Kiessler

Method Summary
 boolean addJcrCustomNodeType()
          Method to add a jcr custom node type to an existing jcr repository.
 boolean createInitialJcrCustomNodeTypes()
          This method is supposed to create custom node types on repository setup.
 void setJcrSession(ObjectContentManagerImpl jcrSession)
          Jcr session to be injected into implementation.
 

Method Detail

createInitialJcrCustomNodeTypes

boolean createInitialJcrCustomNodeTypes()
                                        throws CustomNodeTypeCreationException
This method is supposed to create custom node types on repository setup.

Returns:
true/false True if custom node type creation succeeded
Throws:
CustomNodeTypeCreationException

addJcrCustomNodeType

boolean addJcrCustomNodeType()
                             throws CustomNodeTypeCreationException
Method to add a jcr custom node type to an existing jcr repository.

Returns:
true/false True if custom node type creation succeeded
Throws:
CustomNodeTypeCreationException

setJcrSession

void setJcrSession(ObjectContentManagerImpl jcrSession)
Jcr session to be injected into implementation.

Parameters:
jcrSession - JcrSession


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