public class ContentIndexerObserver extends AbstractPortalEventObserver
IContentManager.scheduleReindex(Content)
Modifier and Type | Field and Description |
---|---|
static String |
TRANSACTION_ATTRIBUTE_DISABLE
ITransaction attribute that when present disables this observer for that transaction. |
Constructor and Description |
---|
ContentIndexerObserver() |
Modifier and Type | Method and Description |
---|---|
IPortalEventFilter |
getEventFilter()
Returns the event filter for this observer.
|
void |
onEvent(IPortalEvent event)
Notifies that an event has been raised.
|
public static final String TRANSACTION_ATTRIBUTE_DISABLE
ITransaction
attribute that when present disables this observer for that transaction.public IPortalEventFilter getEventFilter()
IPortalEventObserver
PortalEventFilters
provides methods for generating commonly
used filters.
getEventFilter
in interface IPortalEventObserver
getEventFilter
in class AbstractPortalEventObserver
PortalEventFilters
public void onEvent(IPortalEvent event) 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.
event
- the event.PortalException
LumisXP 12.3.0.200408 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.