Class RuleInUseUpdateListener
java.lang.Object
ch.tocco.nice2.persist.core.api.entity.events.InterruptibleEntityFacadeAdapter
ch.tocco.nice2.optional.educationrequirement.impl.entitylistener.RuleInUseUpdateListener
- All Implemented Interfaces:
EntityFacadeListener
,EventListener
resets every Requirement to status 'open' if its Requirement_rule gets adjusted. The user is sent a confirmation
before anything is actually reset.
Listens to these fields on Requirement_rule:
- rule
- enable_upload
-
Constructor Summary
ConstructorDescriptionRuleInUseUpdateListener
(ClientQuestionService questionService, TextResources textResources, RequirementRuleService requirementRuleService, CommandExecutor executor) -
Method Summary
Methods inherited from class ch.tocco.nice2.persist.core.api.entity.events.InterruptibleEntityFacadeAdapter
entityChanging, entityCreating, entityCreatingInterruptible, entityDeleting, entityDeletingInterruptible, entityReceivedValues, entityReceivedValuesInterruptible, entityRelationChanging, entityRelationChangingInterruptible
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
handleSessionOnlyEntity
-
Constructor Details
-
RuleInUseUpdateListener
public RuleInUseUpdateListener(ClientQuestionService questionService, TextResources textResources, RequirementRuleService requirementRuleService, CommandExecutor executor)
-
-
Method Details
-
entityChangingInterruptible
- Overrides:
entityChangingInterruptible
in classInterruptibleEntityFacadeAdapter
-