public class ContentUrlUpdateObserver extends Object implements IPortalEventObserver
WorkflowActionExecutedEvent
and ContentVersion
events to recalculate the content's web
resources friendly paths when a new value for ContentVersion.getUrlTitle()
is published.Constructor and Description |
---|
ContentUrlUpdateObserver() |
Modifier and Type | Method and Description |
---|---|
IPortalEventFilter |
getEventFilter()
Returns the event filter for this observer.
|
void |
onEvent(IPortalEvent ev)
Notifies that an event has been raised.
|
public IPortalEventFilter getEventFilter()
IPortalEventObserver
PortalEventFilters
provides methods for generating commonly
used filters.
getEventFilter
in interface IPortalEventObserver
PortalEventFilters
public void onEvent(IPortalEvent ev) throws PortalException
IPortalEventObserver
#getExpectedEventGroups()
.
Important: The implementation of this method must not be time consuming, as it may impact the overall time response of the portal.
onEvent
in interface IPortalEventObserver
ev
- the event.PortalException
LumisXP 12.3.0.200408 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.