Function Name: getDataDefCriteriaXml
Class: com.newgen.dmsapi.DMSInputXml
Description: This
function is used to generate Data Definition field criteria for Search.
Prototype:
public String getDataDefCriteriaXml |
( |
|
|
|
String dataDefIndex, |
|
|
String indexId, |
|
|
String op, |
|
|
String indexValue, |
|
|
String joinCondition |
|
) |
|
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 |
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>