Package lumis.service.autoadministration
Class AutoAdministrationObserver
- java.lang.Object
-
- lumis.service.autoadministration.AutoAdministrationObserver
-
- All Implemented Interfaces:
IPortalEventObserver
public class AutoAdministrationObserver extends java.lang.Object implements IPortalEventObserver
Auto administration tree cache cleaner.- Since:
- 10.4.0
- Version:
- $Revision$ $Date$
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
CACHE_ID
Auto administration tree cache identifier.static java.lang.String
SERVICE_ID
Auto Administration service id.
-
Constructor Summary
Constructors Constructor Description AutoAdministrationObserver()
-
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 event)
Notifies that an event has been raised.
-
-
-
Field Detail
-
SERVICE_ID
public static final java.lang.String SERVICE_ID
Auto Administration service id.- See Also:
- Constant Field Values
-
CACHE_ID
public static final java.lang.String CACHE_ID
Auto administration tree cache identifier.- See Also:
- Constant Field Values
-
-
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 event) 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:
event
- the event.- Throws:
PortalException
-
-