Package systems.dmx.webservice
Class WebservicePlugin
- java.lang.Object
-
- systems.dmx.core.osgi.PluginActivator
-
- systems.dmx.webservice.WebservicePlugin
-
- All Implemented Interfaces:
org.osgi.framework.BundleActivator,systems.dmx.core.osgi.PluginContext
public class WebservicePlugin extends systems.dmx.core.osgi.PluginActivatorREST API forCoreService.
-
-
Constructor Summary
Constructors Constructor Description WebservicePlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description systems.dmx.core.service.DirectivesResponsecreateAssoc(systems.dmx.core.model.AssocModel model)systems.dmx.core.AssocTypecreateAssocType(systems.dmx.core.model.AssocTypeModel model)systems.dmx.core.RoleTypecreateRoleType(systems.dmx.core.model.RoleTypeModel model)systems.dmx.core.service.DirectivesResponsecreateTopic(systems.dmx.core.model.TopicModel model)systems.dmx.core.TopicTypecreateTopicType(systems.dmx.core.model.TopicTypeModel model)systems.dmx.core.service.DirectivesResponsedeleteAssoc(long assocId)systems.dmx.core.service.DirectivesResponsedeleteAssocs(systems.dmx.core.util.IdList assocIds)systems.dmx.core.service.DirectivesResponsedeleteAssocType(String uri)systems.dmx.core.service.DirectivesResponsedeleteMulti(systems.dmx.core.util.IdList topicIds, systems.dmx.core.util.IdList assocIds)systems.dmx.core.service.DirectivesResponsedeleteTopic(long topicId)systems.dmx.core.service.DirectivesResponsedeleteTopics(systems.dmx.core.util.IdList topicIds)systems.dmx.core.service.DirectivesResponsedeleteTopicType(String uri)List<systems.dmx.core.AssocType>getAllAssocTypes()List<systems.dmx.core.RoleType>getAllRoleTypes()List<systems.dmx.core.TopicType>getAllTopicTypes()systems.dmx.core.AssocgetAssoc(long assocId)systems.dmx.core.AssocgetAssocBetweenTopicAndTopic(String assocTypeUri, long topic1Id, long topic2Id, String roleTypeUri1, String roleTypeUri2)systems.dmx.core.AssocgetAssocByValue(String typeUri, systems.dmx.core.model.SimpleValue value)List<systems.dmx.core.RelatedAssoc>getAssocRelatedAssocs(long assocId, String assocTypeUri, String myRoleTypeUri, String othersRoleTypeUri, String othersAssocTypeUri)List<systems.dmx.core.RelatedTopic>getAssocRelatedTopics(long assocId, String assocTypeUri, String myRoleTypeUri, String othersRoleTypeUri, String othersTopicTypeUri)List<systems.dmx.core.Assoc>getAssocs(long topic1Id, long topic2Id)List<systems.dmx.core.Assoc>getAssocs(long topic1Id, long topic2Id, String assocTypeUri)systems.dmx.core.AssocTypegetAssocType(String uri)systems.dmx.core.AssocTypegetAssocTypeImplicitly(long assocId)List<systems.dmx.core.service.PluginInfo>getPluginInfo()List<systems.dmx.core.RelatedTopic>getRelatedTopicsWithoutChilds(long objectId)systems.dmx.core.RoleTypegetRoleTypeImplicitly(long assocId, String roleTypeUri)systems.dmx.core.TopicgetTopic(long topicId)systems.dmx.core.TopicgetTopicByUri(String uri)systems.dmx.core.TopicgetTopicByValue(String typeUri, systems.dmx.core.model.SimpleValue value)List<systems.dmx.core.RelatedAssoc>getTopicRelatedAssocs(long topicId, String assocTypeUri, String myRoleTypeUri, String othersRoleTypeUri, String othersAssocTypeUri)List<systems.dmx.core.RelatedTopic>getTopicRelatedTopics(long topicId, String assocTypeUri, String myRoleTypeUri, String othersRoleTypeUri, String othersTopicTypeUri)List<systems.dmx.core.Topic>getTopicsByType(String topicTypeUri)List<systems.dmx.core.Topic>getTopicsByValue(String typeUri, systems.dmx.core.model.SimpleValue value)systems.dmx.core.TopicTypegetTopicType(String uri)systems.dmx.core.TopicTypegetTopicTypeImplicitly(long topicId)systems.dmx.core.JSONEnabledgetWebSocketsConfig()systems.dmx.core.service.QueryResultquery(String topicQuery, String topicTypeUri, boolean searchTopicChildren, String assocQuery, String assocTypeUri, boolean searchAssocChildren)List<systems.dmx.core.Assoc>queryAssocs(String typeUri, String query)List<systems.dmx.core.Topic>queryTopics(String typeUri, String query)systems.dmx.core.service.TopicResultqueryTopicsFulltext(String query, String topicTypeUri, boolean searchChildTopics)systems.dmx.core.service.DirectivesResponseupdateAssoc(long assocId, systems.dmx.core.model.AssocModel model)systems.dmx.core.service.DirectivesResponseupdateAssocType(systems.dmx.core.model.AssocTypeModel model)systems.dmx.core.service.DirectivesResponseupdateTopic(long topicId, systems.dmx.core.model.TopicModel model)systems.dmx.core.service.DirectivesResponseupdateTopicType(systems.dmx.core.model.TopicTypeModel model)
-
-
-
Method Detail
-
getTopic
public systems.dmx.core.Topic getTopic(long topicId)
-
getTopicByUri
public systems.dmx.core.Topic getTopicByUri(String uri)
-
getTopicByValue
public systems.dmx.core.Topic getTopicByValue(String typeUri, systems.dmx.core.model.SimpleValue value)
-
getTopicsByValue
public List<systems.dmx.core.Topic> getTopicsByValue(String typeUri, systems.dmx.core.model.SimpleValue value)
-
queryTopicsFulltext
public systems.dmx.core.service.TopicResult queryTopicsFulltext(String query, String topicTypeUri, boolean searchChildTopics)
-
createTopic
public systems.dmx.core.service.DirectivesResponse createTopic(systems.dmx.core.model.TopicModel model)
-
updateTopic
public systems.dmx.core.service.DirectivesResponse updateTopic(long topicId, systems.dmx.core.model.TopicModel model)
-
deleteTopic
public systems.dmx.core.service.DirectivesResponse deleteTopic(long topicId)
-
getAssoc
public systems.dmx.core.Assoc getAssoc(long assocId)
-
getAssocByValue
public systems.dmx.core.Assoc getAssocByValue(String typeUri, systems.dmx.core.model.SimpleValue value)
-
getAssocBetweenTopicAndTopic
public systems.dmx.core.Assoc getAssocBetweenTopicAndTopic(String assocTypeUri, long topic1Id, long topic2Id, String roleTypeUri1, String roleTypeUri2)
-
getAssocs
public List<systems.dmx.core.Assoc> getAssocs(long topic1Id, long topic2Id)
-
getAssocs
public List<systems.dmx.core.Assoc> getAssocs(long topic1Id, long topic2Id, String assocTypeUri)
-
createAssoc
public systems.dmx.core.service.DirectivesResponse createAssoc(systems.dmx.core.model.AssocModel model)
-
updateAssoc
public systems.dmx.core.service.DirectivesResponse updateAssoc(long assocId, systems.dmx.core.model.AssocModel model)
-
deleteAssoc
public systems.dmx.core.service.DirectivesResponse deleteAssoc(long assocId)
-
getTopicType
public systems.dmx.core.TopicType getTopicType(String uri)
-
getTopicTypeImplicitly
public systems.dmx.core.TopicType getTopicTypeImplicitly(long topicId)
-
getAllTopicTypes
public List<systems.dmx.core.TopicType> getAllTopicTypes()
-
createTopicType
public systems.dmx.core.TopicType createTopicType(systems.dmx.core.model.TopicTypeModel model)
-
updateTopicType
public systems.dmx.core.service.DirectivesResponse updateTopicType(systems.dmx.core.model.TopicTypeModel model)
-
deleteTopicType
public systems.dmx.core.service.DirectivesResponse deleteTopicType(String uri)
-
getAssocType
public systems.dmx.core.AssocType getAssocType(String uri)
-
getAssocTypeImplicitly
public systems.dmx.core.AssocType getAssocTypeImplicitly(long assocId)
-
getAllAssocTypes
public List<systems.dmx.core.AssocType> getAllAssocTypes()
-
createAssocType
public systems.dmx.core.AssocType createAssocType(systems.dmx.core.model.AssocTypeModel model)
-
updateAssocType
public systems.dmx.core.service.DirectivesResponse updateAssocType(systems.dmx.core.model.AssocTypeModel model)
-
deleteAssocType
public systems.dmx.core.service.DirectivesResponse deleteAssocType(String uri)
-
getRoleTypeImplicitly
public systems.dmx.core.RoleType getRoleTypeImplicitly(long assocId, String roleTypeUri)
-
getAllRoleTypes
public List<systems.dmx.core.RoleType> getAllRoleTypes()
-
createRoleType
public systems.dmx.core.RoleType createRoleType(systems.dmx.core.model.RoleTypeModel model)
-
getPluginInfo
public List<systems.dmx.core.service.PluginInfo> getPluginInfo()
-
getTopicRelatedTopics
public List<systems.dmx.core.RelatedTopic> getTopicRelatedTopics(long topicId, String assocTypeUri, String myRoleTypeUri, String othersRoleTypeUri, String othersTopicTypeUri)
-
getTopicRelatedAssocs
public List<systems.dmx.core.RelatedAssoc> getTopicRelatedAssocs(long topicId, String assocTypeUri, String myRoleTypeUri, String othersRoleTypeUri, String othersAssocTypeUri)
-
getAssocRelatedTopics
public List<systems.dmx.core.RelatedTopic> getAssocRelatedTopics(long assocId, String assocTypeUri, String myRoleTypeUri, String othersRoleTypeUri, String othersTopicTypeUri)
-
getAssocRelatedAssocs
public List<systems.dmx.core.RelatedAssoc> getAssocRelatedAssocs(long assocId, String assocTypeUri, String myRoleTypeUri, String othersRoleTypeUri, String othersAssocTypeUri)
-
query
public systems.dmx.core.service.QueryResult query(String topicQuery, String topicTypeUri, boolean searchTopicChildren, String assocQuery, String assocTypeUri, boolean searchAssocChildren)
-
getRelatedTopicsWithoutChilds
public List<systems.dmx.core.RelatedTopic> getRelatedTopicsWithoutChilds(long objectId)
-
deleteTopics
public systems.dmx.core.service.DirectivesResponse deleteTopics(systems.dmx.core.util.IdList topicIds)
-
deleteAssocs
public systems.dmx.core.service.DirectivesResponse deleteAssocs(systems.dmx.core.util.IdList assocIds)
-
deleteMulti
public systems.dmx.core.service.DirectivesResponse deleteMulti(systems.dmx.core.util.IdList topicIds, systems.dmx.core.util.IdList assocIds)
-
getWebSocketsConfig
public systems.dmx.core.JSONEnabled getWebSocketsConfig()
-
-