org.apache.jackrabbit.jcr2spi.state
Interface ItemStateLifeCycleListener
- All Known Subinterfaces:
- ItemStateCreationListener
- All Known Implementing Classes:
- ItemImpl, ItemManagerImpl, NodeImpl, PropertyImpl, TransientISFactory, TransientItemStateManager, UniqueIdResolver, VersionHistoryImpl, VersionImpl
public interface ItemStateLifeCycleListener
ItemStateLifeCycleListener allows an implementing class to get
notifications about the life cycle of an item state.
|
Method Summary |
void |
statusChanged(ItemState state,
int previousStatus)
Called after an ItemState has changed its status. |
statusChanged
void statusChanged(ItemState state,
int previousStatus)
- Called after an
ItemState has changed its status. The new
status can be retrieved by calling ItemState.getStatus().
- Parameters:
state - the item state, which changed its status.previousStatus - the previous status of state.
Copyright © 2004-2011 The Apache Software Foundation. All Rights Reserved.