|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.jackrabbit.jcr2spi.hierarchy.UniqueIdResolver
public class UniqueIdResolver
UniqueIdResolver
allows to retrieve NodeEntry
instances
that are identified by a uniqueID.
Constructor Summary | |
---|---|
UniqueIdResolver(ItemStateFactory isf)
Creates a new UniqueIdResolver . |
Method Summary | |
---|---|
void |
created(ItemState state)
Updates the internal id-lookup if the created state is a NodeState that is identified by a uniqueID. |
void |
dispose()
|
void |
entryCreated(NodeEntry entry)
|
NodeEntry |
lookup(NodeId nodeId)
|
NodeEntry |
resolve(NodeId nodeId,
NodeEntry rootEntry)
|
void |
statusChanged(ItemState state,
int previousStatus)
Updates the internal id-lookup if the given state - is identify by a uniqueID and got removed - was modified and now is identified by a uniqueID - was modified and is not identified by a uniqueID any more |
void |
uniqueIdChanged(NodeEntry entry,
String previousUniqueID)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UniqueIdResolver(ItemStateFactory isf)
UniqueIdResolver
.
Method Detail |
---|
public void dispose()
public NodeEntry lookup(NodeId nodeId)
public NodeEntry resolve(NodeId nodeId, NodeEntry rootEntry) throws ItemNotFoundException, RepositoryException
ItemNotFoundException
RepositoryException
public void statusChanged(ItemState state, int previousStatus)
statusChanged
in interface ItemStateLifeCycleListener
state
- previousStatus
- ItemStateLifeCycleListener.statusChanged(ItemState, int)
public void created(ItemState state)
created
in interface ItemStateCreationListener
state
- ItemStateCreationListener.created(ItemState)
public void entryCreated(NodeEntry entry)
entryCreated
in interface EntryFactory.NodeEntryListener
EntryFactory.NodeEntryListener.entryCreated(NodeEntry)
public void uniqueIdChanged(NodeEntry entry, String previousUniqueID)
uniqueIdChanged
in interface EntryFactory.NodeEntryListener
EntryFactory.NodeEntryListener.uniqueIdChanged(NodeEntry, String)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |