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
ConstructorsConstructorDescriptionRuleInUseUpdateListener(ClientQuestionService questionService, TextResources textResources, RequirementRuleService requirementRuleService, CommandExecutor executor) -
Method Summary
Methods inherited from class InterruptibleEntityFacadeAdapter
entityChanging, entityCreating, entityCreatingInterruptible, entityDeleting, entityDeletingInterruptible, entityReceivedValues, entityReceivedValuesInterruptible, entityRelationChanging, entityRelationChangingInterruptibleMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface EntityFacadeListener
handleSessionOnlyEntity
-
Constructor Details
-
RuleInUseUpdateListener
public RuleInUseUpdateListener(ClientQuestionService questionService, TextResources textResources, RequirementRuleService requirementRuleService, CommandExecutor executor)
-
-
Method Details
-
entityChangingInterruptible
- Overrides:
entityChangingInterruptiblein classInterruptibleEntityFacadeAdapter
-