Package org.ametys.web.trash
Class WebContentAddedObserver
java.lang.Object
org.ametys.cms.trash.observer.AbstractAmetysObjectAddedObserver<ModifiableDefaultWebContent>
org.ametys.web.trash.WebContentAddedObserver
- All Implemented Interfaces:
Observer,Prioritizable,Supporter<Event>,Serviceable
public class WebContentAddedObserver
extends AbstractAmetysObjectAddedObserver<ModifiableDefaultWebContent>
Observer that redirect the event to
ModifiableDefaultWebContent.-
Field Summary
Fields inherited from interface org.ametys.core.observation.Observer
MAX_PRIORITY, MIN_PRIORITY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringGet event identifier to notify.Get the event params to send in the notification.Methods inherited from class org.ametys.cms.trash.observer.AbstractAmetysObjectAddedObserver
getPriority, observe, service, supports
-
Constructor Details
-
WebContentAddedObserver
public WebContentAddedObserver()
-
-
Method Details
-
getEventId
Description copied from class:AbstractAmetysObjectAddedObserverGet event identifier to notify.- Specified by:
getEventIdin classAbstractAmetysObjectAddedObserver<ModifiableDefaultWebContent>- Returns:
- the event id
-
getEventParams
Description copied from class:AbstractAmetysObjectAddedObserverGet the event params to send in the notification.- Specified by:
getEventParamsin classAbstractAmetysObjectAddedObserver<ModifiableDefaultWebContent>- Parameters:
content- The Ametys object on which the event is send- Returns:
- the event params as a map
-