Package systems.dmx.events
Class EventsPlugin
- java.lang.Object
-
- systems.dmx.core.osgi.PluginActivator
-
- systems.dmx.events.EventsPlugin
-
- All Implemented Interfaces:
org.osgi.framework.BundleActivator
,PluginContext
,PreCreateAssoc
,EventListener
,EventsService
public class EventsPlugin extends PluginActivator implements EventsService, PreCreateAssoc
-
-
Field Summary
-
Fields inherited from class systems.dmx.core.osgi.PluginActivator
bundle, dmx, mf
-
-
Constructor Summary
Constructors Constructor Description EventsPlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<RelatedTopic>
getEvents(long personId)
List<RelatedTopic>
getPersons(long eventId)
void
preCreateAssoc(AssocModel assoc)
-
Methods inherited from class systems.dmx.core.osgi.PluginActivator
getBundleContext, getPluginName, getStaticResource, getUri, init, preInstall, publishFileSystem, serviceArrived, serviceGone, setCoreService, shutdown, start, stop, toString
-
-
-
-
Method Detail
-
getEvents
public List<RelatedTopic> getEvents(long personId)
- Specified by:
getEvents
in interfaceEventsService
-
getPersons
public List<RelatedTopic> getPersons(long eventId)
- Specified by:
getPersons
in interfaceEventsService
-
preCreateAssoc
public void preCreateAssoc(AssocModel assoc)
- Specified by:
preCreateAssoc
in interfacePreCreateAssoc
-
-