Package org.apache.jackrabbit.core.state
Interface ItemStateListener
-
- All Known Subinterfaces:
NodeStateListener
- All Known Implementing Classes:
AbstractVISProvider
,CachingHierarchyManager
,InternalVersionManagerImpl
,ItemManager
,LocalItemStateManager
,SessionItemStateManager
,SharedItemStateManager
,VersionItemStateManager
,VirtualNodeTypeStateProvider
,XAItemStateManager
public interface ItemStateListener
TheItemStateListener
interface allows an implementing object to be informed about changes on anItemState
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
stateCreated(ItemState created)
Called when anItemState
has successfully been created (i.e.void
stateDestroyed(ItemState destroyed)
Called when anItemState
has successfully been removed (i.e.void
stateDiscarded(ItemState discarded)
Called when anItemState
has been discarded (i.e.void
stateModified(ItemState modified)
Called when anItemState
has successfully been modified (i.e.
-
-
-
Method Detail
-
stateCreated
void stateCreated(ItemState created)
Called when anItemState
has successfully been created (i.e. its underlying persistent state was created).- Parameters:
created
- theItemState
that has been 'created'
-
stateModified
void stateModified(ItemState modified)
Called when anItemState
has successfully been modified (i.e. its underlying persistent state has changed).- Parameters:
modified
- theItemState
that has been 'modified'
-
stateDestroyed
void stateDestroyed(ItemState destroyed)
Called when anItemState
has successfully been removed (i.e. its underlying persistent state has been destroyed).- Parameters:
destroyed
- theItemState
that has been 'destroyed'
-
stateDiscarded
void stateDiscarded(ItemState discarded)
Called when anItemState
has been discarded (i.e. it has been rendered 'invalid').- Parameters:
discarded
- theItemState
that has been discarded- See Also:
ItemState.discard()
-
-