org.apache.jackrabbit.base.nodetype
Class BaseNodeTypeManager

java.lang.Object
  extended byorg.apache.jackrabbit.base.nodetype.BaseNodeTypeManager
All Implemented Interfaces:
NodeTypeManager
Direct Known Subclasses:
SessionNodeTypeManager

public class BaseNodeTypeManager
extends Object
implements NodeTypeManager

Node type manager base class.


Constructor Summary
protected BaseNodeTypeManager()
          Protected constructor.
 
Method Summary
 NodeTypeIterator getAllNodeTypes()
          Not implemented.
 NodeTypeIterator getMixinNodeTypes()
          Implemented by calling getAllNodeTypes() and iterating through the returned node types to select all mixin node types.
 NodeType getNodeType(String nodeTypeName)
          Implemented by calling getAllNodeTypes() and iterating through the returned node types to find the named node type.
 NodeTypeIterator getPrimaryNodeTypes()
          Implemented by calling getAllNodeTypes() and iterating through the returned node types to select all primary node types.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseNodeTypeManager

protected BaseNodeTypeManager()
Protected constructor. This class is only useful when extended.

Method Detail

getAllNodeTypes

public NodeTypeIterator getAllNodeTypes()
                                 throws RepositoryException
Not implemented.

Specified by:
getAllNodeTypes in interface NodeTypeManager
Throws:
RepositoryException

getNodeType

public NodeType getNodeType(String nodeTypeName)
                     throws NoSuchNodeTypeException,
                            RepositoryException
Implemented by calling getAllNodeTypes() and iterating through the returned node types to find the named node type.

Specified by:
getNodeType in interface NodeTypeManager
Throws:
NoSuchNodeTypeException
RepositoryException

getPrimaryNodeTypes

public NodeTypeIterator getPrimaryNodeTypes()
                                     throws RepositoryException
Implemented by calling getAllNodeTypes() and iterating through the returned node types to select all primary node types.

Specified by:
getPrimaryNodeTypes in interface NodeTypeManager
Throws:
RepositoryException

getMixinNodeTypes

public NodeTypeIterator getMixinNodeTypes()
                                   throws RepositoryException
Implemented by calling getAllNodeTypes() and iterating through the returned node types to select all mixin node types.

Specified by:
getMixinNodeTypes in interface NodeTypeManager
Throws:
RepositoryException


Copyright © 2004-2005 . All Rights Reserved.