getDataDefCriteriaXml

 

Function Name: getDataDefCriteriaXml

 

Class: com.newgen.dmsapi.DMSInputXml

 

Description: This function is used to generate Data Definition field criteria for Search.

 

Input Parameters

Output Parameters

 

Prototype:

 

public String getDataDefCriteriaXml

(

 

 

 

String dataDefIndex,

 

 

String indexId,

 

 

String op,

 

 

String indexValue,

 

 

String joinCondition

 

)

 

 

Input Parameters:

Name

Description

Valid Values

Default Behaviour

dataDefIndex

Index of the Data Definition.

Integer > 0

 

indexId

Field Index.

Integer > 0

 

op

Operator.

=, >, <, <=, >=, <>

 

indexValue

Value of the given field Index.

Depends upon the type of field type.

Blank

joinCondition

Join condition with next field conditions.

AND, OR,Blank

Blank

 

Output Parameters

Xml containing Data Definition field criteria details.

<DataDefCriteria>

<DataDefIndex>12</DataDefIndex>

<IndexId>41</IndexId>

<Operator>=</Operator>

<IndexValue>B</IndexValue>

<JoinCondition>AND</JoinCondition>

<IndexId>42</IndexId>

<Operator><=</Operator>

<IndexValue>12</IndexValue>

<JoinCondition> </JoinCondition>

</DataDefCriteria>