Interface SchoolingCreateActionLogicExtension

All Known Implementing Classes:
SchoolingCreateActionExtension

public interface SchoolingCreateActionLogicExtension
  • Method Details

    • finalizeSchooling

      void finalizeSchooling(List<Entity> schoolingEntities, Entity courseOfStudy)
      Allows performing additional actions after Schooling entities have been created.
      Parameters:
      schoolingEntities - newly created schooling entities
      courseOfStudy - the course of study linked to the created schooling entities
    • executeOnAction

      default boolean executeOnAction()
      Controls whether this extension is invoked by SchoolingCreateActionResource when a Schooling entity is created manually via the admin action. Can be combined independently with executeOnListener(): an extension may run in one or both contexts. Return false to skip this extension in the action context.
    • executeOnListener

      default boolean executeOnListener()
      Controls whether this extension is invoked by SchoolingCreateService via SchoolingRegistrationEntityListener when a Schooling entity is created automatically when a Registration is created. Can be combined independently with executeOnAction(): an extension may run in one or both contexts. Return false to skip this extension in the listener context.