|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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)
Nothing to do. |
void |
dispose()
|
void |
entryCreated(NodeEntry entry)
|
NodeEntry |
lookup(java.lang.String uniqueId)
|
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,
java.lang.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(java.lang.String uniqueId)
public NodeEntry resolve(NodeId nodeId,
NodeEntry rootEntry)
throws ItemNotFoundException,
RepositoryException
ItemNotFoundException
RepositoryException
public void statusChanged(ItemState state,
int previousStatus)
statusChanged in interface ItemStateLifeCycleListenerstate - previousStatus - ItemStateLifeCycleListener.statusChanged(ItemState, int)public void created(ItemState state)
created in interface ItemStateCreationListenerstate - ItemStateCreationListener.created(ItemState)public void entryCreated(NodeEntry entry)
entryCreated in interface EntryFactory.NodeEntryListenerEntryFactory.NodeEntryListener.entryCreated(NodeEntry)
public void uniqueIdChanged(NodeEntry entry,
java.lang.String previousUniqueID)
uniqueIdChanged in interface EntryFactory.NodeEntryListenerEntryFactory.NodeEntryListener.uniqueIdChanged(NodeEntry, String)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||