de.deepamehta.plugins.topicmaps.service
Interface TopicmapsService

Show UML class diagram
All Superinterfaces:
PluginService
All Known Implementing Classes:
TopicmapsPlugin

public interface TopicmapsService
extends PluginService


Method Summary
 void addAssociationToTopicmap(long topicmapId, long assocId)
           
 void addTopicToTopicmap(long topicmapId, long topicId, ChildTopicsModel viewProps)
           
 void addTopicToTopicmap(long topicmapId, long topicId, int x, int y, boolean visibility)
          Convenience method to add a topic with the standard view properties.
 Topic createTopicmap(String name, String topicmapRendererUri)
           
 Topic createTopicmap(String name, String uri, String topicmapRendererUri)
           
 TopicmapViewmodel getTopicmap(long topicmapId, boolean includeChilds)
           
 boolean isTopicInTopicmap(long topicmapId, long topicId)
           
 void registerTopicmapRenderer(TopicmapRenderer renderer)
           
 void registerViewmodelCustomizer(ViewmodelCustomizer customizer)
           
 void removeAssociationFromTopicmap(long topicmapId, long assocId)
           
 void setClusterPosition(long topicmapId, ClusterCoords coords)
           
 void setTopicmapTranslation(long topicmapId, int trans_x, int trans_y)
           
 void setTopicPosition(long topicmapId, long topicId, int x, int y)
          Convenience method to update the "dm4.topicmaps.x" and "dm4.topicmaps.y" standard view properties.
 void setTopicVisibility(long topicmapId, long topicId, boolean visibility)
          Convenience method to update the "dm4.topicmaps.visibility" standard view property.
 void setViewProperties(long topicmapId, long topicId, ChildTopicsModel viewProps)
           
 void unregisterViewmodelCustomizer(ViewmodelCustomizer customizer)
           
 

Method Detail

getTopicmap

TopicmapViewmodel getTopicmap(long topicmapId,
                              boolean includeChilds)
Parameters:
includeChilds - if true the topics contained in the topicmap will include their child topics.

createTopicmap

Topic createTopicmap(String name,
                     String topicmapRendererUri)

createTopicmap

Topic createTopicmap(String name,
                     String uri,
                     String topicmapRendererUri)

addTopicToTopicmap

void addTopicToTopicmap(long topicmapId,
                        long topicId,
                        ChildTopicsModel viewProps)

addTopicToTopicmap

void addTopicToTopicmap(long topicmapId,
                        long topicId,
                        int x,
                        int y,
                        boolean visibility)
Convenience method to add a topic with the standard view properties.


addAssociationToTopicmap

void addAssociationToTopicmap(long topicmapId,
                              long assocId)

isTopicInTopicmap

boolean isTopicInTopicmap(long topicmapId,
                          long topicId)

setViewProperties

void setViewProperties(long topicmapId,
                       long topicId,
                       ChildTopicsModel viewProps)

setTopicPosition

void setTopicPosition(long topicmapId,
                      long topicId,
                      int x,
                      int y)
Convenience method to update the "dm4.topicmaps.x" and "dm4.topicmaps.y" standard view properties.


setTopicVisibility

void setTopicVisibility(long topicmapId,
                        long topicId,
                        boolean visibility)
Convenience method to update the "dm4.topicmaps.visibility" standard view property.


removeAssociationFromTopicmap

void removeAssociationFromTopicmap(long topicmapId,
                                   long assocId)

setClusterPosition

void setClusterPosition(long topicmapId,
                        ClusterCoords coords)

setTopicmapTranslation

void setTopicmapTranslation(long topicmapId,
                            int trans_x,
                            int trans_y)

registerTopicmapRenderer

void registerTopicmapRenderer(TopicmapRenderer renderer)

registerViewmodelCustomizer

void registerViewmodelCustomizer(ViewmodelCustomizer customizer)

unregisterViewmodelCustomizer

void unregisterViewmodelCustomizer(ViewmodelCustomizer customizer)


Copyright © 2014. All Rights Reserved.