Interface ItemLifeCycleListener

    • Method Detail

      • itemCreated

        void itemCreated​(Item item)
        Called when an Item instance has been created.
        Parameters:
        item - the instance which has been created
      • itemUpdated

        void itemUpdated​(Item item,
                         boolean modified)
        Called when an Item instance has been refreshed. If modified is true, the refresh included some modification.
        Parameters:
        item - the instance which has been refreshed
      • itemDestroyed

        void itemDestroyed​(Item item)
        Called when an ItemImpl instance has been destroyed (i.e. it has been permanently rendered 'invalid').

        Note that most Item, Node and Property methods will throw an InvalidItemStateException when called on a 'destroyed' item.

        Parameters:
        item - the instance which has been destroyed