getCompDescMap

This method is used to find all details about all specified definitions.

The Input Parameters are:
  • String username
  • String locale
  • String Infodom
  • Map<String, String> descMap
  • Boolean allData
Return is:
  • Map<String, String>

Passed to the method in Map<String, String>, where key is the definition unique code. The value is a JSON object with defnDesc property with the value same as code. The same JSON has to be replaced with another JSON object containing defnDesc, defnSubType, defnRef1Name, defnRef1Value, defnRef2Name, defnRef2Value, defnRef3Name, defnRef3Value, defnRef4Name, defnRef4Value, defnOptParamName properties. The values populated for these properties as follows:

Table 4-1 Property Name and their description

Property Name Description
defnDesc

Populated with <name> for the <code> of the definition, if <name> exists.

If <name> does not exist, then populated with <code>:SD.

If definition does not exist, then populated with <code>:NA.

defnSubType Sub-Type of the definition

defnRef1Name

defnRef1Value

defnRef2Name

defnRef2Value

defnRef3Name

defnRef3Value

defnRef4Name

defnRef4Value

Any references which can be used to Identify the definition uniquely. There are four of them. So can be put as name and value pairs.
defnOptParamName If any optional parameter exits and has to be taken as input from user, then only the name can be provided by this property.

There is another input called allData, which is a flag. If it is false then only defnDesc has to be passed and when true all the data has to be passed.

After putting the corresponding JSON Object to its <code> the same map is returned back.