Interface ItemStateLifeCycleListener

All Known Subinterfaces:
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.

Method Detail


void statusChanged(ItemState state,
                   int previousStatus)
Called after an ItemState has changed its status. The new status can be retrieved by calling ItemState.getStatus().

state - the item state, which changed its status.
previousStatus - the previous status of state.

Copyright © 2004-2008 The Apache Software Foundation. All Rights Reserved.