Interface ItemStateListener

    • Method Detail

      • stateCreated

        void stateCreated​(ItemState created)
        Called when an ItemState has successfully been created (i.e. its underlying persistent state was created).
        Parameters:
        created - the ItemState that has been 'created'
      • stateModified

        void stateModified​(ItemState modified)
        Called when an ItemState has successfully been modified (i.e. its underlying persistent state has changed).
        Parameters:
        modified - the ItemState that has been 'modified'
      • stateDestroyed

        void stateDestroyed​(ItemState destroyed)
        Called when an ItemState has successfully been removed (i.e. its underlying persistent state has been destroyed).
        Parameters:
        destroyed - the ItemState that has been 'destroyed'
      • stateDiscarded

        void stateDiscarded​(ItemState discarded)
        Called when an ItemState has been discarded (i.e. it has been rendered 'invalid').
        Parameters:
        discarded - the ItemState that has been discarded
        See Also:
        ItemState.discard()