de.deepamehta.plugins.webservice
Class WebservicePlugin

Show UML class diagram
java.lang.Object
  extended by de.deepamehta.core.osgi.PluginActivator
      extended by de.deepamehta.plugins.webservice.WebservicePlugin
All Implemented Interfaces:
PluginContext, BundleActivator

public class WebservicePlugin
extends PluginActivator


Field Summary
private  Logger logger
           
 
Fields inherited from class de.deepamehta.core.osgi.PluginActivator
bundle, dms
 
Constructor Summary
WebservicePlugin()
           
 
Method Summary
 Association createAssociation(AssociationModel model)
           
 AssociationType createAssociationType(AssociationTypeModel model)
           
 Topic createRoleType(TopicModel model)
           
 Topic createTopic(TopicModel model)
           
 TopicType createTopicType(TopicTypeModel model)
           
 Directives deleteAssociation(long assocId)
           
 Directives deleteAssociationType(String uri)
           
 Directives deleteTopic(long topicId)
           
 Directives deleteTopicType(String uri)
           
 List<TopicType> getAllTopicTypes()
           
 Association getAssociation(long assocId)
           
 Association getAssociation(String assocTypeUri, long topic1Id, long topic2Id, String roleTypeUri1, String roleTypeUri2)
           
 List<AssociationType> getAssociationAllTypes()
           
 ResultList<RelatedAssociation> getAssociationRelatedAssociations(long assocId, String assocTypeUri, String myRoleTypeUri, String othersRoleTypeUri, String othersAssocTypeUri)
           
 ResultList<RelatedTopic> getAssociationRelatedTopics(long assocId, String assocTypeUri, String myRoleTypeUri, String othersRoleTypeUri, String othersTopicTypeUri, int maxResultSize)
           
 List<Association> getAssociations(long topic1Id, long topic2Id)
           
 List<Association> getAssociations(long topic1Id, long topic2Id, String assocTypeUri)
           
 AssociationType getAssociationType(String uri)
           
 List<String> getAssociationTypeUris()
           
 List<PluginInfo> getPluginInfo()
           
private  ResultList<RelatedAssociation> getRelatedAssociations(DeepaMehtaObject object, String objectInfo, String assocTypeUri, String myRoleTypeUri, String othersRoleTypeUri, String othersAssocTypeUri)
           
private  ResultList<RelatedTopic> getRelatedTopics(DeepaMehtaObject object, String objectInfo, String assocTypeUri, String myRoleTypeUri, String othersRoleTypeUri, String othersTopicTypeUri, int maxResultSize)
           
 Topic getTopic(long topicId)
           
 Topic getTopic(String key, SimpleValue value)
           
 ResultList<RelatedAssociation> getTopicRelatedAssociations(long topicId, String assocTypeUri, String myRoleTypeUri, String othersRoleTypeUri, String othersAssocTypeUri)
           
 ResultList<RelatedTopic> getTopicRelatedTopics(long topicId, String assocTypeUri, String myRoleTypeUri, String othersRoleTypeUri, String othersTopicTypeUri, int maxResultSize)
           
 ResultList<RelatedTopic> getTopics(String typeUri, int maxResultSize)
           
 List<Topic> getTopics(String key, SimpleValue value)
           
 TopicType getTopicType(String uri)
           
 List<String> getTopicTypeUris()
           
 List<Topic> searchTopics(String searchTerm, String fieldUri)
           
 Directives updateAssociation(long assocId, AssociationModel model)
           
 Directives updateAssociationType(AssociationTypeModel model)
           
 Directives updateTopic(long topicId, TopicModel model)
           
 Directives updateTopicType(TopicTypeModel model)
           
 
Methods inherited from class de.deepamehta.core.osgi.PluginActivator
getBundleContext, getPluginName, getStaticResource, getUri, init, postInstall, 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
 

Field Detail

logger

private Logger logger
Constructor Detail

WebservicePlugin

public WebservicePlugin()
Method Detail

getTopic

public Topic getTopic(long topicId)

getTopic

public Topic getTopic(String key,
                      SimpleValue value)

getTopics

public List<Topic> getTopics(String key,
                             SimpleValue value)

getTopics

public ResultList<RelatedTopic> getTopics(String typeUri,
                                          int maxResultSize)

searchTopics

public List<Topic> searchTopics(String searchTerm,
                                String fieldUri)

createTopic

public Topic createTopic(TopicModel model)

updateTopic

public Directives updateTopic(long topicId,
                              TopicModel model)

deleteTopic

public Directives deleteTopic(long topicId)

getAssociation

public Association getAssociation(long assocId)

getAssociation

public Association getAssociation(String assocTypeUri,
                                  long topic1Id,
                                  long topic2Id,
                                  String roleTypeUri1,
                                  String roleTypeUri2)

getAssociations

public List<Association> getAssociations(long topic1Id,
                                         long topic2Id)

getAssociations

public List<Association> getAssociations(long topic1Id,
                                         long topic2Id,
                                         String assocTypeUri)

createAssociation

public Association createAssociation(AssociationModel model)

updateAssociation

public Directives updateAssociation(long assocId,
                                    AssociationModel model)

deleteAssociation

public Directives deleteAssociation(long assocId)

getTopicTypeUris

public List<String> getTopicTypeUris()

getTopicType

public TopicType getTopicType(String uri)

getAllTopicTypes

public List<TopicType> getAllTopicTypes()

createTopicType

public TopicType createTopicType(TopicTypeModel model)

updateTopicType

public Directives updateTopicType(TopicTypeModel model)

deleteTopicType

public Directives deleteTopicType(String uri)

getAssociationTypeUris

public List<String> getAssociationTypeUris()

getAssociationType

public AssociationType getAssociationType(String uri)

getAssociationAllTypes

public List<AssociationType> getAssociationAllTypes()

createAssociationType

public AssociationType createAssociationType(AssociationTypeModel model)

updateAssociationType

public Directives updateAssociationType(AssociationTypeModel model)

deleteAssociationType

public Directives deleteAssociationType(String uri)

createRoleType

public Topic createRoleType(TopicModel model)

getPluginInfo

public List<PluginInfo> getPluginInfo()

getTopicRelatedTopics

public ResultList<RelatedTopic> getTopicRelatedTopics(long topicId,
                                                      String assocTypeUri,
                                                      String myRoleTypeUri,
                                                      String othersRoleTypeUri,
                                                      String othersTopicTypeUri,
                                                      int maxResultSize)

getTopicRelatedAssociations

public ResultList<RelatedAssociation> getTopicRelatedAssociations(long topicId,
                                                                  String assocTypeUri,
                                                                  String myRoleTypeUri,
                                                                  String othersRoleTypeUri,
                                                                  String othersAssocTypeUri)

getAssociationRelatedTopics

public ResultList<RelatedTopic> getAssociationRelatedTopics(long assocId,
                                                            String assocTypeUri,
                                                            String myRoleTypeUri,
                                                            String othersRoleTypeUri,
                                                            String othersTopicTypeUri,
                                                            int maxResultSize)

getAssociationRelatedAssociations

public ResultList<RelatedAssociation> getAssociationRelatedAssociations(long assocId,
                                                                        String assocTypeUri,
                                                                        String myRoleTypeUri,
                                                                        String othersRoleTypeUri,
                                                                        String othersAssocTypeUri)

getRelatedTopics

private ResultList<RelatedTopic> getRelatedTopics(DeepaMehtaObject object,
                                                  String objectInfo,
                                                  String assocTypeUri,
                                                  String myRoleTypeUri,
                                                  String othersRoleTypeUri,
                                                  String othersTopicTypeUri,
                                                  int maxResultSize)

getRelatedAssociations

private ResultList<RelatedAssociation> getRelatedAssociations(DeepaMehtaObject object,
                                                              String objectInfo,
                                                              String assocTypeUri,
                                                              String myRoleTypeUri,
                                                              String othersRoleTypeUri,
                                                              String othersAssocTypeUri)


Copyright © 2014. All Rights Reserved.