|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jackrabbit.jcr2spi.ItemManagerImpl
public class ItemManagerImpl
ItemManagerImpl implements the ItemManager interface.
| Method Summary | |
|---|---|
void |
dispose()
Disposes this ItemManager and frees resources. |
void |
dump(PrintStream ps)
Dumps the state of this instance in a human readable format for diagnostic purposes. |
NodeIterator |
getChildNodes(NodeEntry parentEntry)
|
PropertyIterator |
getChildProperties(NodeEntry parentEntry)
|
Item |
getItem(HierarchyEntry hierarchyEntry)
|
Item |
getItem(Path path)
|
boolean |
hasChildNodes(NodeEntry parentEntry)
|
boolean |
hasChildProperties(NodeEntry parentEntry)
|
void |
itemCreated(Item item)
Called when an Item instance has been created. |
void |
itemDestroyed(Item item)
Called when an ItemImpl instance has been destroyed
(i.e. |
boolean |
itemExists(HierarchyEntry hierarchyEntry)
Checks if the item for given HierarchyEntry exists. |
boolean |
itemExists(Path path)
Checks if the item with the given path exists. |
void |
itemInvalidated(Item item)
Called when an Item instance has been invalidated
(i.e. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void dispose()
ItemManagerItemManager and frees resources.
dispose in interface ItemManagerItemManager.dispose()public boolean itemExists(Path path)
ItemManager
itemExists in interface ItemManagerpath - path to the item to be checked
ItemManager.itemExists(Path)public boolean itemExists(HierarchyEntry hierarchyEntry)
ItemManager
itemExists in interface ItemManagerItemManager.itemExists(HierarchyEntry)
public Item getItem(Path path)
throws PathNotFoundException,
AccessDeniedException,
RepositoryException
getItem in interface ItemManagerPathNotFoundException
AccessDeniedException
RepositoryExceptionItemManager.getItem(Path)
public Item getItem(HierarchyEntry hierarchyEntry)
throws ItemNotFoundException,
AccessDeniedException,
RepositoryException
getItem in interface ItemManagerItemNotFoundException
AccessDeniedException
RepositoryExceptionItemManager.getItem(HierarchyEntry)
public boolean hasChildNodes(NodeEntry parentEntry)
throws ItemNotFoundException,
AccessDeniedException,
RepositoryException
hasChildNodes in interface ItemManagerItemNotFoundException
AccessDeniedException
RepositoryExceptionItemManager.hasChildNodes(NodeEntry)
public NodeIterator getChildNodes(NodeEntry parentEntry)
throws ItemNotFoundException,
AccessDeniedException,
RepositoryException
getChildNodes in interface ItemManagerItemNotFoundException
AccessDeniedException
RepositoryExceptionItemManager.getChildNodes(NodeEntry)
public boolean hasChildProperties(NodeEntry parentEntry)
throws ItemNotFoundException,
AccessDeniedException,
RepositoryException
hasChildProperties in interface ItemManagerItemNotFoundException
AccessDeniedException
RepositoryExceptionItemManager.hasChildProperties(NodeEntry)
public PropertyIterator getChildProperties(NodeEntry parentEntry)
throws ItemNotFoundException,
AccessDeniedException,
RepositoryException
getChildProperties in interface ItemManagerItemNotFoundException
AccessDeniedException
RepositoryExceptionItemManager.getChildProperties(NodeEntry)public void itemCreated(Item item)
ItemLifeCycleListenerItem instance has been created.
itemCreated in interface ItemLifeCycleListeneritem - the instance which has been createdItemLifeCycleListener.itemCreated(Item)public void itemInvalidated(Item item)
ItemLifeCycleListenerItem instance has been invalidated
(i.e. it has been temporarily rendered 'invalid').
Note that most methods of Item,
Node and Property
will throw an InvalidItemStateException when called
on an 'invalidated' item.
itemInvalidated in interface ItemLifeCycleListeneritem - the instance which has been discardedItemLifeCycleListener.itemInvalidated(Item)public void itemDestroyed(Item item)
ItemLifeCycleListenerItemImpl instance has been destroyed
(i.e. it has been permanently rendered 'invalid').
Note that most Item,
Node and Property
methods will throw an InvalidItemStateException when called
on a 'destroyed' item.
itemDestroyed in interface ItemLifeCycleListeneritem - the instance which has been destroyedItemLifeCycleListener.itemDestroyed(Item)public void dump(PrintStream ps)
Dumpable
dump in interface Dumpableps - stream to dump state toDumpable.dump(PrintStream)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||