Class EntryFactory
- java.lang.Object
-
- org.apache.jackrabbit.jcr2spi.hierarchy.EntryFactory
-
public class EntryFactory extends Object
EntryFactory
...
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
EntryFactory.InvalidationStrategy
Strategy for invalidating item statesstatic interface
EntryFactory.NodeEntryListener
-
Constructor Summary
Constructors Constructor Description EntryFactory(TransientItemStateFactory isf, IdFactory idFactory, EntryFactory.NodeEntryListener listener, PathFactory pathFactory)
Create a new instance of theEntryFactory
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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)
-
-
-
Constructor Detail
-
EntryFactory
public EntryFactory(TransientItemStateFactory isf, IdFactory idFactory, EntryFactory.NodeEntryListener listener, PathFactory pathFactory)
Create a new instance of theEntryFactory
.- Parameters:
isf
-idFactory
-listener
-pathFactory
-
-
-
Method Detail
-
createRootEntry
public NodeEntry createRootEntry()
- Returns:
- the root entry.
-
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)
-
getInvalidationStrategy
public EntryFactory.InvalidationStrategy getInvalidationStrategy()
- Returns:
- the strategy used for item state invalidation (refresh)
-
-