appendGlobalIndexProperty

 

Function Name: appendGlobalIndexProperty

 

Class: com.newgen.dmsapi.DMSInputXml

 

Description: This function generates Global Index List tag.

 

Input Parameters

Output Parameters

 

Prototype:

 

public String appendGlobalIndexProperty

(

 

 

 

String indexId,

 

 

String indexName,

 

 

String indexType,

 

 

String indexLength,

 

 

String indexFlag

 

)

 

 

 

Input Parameters:

Name

Description

Valid Values

Default Behaviour

indexId

Index of the data field.

Integer > 0

 

indexName

Name of the data field.

Any String (Valid)

 

indexType

Type of the data field.

 

I – Integer Type

T – Text Type

S – String Type

L – Long Type

D – Date Type

B – Boolean Type

F – Float Type

X – Document Index

 

indexLength

Size of the field.

Depends upon index type.

Blank

indexFlag

Global Indexes for that particular scope ( ‘G’ Global or ‘D’ Data type).

G’ Global,

D’ Data type,

*(all).

*(all).

 

Output Parameters:

Xml containing List for Global Index.

<Field>

<IndexId>1</IndexId>

<IndexName>Name</IndexName>

<IndexType>S</IndexType>

<IndexFlag>G</IndexFlag>

<IndexLength>100</IndexLength>

<IndexValue>nidhi</IndexValue>

</Field>

 

Function Name: appendGlobalIndexProperty

 

Class: com.newgen.dmsapi.DMSInputXml

 

Description: This function generates Global Index List tag.

 

Input Parameters

Output Parameters

 

Prototype:

 

public String appendGlobalIndexProperty

(

 

 

 

String indexId,

 

 

String indexName,

 

 

String indexType,

 

 

String indexLength,

 

 

String indexValue,

 

 

String indexFlag

 

)

 

 

 

Input Parameters:

Name

Description

Valid Values

Default Behaviour

indexId

Index of the data field.

Integer > 0

 

indexName

Name of the data field.

Any String (Valid)

 

indexType

Type of the data field.

 

I – Integer Type

T – Text Type

S – String Type

L – Long Type

D – Date Type

B – Boolean Type

F – Float Type

X – Document Index

 

indexLength

Size of the field.

Depends upon index type.

Blank

indexValue

Value of the given field Index.

Depends upon the type of field type.

Blank

indexFlag

Global Indexes for that particular scope (i.e., ‘G’ Global or ‘D’ Data type).

G’ Global,

D’ Data type,

*(all).

*(all).

 

Output Parameters:

Xml containing List for Global Index.

<Field>

<IndexId>1</IndexId>

<IndexName>Name</IndexName>

<IndexType>S</IndexType>

<IndexFlag>G</IndexFlag>

<IndexLength>100</IndexLength>

<IndexValue>nidhi</IndexValue>

</Field>