Class CreateWageForReservationEntityListener
java.lang.Object
ch.tocco.nice2.optional.salary.impl.entitylistener.CreateWageForReservationEntityListener
- All Implemented Interfaces:
EntityFacadeListener
,EventListener
-
Constructor Summary
ConstructorDescriptionCreateWageForReservationEntityListener
(CommandExecutor executor, DefaultDisplayService defaultDisplayService, ClientNotificationService clientNotificationService, NotificationService notificationService, EvaluateWageScaleService evaluateWageScaleService, TextResources textResources) -
Method Summary
Modifier and TypeMethodDescriptionvoid
Fired when a relation of an entity has been changed.void
setDisableAutoWageCreation
(boolean disableAutoWageCreation) void
setDisableCreatedWageNotification
(boolean disableCreatedWageNotification) void
setWageTaskProvider
(WageTaskProvider wageTaskProvider) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface ch.tocco.nice2.persist.core.api.entity.events.EntityFacadeListener
entityChanging, entityCreating, entityDeleting, entityReceivedValues, handleSessionOnlyEntity
-
Constructor Details
-
CreateWageForReservationEntityListener
public CreateWageForReservationEntityListener(CommandExecutor executor, DefaultDisplayService defaultDisplayService, ClientNotificationService clientNotificationService, NotificationService notificationService, EvaluateWageScaleService evaluateWageScaleService, TextResources textResources)
-
-
Method Details
-
entityRelationChanging
Description copied from interface:EntityFacadeListener
Fired when a relation of an entity has been changed.- Specified by:
entityRelationChanging
in interfaceEntityFacadeListener
- Parameters:
event
- The event object.
-
setWageTaskProvider
-
setDisableAutoWageCreation
@Value("${salary.disableAutoWageCreation}") public void setDisableAutoWageCreation(boolean disableAutoWageCreation) -
setDisableCreatedWageNotification
@Value("${salary.disableCreatedWageNotification}") public void setDisableCreatedWageNotification(boolean disableCreatedWageNotification)
-