Package | Description |
---|---|
com.ads.api.beans.common |
Contains Collection Classes,Java Bean Classes which are specific to Mappings, Assigned Resources of the Project, Documents related to projects.
|
com.ads.api.util |
Contains Utility Classes, Collection Classes, Java Bean Classes which are specific to System, Environment, Table, Column, Mappings, Subject,
KeyValue Pairs etc...
|
Modifier and Type | Method and Description |
---|---|
static APIConstants.OutputFormat |
APIConstants.OutputFormat.getOutputFormat(java.lang.String value) |
static APIConstants.OutputFormat |
APIConstants.OutputFormat.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static APIConstants.OutputFormat[] |
APIConstants.OutputFormat.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
KeyValueUtil.addKeyValueAs(java.lang.String keyValuejson,
APIConstants.OutputFormat outputFormat)
Inserts a single KeyValue pair object for the specified KeyValue
object,objectTypeId and objectId are mandatory.OutputFormat can be either JSON or XML.
|
java.lang.String |
KeyValueUtil.addKeyValueAs(java.lang.String keyValuejson,
Node.NodeType objectType,
int objectId,
APIConstants.OutputFormat outputFormat)
Inserts a single KeyValue pair object for the specified KeyValue object,objectTypeId
and objectId.OutputFormat can be either JSON or XML.
|
java.lang.String |
KeyValueUtil.addKeyValuesAs(java.lang.String keyValuejson,
Node.NodeType objectType,
int objectId,
APIConstants.OutputFormat outputFormat)
Inserts a multiple KeyValue pair objects for the specified List of KeyValue objects,objectTypeId
and objectId.OutputFormat can be either JSON or XML.
|
java.lang.String |
KeyValueUtil.getKeyValueAs(Node.NodeType objectType,
int objectId,
APIConstants.OutputFormat outputFormat)
Returns the List of KeyValue Objects for the specified objectTypeId and objectId.
|
java.lang.String |
KeyValueUtil.getKeyValuesAs(Node.NodeType objectType,
java.util.List<java.lang.Integer> objectIds,
APIConstants.OutputFormat outputFormat)
Returns the Map of KeyValue Objects for the specified objectTypeId and
List of objectIds.
|
java.lang.String |
KeyValueUtil.updateKeyValueAs(java.lang.String keyValuejson,
APIConstants.OutputFormat outputFormat)
Updates the Key Value pair Object for the specified KeyValue object,
Specifying KeyValueId is mandatory.
|
java.lang.String |
KeyValueUtil.updateKeyValuesAs(java.lang.String keyValuejson,
APIConstants.OutputFormat outputFormat)
Updates the List of Key Value pair Objects for the specified List of
KeyValue objects, Specifying KeyValueId is mandatory.
|