org.apache.jackrabbit.jcr2spi.hierarchy
Class EntryFactory

java.lang.Object
  extended by org.apache.jackrabbit.jcr2spi.hierarchy.EntryFactory

public class EntryFactory
extends Object

EntryFactory...


Nested Class Summary
static interface EntryFactory.InvalidationStrategy
          Strategy for invalidating item states
static interface EntryFactory.NodeEntryListener
           
 
Constructor Summary
EntryFactory(TransientItemStateFactory isf, IdFactory idFactory, EntryFactory.NodeEntryListener listener, PathFactory pathFactory)
          Create a new instance of the EntryFactory.
 
Method Summary
 NodeEntry createNodeEntry(NodeEntry parent, Name qName, String uniqueId)
           
 PropertyEntry createPropertyEntry(NodeEntry parent, Name qName)
           
 NodeEntry createRootEntry()
           
 IdFactory getIdFactory()
           
 EntryFactory.InvalidationStrategy getInvalidationStrategy()
           
 TransientItemStateFactory getItemStateFactory()
           
 PathFactory getPathFactory()
           
 void notifyEntryCreated(NodeEntry entry)
           
 void notifyIdChange(NodeEntry entry, String previousUniqueID)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EntryFactory

public EntryFactory(TransientItemStateFactory isf,
                    IdFactory idFactory,
                    EntryFactory.NodeEntryListener listener,
                    PathFactory pathFactory)
Create a new instance of the EntryFactory.

Parameters:
isf -
idFactory -
listener -
pathFactory -
Method Detail

createRootEntry

public NodeEntry createRootEntry()
Returns:
the root entry.

createNodeEntry

public NodeEntry createNodeEntry(NodeEntry parent,
                                 Name qName,
                                 String uniqueId)

createPropertyEntry

public PropertyEntry createPropertyEntry(NodeEntry parent,
                                         Name qName)

getIdFactory

public IdFactory getIdFactory()

getPathFactory

public PathFactory getPathFactory()

getItemStateFactory

public TransientItemStateFactory getItemStateFactory()

notifyEntryCreated

public void notifyEntryCreated(NodeEntry entry)

notifyIdChange

public void notifyIdChange(NodeEntry entry,
                           String previousUniqueID)

getInvalidationStrategy

public EntryFactory.InvalidationStrategy getInvalidationStrategy()
Returns:
the strategy used for item state invalidation (refresh)


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