com.xpn.xwiki.plugin.activitystream.eventstreambridge
Class BridgeEventStream

java.lang.Object
  extended by com.xpn.xwiki.plugin.activitystream.eventstreambridge.BridgeEventStream
All Implemented Interfaces:
EventStream

@Component
@Singleton
public class BridgeEventStream
extends Object
implements EventStream

Implementation for the EventStream which actually uses the old ActivityStreamPlugin for storing and searching events.

Version:
$Id: 4dbfd9dda5adb1af89008c9898fea2bc23f14a7b $

Constructor Summary
BridgeEventStream()
           
 
Method Summary
 void addEvent(Event e)
          
 void deleteEvent(Event e)
          
 EventGroup getRelatedEvents(Event e)
          
 List<Event> searchEvents(Query query)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BridgeEventStream

public BridgeEventStream()
Method Detail

addEvent

public void addEvent(Event e)

Specified by:
addEvent in interface EventStream
See Also:
EventStream.addEvent(Event)

deleteEvent

public void deleteEvent(Event e)

Specified by:
deleteEvent in interface EventStream
See Also:
EventStream.deleteEvent(Event)

getRelatedEvents

public EventGroup getRelatedEvents(Event e)

Specified by:
getRelatedEvents in interface EventStream
See Also:
EventStream.getRelatedEvents(Event)

searchEvents

public List<Event> searchEvents(Query query)
                         throws QueryException

Specified by:
searchEvents in interface EventStream
Throws:
QueryException
See Also:
EventStream.searchEvents(Query)


Copyright © 2004-2011 XWiki. All Rights Reserved.