|
||||||||||
| 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. |
void |
itemUpdated(Item item,
boolean modified)
Called when an Item instance has been refreshed. |
| Method Detail |
|---|
void itemCreated(Item item)
Item instance has been created.
item - the instance which has been created
void itemUpdated(Item item,
boolean modified)
Item instance has been refreshed. If
modified is true, the refresh included
some modification.
item - the instance which has been refreshedvoid 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 | |||||||||