de.deepamehta.plugins.webservice
Class WebservicePlugin

java.lang.Object
  extended by de.deepamehta.core.osgi.PluginActivator
      extended by de.deepamehta.plugins.webservice.WebservicePlugin
All Implemented Interfaces:
de.deepamehta.core.osgi.PluginContext, org.osgi.framework.BundleActivator

public class WebservicePlugin
extends de.deepamehta.core.osgi.PluginActivator


Field Summary
 
Fields inherited from class de.deepamehta.core.osgi.PluginActivator
bundle, dms
 
Constructor Summary
WebservicePlugin()
           
 
Method Summary
 de.deepamehta.core.Association createAssociation(de.deepamehta.core.model.AssociationModel model)
           
 de.deepamehta.core.AssociationType createAssociationType(de.deepamehta.core.model.AssociationTypeModel model)
           
 de.deepamehta.core.Topic createRoleType(de.deepamehta.core.model.TopicModel model)
           
 de.deepamehta.core.Topic createTopic(de.deepamehta.core.model.TopicModel model)
           
 de.deepamehta.core.TopicType createTopicType(de.deepamehta.core.model.TopicTypeModel model)
           
 de.deepamehta.core.service.Directives deleteAssociation(long assocId)
           
 de.deepamehta.core.service.Directives deleteAssociationType(String uri)
           
 de.deepamehta.core.service.Directives deleteTopic(long topicId)
           
 de.deepamehta.core.service.Directives deleteTopicType(String uri)
           
 List<de.deepamehta.core.TopicType> getAllTopicTypes()
           
 de.deepamehta.core.Association getAssociation(long assocId)
           
 de.deepamehta.core.Association getAssociation(String assocTypeUri, long topic1Id, long topic2Id, String roleTypeUri1, String roleTypeUri2)
           
 List<de.deepamehta.core.AssociationType> getAssociationAllTypes()
           
 de.deepamehta.core.service.ResultList<de.deepamehta.core.RelatedAssociation> getAssociationRelatedAssociations(long assocId, String assocTypeUri, String myRoleTypeUri, String othersRoleTypeUri, String othersAssocTypeUri)
           
 de.deepamehta.core.service.ResultList<de.deepamehta.core.RelatedTopic> getAssociationRelatedTopics(long assocId, String assocTypeUri, String myRoleTypeUri, String othersRoleTypeUri, String othersTopicTypeUri, int maxResultSize)
           
 List<de.deepamehta.core.Association> getAssociations(long topic1Id, long topic2Id)
           
 List<de.deepamehta.core.Association> getAssociations(long topic1Id, long topic2Id, String assocTypeUri)
           
 de.deepamehta.core.AssociationType getAssociationType(String uri)
           
 List<String> getAssociationTypeUris()
           
 List<de.deepamehta.core.service.PluginInfo> getPluginInfo()
           
 de.deepamehta.core.Topic getTopic(long topicId)
           
 de.deepamehta.core.Topic getTopic(String key, de.deepamehta.core.model.SimpleValue value)
           
 de.deepamehta.core.service.ResultList<de.deepamehta.core.RelatedAssociation> getTopicRelatedAssociations(long topicId, String assocTypeUri, String myRoleTypeUri, String othersRoleTypeUri, String othersAssocTypeUri)
           
 de.deepamehta.core.service.ResultList<de.deepamehta.core.RelatedTopic> getTopicRelatedTopics(long topicId, String assocTypeUri, String myRoleTypeUri, String othersRoleTypeUri, String othersTopicTypeUri, int maxResultSize)
           
 de.deepamehta.core.service.ResultList<de.deepamehta.core.RelatedTopic> getTopics(String typeUri, int maxResultSize)
           
 List<de.deepamehta.core.Topic> getTopics(String key, de.deepamehta.core.model.SimpleValue value)
           
 de.deepamehta.core.TopicType getTopicType(String uri)
           
 List<String> getTopicTypeUris()
           
 List<de.deepamehta.core.Topic> searchTopics(String searchTerm, String fieldUri)
           
 de.deepamehta.core.service.Directives updateAssociation(long assocId, de.deepamehta.core.model.AssociationModel model)
           
 de.deepamehta.core.service.Directives updateAssociationType(de.deepamehta.core.model.AssociationTypeModel model)
           
 de.deepamehta.core.service.Directives updateTopic(long topicId, de.deepamehta.core.model.TopicModel model)
           
 de.deepamehta.core.service.Directives updateTopicType(de.deepamehta.core.model.TopicTypeModel model)
           
 
Methods inherited from class de.deepamehta.core.osgi.PluginActivator
getBundleContext, getPluginName, getStaticResource, getUri, init, publishDirectory, serviceArrived, serviceGone, setCoreService, shutdown, start, stop, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WebservicePlugin

public WebservicePlugin()
Method Detail

getTopic

public de.deepamehta.core.Topic getTopic(long topicId)

getTopic

public de.deepamehta.core.Topic getTopic(String key,
                                         de.deepamehta.core.model.SimpleValue value)

getTopics

public List<de.deepamehta.core.Topic> getTopics(String key,
                                                de.deepamehta.core.model.SimpleValue value)

getTopics

public de.deepamehta.core.service.ResultList<de.deepamehta.core.RelatedTopic> getTopics(String typeUri,
                                                                                        int maxResultSize)

searchTopics

public List<de.deepamehta.core.Topic> searchTopics(String searchTerm,
                                                   String fieldUri)

createTopic

public de.deepamehta.core.Topic createTopic(de.deepamehta.core.model.TopicModel model)

updateTopic

public de.deepamehta.core.service.Directives updateTopic(long topicId,
                                                         de.deepamehta.core.model.TopicModel model)

deleteTopic

public de.deepamehta.core.service.Directives deleteTopic(long topicId)

getAssociation

public de.deepamehta.core.Association getAssociation(long assocId)

getAssociation

public de.deepamehta.core.Association getAssociation(String assocTypeUri,
                                                     long topic1Id,
                                                     long topic2Id,
                                                     String roleTypeUri1,
                                                     String roleTypeUri2)

getAssociations

public List<de.deepamehta.core.Association> getAssociations(long topic1Id,
                                                            long topic2Id)

getAssociations

public List<de.deepamehta.core.Association> getAssociations(long topic1Id,
                                                            long topic2Id,
                                                            String assocTypeUri)

createAssociation

public de.deepamehta.core.Association createAssociation(de.deepamehta.core.model.AssociationModel model)

updateAssociation

public de.deepamehta.core.service.Directives updateAssociation(long assocId,
                                                               de.deepamehta.core.model.AssociationModel model)

deleteAssociation

public de.deepamehta.core.service.Directives deleteAssociation(long assocId)

getTopicTypeUris

public List<String> getTopicTypeUris()

getTopicType

public de.deepamehta.core.TopicType getTopicType(String uri)

getAllTopicTypes

public List<de.deepamehta.core.TopicType> getAllTopicTypes()

createTopicType

public de.deepamehta.core.TopicType createTopicType(de.deepamehta.core.model.TopicTypeModel model)

updateTopicType

public de.deepamehta.core.service.Directives updateTopicType(de.deepamehta.core.model.TopicTypeModel model)

deleteTopicType

public de.deepamehta.core.service.Directives deleteTopicType(String uri)

getAssociationTypeUris

public List<String> getAssociationTypeUris()

getAssociationType

public de.deepamehta.core.AssociationType getAssociationType(String uri)

getAssociationAllTypes

public List<de.deepamehta.core.AssociationType> getAssociationAllTypes()

createAssociationType

public de.deepamehta.core.AssociationType createAssociationType(de.deepamehta.core.model.AssociationTypeModel model)

updateAssociationType

public de.deepamehta.core.service.Directives updateAssociationType(de.deepamehta.core.model.AssociationTypeModel model)

deleteAssociationType

public de.deepamehta.core.service.Directives deleteAssociationType(String uri)

createRoleType

public de.deepamehta.core.Topic createRoleType(de.deepamehta.core.model.TopicModel model)

getPluginInfo

public List<de.deepamehta.core.service.PluginInfo> getPluginInfo()

getTopicRelatedTopics

public de.deepamehta.core.service.ResultList<de.deepamehta.core.RelatedTopic> getTopicRelatedTopics(long topicId,
                                                                                                    String assocTypeUri,
                                                                                                    String myRoleTypeUri,
                                                                                                    String othersRoleTypeUri,
                                                                                                    String othersTopicTypeUri,
                                                                                                    int maxResultSize)

getTopicRelatedAssociations

public de.deepamehta.core.service.ResultList<de.deepamehta.core.RelatedAssociation> getTopicRelatedAssociations(long topicId,
                                                                                                                String assocTypeUri,
                                                                                                                String myRoleTypeUri,
                                                                                                                String othersRoleTypeUri,
                                                                                                                String othersAssocTypeUri)

getAssociationRelatedTopics

public de.deepamehta.core.service.ResultList<de.deepamehta.core.RelatedTopic> getAssociationRelatedTopics(long assocId,
                                                                                                          String assocTypeUri,
                                                                                                          String myRoleTypeUri,
                                                                                                          String othersRoleTypeUri,
                                                                                                          String othersTopicTypeUri,
                                                                                                          int maxResultSize)

getAssociationRelatedAssociations

public de.deepamehta.core.service.ResultList<de.deepamehta.core.RelatedAssociation> getAssociationRelatedAssociations(long assocId,
                                                                                                                      String assocTypeUri,
                                                                                                                      String myRoleTypeUri,
                                                                                                                      String othersRoleTypeUri,
                                                                                                                      String othersAssocTypeUri)


Copyright © 2015. All rights reserved.