Ticket #267 (closed Enhancement: fixed)

Opened 13 years ago

Last modified 13 years ago

Core: by-URI topic references in create/update requests

Reported by: jri Owned by: jri
Priority: Major Milestone: Release 4.1
Component: DeepaMehta Standard Distribution Version: 4.0.11
Keywords: Cc: dgf
Complexity: 3 Area: Application Framework / API
Module: deepamehta-core

Description

Currently only by-ID is supported.

Change History

comment:1 Changed 13 years ago by jri

  • Status changed from new to accepted

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

  • Status changed from accepted to closed
  • Resolution set to fixed

Core: by-URI topic refs in update requests (#267)

... as well as in create requests.

REST interface: to refer to an existing topic besides the ref_id: prefix you can now use the ref_uri: prefix as value in a composite structure.

DM Core Java API: when programmatically constructing a TopicModel? to be used in a create or update call use the CompositeValue?'s new methods:

put_ref(String childTypeUri, long refTopicId)
put_ref(String childTypeUri, String refTopicUri)

Close ticket 267.

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

Core: by-URI topic refs in update requests (#267)

... as well as in create requests.

REST interface: to refer to an existing topic besides the ref_id: prefix you can now use the ref_uri: prefix as value in a composite structure.

DM Core Java API: when programmatically constructing a TopicModel? to be used in a create or update call use the CompositeValue?'s new methods:

put_ref(String childTypeUri, long refTopicId)
put_ref(String childTypeUri, String refTopicUri)

Close ticket 267.

Note: See TracTickets for help on using tickets.