public interface ItemLifeCycleListener
ItemLifeCycleListener
interface allows an implementing
object to be informed about changes on an Item
instance.Modifier and Type | Method and Description |
---|---|
void |
itemCreated(javax.jcr.Item item)
Called when an
Item instance has been created. |
void |
itemDestroyed(javax.jcr.Item item)
Called when an
ItemImpl instance has been destroyed
(i.e. |
void |
itemUpdated(javax.jcr.Item item,
boolean modified)
Called when an
Item instance has been refreshed. |
void itemCreated(javax.jcr.Item item)
Item
instance has been created.item
- the instance which has been createdvoid itemUpdated(javax.jcr.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(javax.jcr.Item item)
ItemImpl
instance has been destroyed
(i.e. it has been permanently rendered 'invalid').
Note that most
,
Item
and Node
methods will throw an Property
InvalidItemStateException
when called
on a 'destroyed' item.
item
- the instance which has been destroyedCopyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.