getGlobIdCriteriaXml

 

Function Name: getGlobIdCriteriaXml

 

Class: com.newgen.dmsapi.DMSInputXml

 

Description: This function is used to generate Global Index criteria.

 

Input Parameters

Output Parameters

 

Prototype:

 

public String getGlobIdCriteriaXml

(

 

 

 

String indexType,

 

 

String indexId,

 

 

String op,

 

 

String indexValue,

 

 

String joinCondition

 

)

 

 

 

Input Parameters:

Name

Description

Valid Values

Default Behavior

indexType

Type of the Global Index.

 ‘I’ – Integer

‘B’- Boolean

‘D’- Date

‘F’-Float

‘L’- Long

‘S’-String

‘T’- Text

‘X’- LinkedDoc

 

 

indexed

Index of the Global Index.

Integer > 0

 

op

Comparison operator for the criteria.

>, <, =, Like, >=, <=,!=

 

indexValue

Value for comparison.

 

 

joinCondition

This tag is used when multiple criterions on GlobalIndex values are to be given. For the last criterion this tag should be empty else it should have a value ‘AND’.

 

 

 

Output Parameters:

Xml containing Global Index criteria.

<GlobalIndexCriteria>

<IndexType>I</IndexType>

<IndexId>13</IndexId>

<IndexCondition>></IndexCondition>

<IndexValue>10</IndexValue>

<JoinCondition> </JoinCondition>

</GlobalIndexCriteria>