Class DefaultFlagModuleEntityListener
java.lang.Object
ch.tocco.nice2.entityoperation.impl.entitylistener.DefaultFlagModuleEntityListener
- All Implemented Interfaces:
EntityFacadeListener, EventListener
@Component
public class DefaultFlagModuleEntityListener
extends Object
implements EntityFacadeListener
this listener ensures that there is only on default template for a template entity
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidentityChanging(EntityChangedEvent event) Fired when any changes are made to an entity.voidFired when a relation of an entity has been changed.voidsetModuleRelations(List<DefaultFlagModuleConfig> moduleRelations) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface EntityFacadeListener
entityCreating, entityDeleting, entityReceivedValues, handleSessionOnlyEntity
-
Constructor Details
-
DefaultFlagModuleEntityListener
-
-
Method Details
-
entityChanging
Description copied from interface:EntityFacadeListenerFired when any changes are made to an entity.- Specified by:
entityChangingin interfaceEntityFacadeListener- Parameters:
event- The event object.
-
entityRelationChanging
Description copied from interface:EntityFacadeListenerFired when a relation of an entity has been changed.- Specified by:
entityRelationChangingin interfaceEntityFacadeListener- Parameters:
event- The event object.
-
setModuleRelations
-