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
ConstructorsConstructorDescriptionEditTemplateListener(ClientQuestionService clientQuestionService, SecurityManager securityManager, TextResources textResources, TemplateSynchronizationStatus templateSynchronizationStatus) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidMethods inherited from class InterruptibleEntityFacadeAdapter
entityChanging, entityCreating, entityCreatingInterruptible, entityDeleting, entityDeletingInterruptible, entityReceivedValues, entityReceivedValuesInterruptible, entityRelationChangingMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface EntityFacadeListener
handleSessionOnlyEntity
-
Constructor Details
-
EditTemplateListener
public EditTemplateListener(ClientQuestionService clientQuestionService, SecurityManager securityManager, TextResources textResources, TemplateSynchronizationStatus templateSynchronizationStatus)
-
-
Method Details
-
entityChangingInterruptible
- Overrides:
entityChangingInterruptiblein classInterruptibleEntityFacadeAdapter
-
entityRelationChangingInterruptible
- Overrides:
entityRelationChangingInterruptiblein classInterruptibleEntityFacadeAdapter
-