Adapt Core API: remove value from multi-value
Since DMX 5.3 we can have duplicate values in a multi-value (#509 (closed)). For removing a particular value ChildTopicsModel
's addDeletionRef()
method (Core API) needs to be revised.
At the moment the topic to be removed is specified by its ID or URI:
ChildTopicsModel addDeletionRef(String compDefUri, long refTopicId);
ChildTopicsModel addDeletionRef(String compDefUri, String refTopicUri);
With duplicates this is no longer suitable as the topic is not unique. We need to specify an association ID instead, referring the association that connects the topic to the parent.
Subject of this ticket is replacing the 2 methods above with:
ChildTopicsModel addDeletionRef(String compDefUri, long assocId);
@gev FYI