Ticket #631 (closed Enhancement: fixed)

Opened 7 years ago

Last modified 4 years ago

Core: by-URI deletion references

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

Description

Cardinality Many: in update requests the child topics (Composition) resp. the topic assignments (Aggregation) to be deleted should be specifiable by URI as well. Currently only by ID is supported.

Change History

comment:1 Changed 7 years ago by jri

  • Status changed from new to accepted

comment:2 Changed 6 years ago by jri

  • Milestone changed from Release 4.3 to Release 4.4

comment:3 Changed 5 years ago by Jörg Richter <jri@…>

In 540e56c842c82c1241f9144999fd2c0dd4c6963b/deepamehta:

Core: fix type update/by-URI del refs (#903,#631).

Updating of type defs is refactored.
See also ticket:906#comment:2

New feature: by-URI deletion references (see #631).
To be tested.

Core API:

3 new methods in ChildTopicsModel?:

ChildTopicsModel putDeletionRef(String assocDefUri, long refTopicId)
ChildTopicsModel putDeletionRef(String assocDefUri, String refTopicUri)

ChildTopicsModel addDeletionRef(String assocDefUri, String refTopicUri)

BREAKING CHANGES

Webclient constants:

dm4c.REF_ID_PREFIX  = "ref_id:"     // formerly named REF_PREFIX
dm4c.REF_URI_PREFIX = "ref_uri:"    // new
dm4c.DEL_ID_PREFIX  = "del_id:"     // formerly named DEL_PREFIX
dm4c.DEL_URI_PREFIX = "del_uri:"    // new

See #903.

comment:4 Changed 4 years ago by jri

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