Ifd:addConcepts

From dev.ifd-library.org

Jump to: navigation, search
public IfdConcept [] addConcepts (
                                 IfdConcept [] new_concepts [],
                                 String session_id ) throws IfdServerException

Function to add a new concept to the IFD library. The function takes an array of IfdConcepts. as input and in addition a session identifier.

Image:Input.png Input:
Image:Output.png Returns:
  • IfdConcept [] -An array of the newly created concepts.
Image:Note.png Please note:

The only information needed when creating a new concept is the new_concept.EntityTypeEnum attribute. All other information is ignored. The API will generate the GUID, version number and date. You cannot add names or descriptions on this stage. Use addNamesToConcept to add names. (And similar functions for descriptions and illustrations) The new concept is not a valid concept before you add at least one name in your own language and minimum one name or a description in International English. Concepts without names will be removed from the library after a given time.

Image:Idea.png Improvments for next versions:

Limit the input of the function to only the needed information. In this case the type of object to create.


Comments: See: Talk:Ifd:addConcepts
Back to the API