Class DemandsModifier

    • Constructor Detail

      • DemandsModifier

        public DemandsModifier​(Demands demands)
        Constructor
        Parameters:
        demands - parent demands to perform modifications on
    • Method Detail

      • fireEvent

        protected void fireEvent​(EventListener eventListener,
                                 Event event)
        Let derived class deal with the handling of the listener, where based on the derived event implementation the listener's concrete class can be determined which in turn allows for calling the right event callback method which is unknown at this base level since this event mechanism does not force a particular notification method signature on its listener interface

        make public so derived classes can access it as well

        Specified by:
        fireEvent in class EventProducerImpl
        Parameters:
        eventListener - to notify for the event
        event - to process for the listener
      • recreateManagedEntitiesIds

        public void recreateManagedEntitiesIds()
        Recreate managed ids of all underlying managed entities id containers and fire a #RecreatedDemandsEntitiesManagedIdsEvent for each container that was updated
        Specified by:
        recreateManagedEntitiesIds in interface DemandsModifierEventProducer
      • reset

        public void reset()
        Reset modifier