Extend Topicmaps API for handling view props
-
Add 2 methods:
ViewProps getTopicViewProps(long topicmapId, long topicId) ViewProps getAssocViewProps(long topicmapId, long assocId)
Needed for "Duplicate", see dmx-projects/zukunftswerk#217
-
Furthermore the add-to-map methods should return a view-object (void at the moment):
ViewTopic addTopicToTopicmap(long topicmapId, long topicId, ...) ViewAssoc addAssocToTopicmap(long topicmapId, long assocId, ...)
Internally these methods create the view-objects already, as needed for messaging. Returning them might save the caller from creating them again, as needed for "Duplicate" in dmx-projects/zukunftswerk#217.
-
Add a convenience getter to
ViewProps
interface:String getString(String propUri);
At the moment there are convenience getters only for
int
andboolean
.