Ifd:removeConstrainedValues

From dev.ifd-library.org

Jump to: navigation, search

API version 2

Function public IfdMeasure removeConstrainedValues (
                                     String concept_guid,
                                     String property_guid,
                                     String measure_guid,
                                     String [] value_guids,
                                     String rel_context_guid,
                                     String session_id)
                      throws Ifd:IfdServerException

Function to remove the constrained values from the given property concept pair

Input:

  • string concept_guid The GUID of the concept.
  • string property_guid The GUID of the property.
  • string measure_guid The GUID of the measure.
  • string [] value_guids The GUIDs of the values.
  • string rel_context_guid The GUID of the context.
  • session_id session_id The session identifier of the active user.

Return:

The updated context.

API version 3

Function public IfdMeasure removeConstrainedValues (
                                     String session_id,
                                     String concept_guid,
                                     String property_guid,
                                     String measure_guid,
                                     String [] value_guids,
                                     String rel_context_guid)
                      throws Ifd:IfdServerException

EXPRESS Heading

QUERY FUNCTION removeConstrainedValues(
                     concept_guid,
                     property_guid,
                     measure_guid : STRING;
                     value_guids	: LIST OF STRING;
                     rel_context_guid : STRING ) :  LIST OF IfdMeasureInRelationship;

The function removes constrained values from relationship 'ASSIGNS_PROPERTY_WITH_VALUES' between concept and property.

Input:

  • session_id session_id The session identifier of the active user.
  • string concept_guid - global unique id of the concept assigned to constrained property;
  • string property_guid - (optional) global unique id of the constrained property, if not provided – the values will be removed from all constrained properties of the concept;
  • string - (optional) global unique id of the removed values’ measure, if the parameter is unset the values are removed regardless of their measure;
  • <code>string [] value_guids - list of global unique id(s) of the values to be removed from the relationship;
  • string rel_context_guid - global unique id(s) of the relationship context

Return:

  • IfdMeasure - Rest of constrained values in the concept-property relationship grouped by their measures. Identical to getConstrainedMeasures.

Difference against v.2.00

  • (115) The current version responds 3-4 times quicker then v.2.00
  • (116) In v.2.00 the function the property is mandatory;
  • (117) In v.2.00 the function ignored measure_guid


Back to the API

Comments: