Package lumis.content.core
Class ContentUrlUpdateObserver
- java.lang.Object
-
- lumis.content.core.ContentUrlUpdateObserver
-
- All Implemented Interfaces:
IPortalEventObserver
public class ContentUrlUpdateObserver extends Object implements IPortalEventObserver
ObservesWorkflowActionExecutedEvent
andContentVersion
events to recalculate the content's web resources friendly paths when a new value forContentVersion.getUrlTitle()
is published.- Since:
- 10.0.0
- Version:
- $Revision: 19767 $ $Date: 2017-01-05 18:35:47 -0200 (Thu, 05 Jan 2017) $
-
-
Constructor Summary
Constructors Constructor Description ContentUrlUpdateObserver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IPortalEventFilter
getEventFilter()
Returns the event filter for this observer.void
onEvent(IPortalEvent ev)
Notifies that an event has been raised.
-
-
-
Method Detail
-
getEventFilter
public IPortalEventFilter getEventFilter()
Description copied from interface:IPortalEventObserver
Returns the event filter for this observer.PortalEventFilters
provides methods for generating commonly used filters.- Specified by:
getEventFilter
in interfaceIPortalEventObserver
- Returns:
- a collection of event group identifiers.
- See Also:
PortalEventFilters
-
onEvent
public void onEvent(IPortalEvent ev) throws PortalException
Description copied from interface:IPortalEventObserver
Notifies that an event has been raised. This method will be called only for events that belong to the groups specified by#getExpectedEventGroups()
.Important: The implementation of this method must not be time consuming, as it may impact the overall time response of the portal.
- Specified by:
onEvent
in interfaceIPortalEventObserver
- Parameters:
ev
- the event.- Throws:
PortalException
-
-