public interface TopicmapsService
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_TOPICMAP_NAME |
static String |
DEFAULT_TOPICMAP_RENDERER |
Modifier and Type | Method and Description |
---|---|
void |
addAssociationToTopicmap(long topicmapId,
long assocId)
Adds an association to a topicmap.
|
void |
addTopicToTopicmap(long topicmapId,
long topicId,
int x,
int y,
boolean visibility)
Convenience method to add a topic with the standard view properties.
|
void |
addTopicToTopicmap(long topicmapId,
long topicId,
ViewProperties viewProps)
Adds a topic to a topicmap.
|
Topic |
createTopicmap(String name,
String topicmapRendererUri,
boolean isPrivate) |
TopicmapViewmodel |
getTopicmap(long topicmapId,
boolean includeChilds) |
boolean |
isAssociationInTopicmap(long topicmapId,
long assocId) |
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,
ViewProperties viewProps) |
void |
unregisterViewmodelCustomizer(ViewmodelCustomizer customizer) |
static final String DEFAULT_TOPICMAP_NAME
static final String DEFAULT_TOPICMAP_RENDERER
Topic createTopicmap(String name, String topicmapRendererUri, boolean isPrivate)
TopicmapViewmodel getTopicmap(long topicmapId, boolean includeChilds)
includeChilds
- if true the topics contained in the topicmap will include their child topics.boolean isTopicInTopicmap(long topicmapId, long topicId)
boolean isAssociationInTopicmap(long topicmapId, long assocId)
void addTopicToTopicmap(long topicmapId, long topicId, ViewProperties viewProps)
void addTopicToTopicmap(long topicmapId, long topicId, int x, int y, boolean visibility)
void addAssociationToTopicmap(long topicmapId, long assocId)
void setViewProperties(long topicmapId, long topicId, ViewProperties viewProps)
void setTopicPosition(long topicmapId, long topicId, int x, int y)
void setTopicVisibility(long topicmapId, long topicId, boolean visibility)
void removeAssociationFromTopicmap(long topicmapId, long assocId)
void setClusterPosition(long topicmapId, ClusterCoords coords)
void setTopicmapTranslation(long topicmapId, int trans_x, int trans_y)
void registerTopicmapRenderer(TopicmapRenderer renderer)
void registerViewmodelCustomizer(ViewmodelCustomizer customizer)
void unregisterViewmodelCustomizer(ViewmodelCustomizer customizer)
Copyright © 2017. All Rights Reserved.