Replicate Document

This functionality replicates a document on a specified sSite. This sSite must be already in the lList of sSites where the vVolume in which the document is present, is to be replicated else it will give an error.

 

Usage in Visual C++/Visual Basic Application

Usage in Java Application

Error

 

Usage in Visual C++/Visual Basic Application

Prototype

int WINAPI NGISReplicateDocument   (  LPTSTR cabinetName, LPISINDEX isIndex,

                                     short replicaSite, LPTSTR siteName

     )

 

Input Parameters description

Name

Description

Valid Values

Type Of Parameter

cabinetName

Name of the Image Cabinet to which the User wants to connect.

Not Null

Input Parameter

isIndex

A pointer to a variable of type ISINDEX .The structure ISINDEX contains information (viz.namely,  iIndex of the vVolume in which document is  added and the iIndex of the document in that vVolume) about the document to be replicated.

 

Input Parameter

replicaSite

Index of the Site where to replicate the document.

short > 0

Input Parameter

siteName

Name of the sSite where document is replicated.

N/A

Output Parameter

 

Output Parameters

This method returns an integer that will be 1 in case of success else an error code will be returned.

 

 

Usage in Java Application

 

Prototype

public int JPISReplicateDoc ( String cabinetName, JPISIsIndex isIndex,

                 short replicaSite, JPDBString siteName

   )

 

Input Parameters description

Name

Description

Valid Values

Type Of Parameter

cabinetName

Name of the Image Cabinet to which the User wants to connect.

Not Null

Input Parameter

IsIndex

An object of type JPISIsIndex, which that contains information (viz.namely,  inIndex of the vVolume in which document  is added and the iIndex of the document in that vVolume) about the document to be replicated.

 

Input Parameter

replicaSite

Index of the Site where to replicate the document.

short > 0

Input Parameter

siteName

Name of the sSite where document is replicated.

N/A

Output Parameter

 

Output Parameters

This method returns an integer that will be 1 in case of success else an error code will be returned.