Package org.apache.jackrabbit.core
Interface ItemLifeCycleListener
-
public interface ItemLifeCycleListenerTheItemLifeCycleListenerinterface allows an implementing object to be informed about changes on anIteminstance.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiditemCreated(ItemImpl item)Called when anItemImplinstance has been created.voiditemDestroyed(ItemId id, ItemImpl item)Called when anItemImplinstance has been destroyed (i.e.voiditemInvalidated(ItemId id, ItemImpl item)Called when anItemImplinstance has been invalidated (i.e.
-
-
-
Method Detail
-
itemCreated
void itemCreated(ItemImpl item)
Called when anItemImplinstance has been created.- Parameters:
item- the instance which has been created
-
itemInvalidated
void itemInvalidated(ItemId id, ItemImpl item)
Called when anItemImplinstance has been invalidated (i.e. it has been temporarily rendered 'invalid').Note that most
,ItemandNodemethods will throw anPropertyInvalidItemStateExceptionwhen called on an 'invalidated' item.- Parameters:
id- the id of the instance that has been discardeditem- the instance which has been discarded
-
itemDestroyed
void itemDestroyed(ItemId id, ItemImpl item)
Called when anItemImplinstance has been destroyed (i.e. it has been permanently rendered 'invalid').Note that most
,ItemandNodemethods will throw anPropertyInvalidItemStateExceptionwhen called on a 'destroyed' item.- Parameters:
id- the id of the instance that has been destroyeditem- the instance which has been destroyed
-
-