Package systems.dmx.contacts
Class ContactsPlugin
- java.lang.Object
-
- systems.dmx.core.osgi.PluginActivator
-
- systems.dmx.contacts.ContactsPlugin
-
- All Implemented Interfaces:
org.osgi.framework.BundleActivator
,ContactsService
,PluginContext
,PreCreateAssoc
,EventListener
public class ContactsPlugin extends PluginActivator implements ContactsService, PreCreateAssoc
-
-
Field Summary
-
Fields inherited from class systems.dmx.core.osgi.PluginActivator
bundle, dmx, mf
-
-
Constructor Summary
Constructors Constructor Description ContactsPlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<RelatedTopic>
getOrganizations(long personId)
List<RelatedTopic>
getPersons(long organizationId)
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
-
getOrganizations
public List<RelatedTopic> getOrganizations(long personId)
- Specified by:
getOrganizations
in interfaceContactsService
-
getPersons
public List<RelatedTopic> getPersons(long organizationId)
- Specified by:
getPersons
in interfaceContactsService
-
preCreateAssoc
public void preCreateAssoc(AssocModel assoc)
- Specified by:
preCreateAssoc
in interfacePreCreateAssoc
-
-