lumis.service.socialnetworkservices.microblog.doui.observer
Class MicroblogPortalObserver

Package class diagram package MicroblogPortalObserver
java.lang.Object
  extended by lumis.service.socialnetworkservices.microblog.doui.observer.MicroblogPortalObserver
All Implemented Interfaces:
IPortalEventObserver

public class MicroblogPortalObserver
extends Object
implements IPortalEventObserver

Observer used to remove all user Microblog-related data before it's deletion.

Since:
6.1.0

Constructor Summary
MicroblogPortalObserver()
           
 
Method Summary
 IPortalEventFilter getEventFilter()
          Returns the event filter for this observer.
 void onEvent(IPortalEvent event)
          Notifies that an event has been raised.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MicroblogPortalObserver

public MicroblogPortalObserver()
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 interface IPortalEventObserver
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 interface IPortalEventObserver
Parameters:
event - the event.
Throws:
PortalException


Lumisportal  6.2.0.120405 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.