Ifd:removeNameFromContext

From dev.ifd-library.org

Jump to: navigation, search

API version 2

Function public IfdContext removeNameFromContext (
                                     String context_guid,
                                     IfdName name,
                                     String session_id)
                      throws Ifd:IfdServerException

Function to remove a name from the context.

Input:

  • string concept_guid The global unique identifier for the context.
  • IfdName name The name to be removed.
  • session_id session_id The session identifier of the active user.

Return:

The updated context.

API version 3

Function public IfdContext removeNameFromContext (
                                     String session_id,
                                     String context_guid,
                                     IfdName name)
                      throws Ifd:IfdServerException

EXPRESS Heading

QUERY FUNCTION removeNameFromContext(
                     context_guid : STRING;
                     name : IfdName) : IfdContext;

The function removes specified name from context specifications in target IFD population.

Input:

  • session_id session_id The session identifier of the active user.
  • string concept_guid - global unique id of the target context to remove specified name;

IfdName name - name specification to be removed from the context, it could be specified by one of the following:

  • name.guid - global unique id of the of the name – primary id;
  • name.name and name.language.guid – name and language global unique id

Return:

  • IfdContext - Fully specified in all available languages target context with removed name (attributes description see getConcept).

Difference against v.2.00

  • (129) In v.2.00 the function did not check user rights;
  • (130) In v.2.00 the function did not provide correct exception/transaction handling;
  • (131) In v.2.00 the function did not check if the removed name is used in preference relationship, that could leave IFD population invalid


Back to the API

Comments: