Class EditTemplateListener
java.lang.Object
ch.tocco.nice2.persist.core.api.entity.events.InterruptibleEntityFacadeAdapter
ch.tocco.nice2.optional.cms.impl.template.sync.EditTemplateListener
- All Implemented Interfaces:
EntityFacadeListener
,EventListener
This listener sets the boolean flag "edited" on Cms_template to true, if an external template is updated and if it
hasn't been edited yet.
The user has to confirm his change before the flag is set.
-
Constructor Summary
ConstructorDescriptionEditTemplateListener
(ClientQuestionService clientQuestionService, SecurityManager securityManager, TextResources textResources, TemplateSynchronizationStatus templateSynchronizationStatus) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
Methods inherited from class ch.tocco.nice2.persist.core.api.entity.events.InterruptibleEntityFacadeAdapter
entityChanging, entityCreating, entityCreatingInterruptible, entityDeleting, entityDeletingInterruptible, entityReceivedValues, entityReceivedValuesInterruptible, entityRelationChanging
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
-
EditTemplateListener
public EditTemplateListener(ClientQuestionService clientQuestionService, SecurityManager securityManager, TextResources textResources, TemplateSynchronizationStatus templateSynchronizationStatus)
-
-
Method Details
-
entityChangingInterruptible
- Overrides:
entityChangingInterruptible
in classInterruptibleEntityFacadeAdapter
-
entityRelationChangingInterruptible
- Overrides:
entityRelationChangingInterruptible
in classInterruptibleEntityFacadeAdapter
-