Interface ProjectTypeUpdatedNotifier

All Known Subinterfaces:
ProjectTypeUpdatedRegistrarAndNotifier
All Known Implementing Classes:
ProjectTypeUpdatedRegistrarImpl

public interface ProjectTypeUpdatedNotifier
Class in charge to send notifications to all ProjectTypeUpdatedHandler.
  • Method Details

    • notifyAllHandlers

      boolean notifyAllHandlers(ApplicationUser user, Project project, ProjectTypeKey oldProjectType, ProjectTypeKey newProjectType)
      Notifies all ProjectTypeUpdatedHandler objects that a project type update has happened.
      Parameters:
      user - The user performing the project update
      project - The project for which the project type has been updated
      oldProjectType - The old project type
      newProjectType - The new project type
      Returns:
      False if any of the handlers failed while handling the notification. True if everything went ok.