public interface ItemStateListener
ItemStateListener
interface allows an implementing object
to be informed about changes on an ItemState
.Modifier and Type | Method and Description |
---|---|
void |
stateCreated(ItemState created)
Called when an
ItemState has successfully
been created (i.e. |
void |
stateDestroyed(ItemState destroyed)
Called when an
ItemState has successfully been
removed (i.e. |
void |
stateDiscarded(ItemState discarded)
Called when an
ItemState has been discarded (i.e. |
void |
stateModified(ItemState modified)
Called when an
ItemState has successfully
been modified (i.e. |
void stateCreated(ItemState created)
ItemState
has successfully
been created (i.e. its underlying persistent state was created).created
- the ItemState
that has been 'created'void stateModified(ItemState modified)
ItemState
has successfully
been modified (i.e. its underlying persistent state has changed).modified
- the ItemState
that has been 'modified'void stateDestroyed(ItemState destroyed)
ItemState
has successfully been
removed (i.e. its underlying persistent state has been destroyed).destroyed
- the ItemState
that has been 'destroyed'void stateDiscarded(ItemState discarded)
ItemState
has been discarded (i.e. it has
been rendered 'invalid').discarded
- the ItemState
that has been discardedItemState.discard()
Copyright © 2004–2023 The Apache Software Foundation. All rights reserved.