Controls function
#
setValueThe id function takes the resourceId,fieldId,value to be inserted as input and inserts the value into the respective fieldId.
Syntax:
new NameSpace("control").setValue(
Number
resourceId,Number
fieldId,String
value);
Returns: Void
Example:
response = new NameSpace("control").setValue(3, 567, "test");
#
setValuesThe id function takes the List of Map as input and inserts the value into the respective fieldId.
Syntax:
new NameSpace("control").setValue(
list
setValue);
Returns: Void
Example:
response = new NameSpace("control").setValues(setValue);
#
autoThe auto function takes the resourceId and fieldId as input and works on the function.
Syntax:
new NameSpace("control").auto(
Number
resourceId,Number
fieldID);;
Returns: Void
Example:
resourceId = "<some resource Id>";fieldId = "<some field Id>";new NameSpace("control").auto(resourceId, fieldId);
#
emergencyautoThe emergencyauto function takes the resourceId and fieldId as input and works on the function.
Syntax:
new NameSpace("control").emergencyauto(
Number
resourceId,Number
fieldId);
Returns: Void
Example:
resourceId = "<some resource Id>";fieldId = "<some field Id>";new NameSpace("control").emergencyauto(resourceId, fieldId);
#
overrideThe override function takes the resourceId,fieldId,action to be overrided as input and executes the action into the respective fieldId.
Syntax:
new NameSpace("control").override(
Number
resourceId,Number
fieldId,String
value);
Returns: Void
Example:
resourceId = "<some resource Id>";fieldId = "<some field Id>";value = "<some value>";new NameSpace("control").override(resourceId, fieldId, value);
#
emergencyoverrideThe emergencyoverride function takes the resourceId,fieldId,action to be overrided as input and executes the action into the respective fieldId.
Syntax:
new NameSpace("control").emergencyoverride(
Number
resourceId,Number
fieldId,String
value);
Returns: Void
Example:
resourceId = "<some resource Id>";fieldId = "<some field Id>";value = "<some value>";new NameSpace("control").override(resourceId, fieldId, value);