Ticket #653 (closed Enhancement: fixed)

Opened 6 years ago

Last modified 6 years ago

Topicmaps service: retrieve map topics along with their composite value

Reported by: jri Owned by: jri
Priority: Major Milestone: Release 4.3
Component: DeepaMehta Standard Distribution Version: 4.2
Keywords: Cc: dgf, Malte, carolina
Complexity: 3 Area: Application Framework / API
Module: deepamehta-topicmaps

Description

The Topicmaps service should provide the possibility to retrieve a topicmap where the topics include their child topics (the "composite value") as well.

This would be useful in conjunction with the import/export plugin Carolina is working on.

Change History

comment:1 Changed 6 years ago by jri

  • Status changed from new to accepted

comment:2 Changed 6 years ago by Jörg Richter

Refactor topicmaps loading (#653).

Topicmap loading is no longer performed in the TopicmapViewmodel? constructor but by the TopicmapsPlugin? main file. This clearifies dependencies and removes code doubling.

In preparation of #653 ("retrieve map topics along with their composite value")

See #653

comment:3 Changed 6 years ago by Jörg Richter

Load topicmap topics including childs (#653).

BREAKING CHANGE

The Topicmap API's getTopicmap() method has a 2nd parameter: fetchComposite. If true the topics contained in the topicmap will include their child topics.

TopicmapViewmodel getTopicmap(long topicmapId, boolean fetchComposite)
{{{

REST API:
{{{
GET /topicmap/{id}?fetch_composite={true|false}
}}}
The fetch_composite parameter is optional. Default is false.

See #653 
 * Changeset: [/changeset/2a6fb6659526434bc850fd468ec53dfa2a957553 2a6fb6659526434bc850fd468ec53dfa2a957553] 
 * URL: https://github.com/jri/deepamehta/commit/2a6fb6659526434bc850fd468ec53dfa2a957553
}}}

comment:4 Changed 6 years ago by jri

  • Status changed from accepted to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.