|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ItemLifeCycleListener
The ItemLifeCycleListener interface allows an implementing
object to be informed about changes on an Item instance.
ItemImpl.addLifeCycleListener(org.apache.jackrabbit.jcr2spi.ItemLifeCycleListener)| Method Summary | |
|---|---|
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. it has been permanently rendered 'invalid'). |
void |
itemInvalidated(Item item)
Called when an Item instance has been invalidated
(i.e. it has been temporarily rendered 'invalid'). |
| Method Detail |
|---|
void itemCreated(Item item)
Item instance has been created.
item - the instance which has been createdvoid itemInvalidated(Item item)
Item 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.
item - the instance which has been discardedvoid itemDestroyed(Item item)
ItemImpl 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.
item - the instance which has been destroyed
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||