Interface SchoolingCreateActionLogicExtension
- All Known Implementing Classes:
SchoolingCreateActionExtension
public interface SchoolingCreateActionLogicExtension
-
Method Summary
Modifier and TypeMethodDescriptiondefault booleanControls whether this extension is invoked bySchoolingCreateActionResourcewhen a Schooling entity is created manually via the admin action.default booleanControls whether this extension is invoked bySchoolingCreateServiceviaSchoolingRegistrationEntityListenerwhen a Schooling entity is created automatically when a Registration is created.voidfinalizeSchooling(List<Entity> schoolingEntities, Entity courseOfStudy) Allows performing additional actions after Schooling entities have been created.
-
Method Details
-
finalizeSchooling
-
executeOnAction
default boolean executeOnAction()Controls whether this extension is invoked bySchoolingCreateActionResourcewhen a Schooling entity is created manually via the admin action. Can be combined independently withexecuteOnListener(): an extension may run in one or both contexts. Returnfalseto skip this extension in the action context. -
executeOnListener
default boolean executeOnListener()Controls whether this extension is invoked bySchoolingCreateServiceviaSchoolingRegistrationEntityListenerwhen a Schooling entity is created automatically when a Registration is created. Can be combined independently withexecuteOnAction(): an extension may run in one or both contexts. Returnfalseto skip this extension in the listener context.
-