Class UrlNormalizerEntityListener
java.lang.Object
ch.tocco.nice2.dms.impl.entitylistener.UrlNormalizerEntityListener
- All Implemented Interfaces:
EntityFacadeListener
,EventListener
Listens on changes of the "url" field of a Domain. Everytime the URL is changed,
illegal characters are stripped.
- See Also:
-
Constructor Summary
ConstructorDescriptionUrlNormalizerEntityListener
(SecurityManager securityManager, ContentTreeService contentTreeService, org.slf4j.Logger log) -
Method Summary
Modifier and TypeMethodDescriptionvoid
entityChanging
(EntityChangedEvent event) Fired when any changes are made to an entity.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
entityCreating, entityDeleting, entityReceivedValues, entityRelationChanging, handleSessionOnlyEntity
-
Constructor Details
-
UrlNormalizerEntityListener
public UrlNormalizerEntityListener(SecurityManager securityManager, ContentTreeService contentTreeService, org.slf4j.Logger log)
-
-
Method Details
-
entityChanging
Description copied from interface:EntityFacadeListener
Fired when any changes are made to an entity.- Specified by:
entityChanging
in interfaceEntityFacadeListener
- Parameters:
event
- The event object.
-