Function Name: GetDocInFile_MT
Class: ISPack. CPISDocumentTxn
Description: This function retrieves a Document from Image Server in the Specified File.
Prototype:
public static void GetDocInFile_MT |
( |
|
|
|
JtsConnection jtsCon, |
|
|
String jtsAddress, |
|
|
short portId, |
|
|
String cabinetName, |
|
|
short siteId, |
|
|
short volumeId, |
|
|
int docIndex, |
|
|
String userIndex, |
|
|
OutputStream buf, |
|
|
JPDBString oSiteName |
|
) |
|
throws JPISException |
|
|
Name |
Description |
Valid Values |
Default Behavior |
JtsCon |
This Object holds a connection to the JTS. However, it can be sent as Null. If it is set to Null, then a new socket connection to JTS will be created by Image Server Client using jtsAddress and portId, passed as a parameter to the function. |
|
N/A |
JtsAddress |
IP Address on which JTS Server is running. |
|
N/A |
PortId |
Port on which JTS is running. |
short>0 |
N/A |
cabinetName |
Image Server Cabinet Name. |
|
N/A |
SiteId |
Index of the Site where SMS is running. |
|
N/A |
VolumeId |
ImageVolumed id at which document is added into the ImageServer. |
short>0 |
N/A |
DocIndex |
Index of the document in image Server. |
short>0 |
N/A |
UserIndex |
This parameter is reserved and it can be used with the default value. |
|
|
PageNumber |
Page Number that is to be fetched from Image Server. |
|
|
Buf |
This is the output parameter buffer in which Page Data is returned. |
|
|
OSiteName |
Name of the Site where the document is stored. |
|
|
Function Name: GetDocInFile_MT
Class: ISPack. CPISDocumentTxn
Description: This function retrieves a document from Image Server in the Specified File Prototype.
Prototype:
public static void GetDocInFile_MT |
( |
|
|
|
JtsConnection jtsCon, |
|
|
String jtsAddress, |
|
|
short portId, |
|
|
String cabinetName, |
|
|
short siteId, |
|
|
short volumeId, |
|
|
int docIndex, |
|
|
String userIndex, |
|
|
String docFileName, |
|
|
JPDBString oSiteName |
|
) |
|
throws JPISException |
|
|
Name |
Description |
Valid Values |
Default Behavior |
JtsCon |
This Object holds a connection to the JTS. However, it can be sent as Null. If it is set to Null, then a new socket connection to JTS will be created by Image Server Client using jtsAddress and portId, passed as a parameter to the function. |
|
N/A |
JtsAddress |
IP Address on which JTS Server is running. |
|
N/A |
PortId |
The Port on which JTS is running. |
short>0 |
N/A |
cabinetName |
Image Server Cabinet Name. |
|
N/A |
SiteId |
Index of Site where SMS is running. |
|
|
VolumeId |
ImageVolumed id at which document is added into the ImageServer. |
short>0 |
|
DocIndex |
Index of the document in the Image Server. |
short>0 |
|
UserIndex |
This parameter is reserved and it can be used with the default value. |
|
|
docFileName |
Full path of the Resource from where the complete data for Upload can be procured. |
|
|
OsiteName |
This parameter is reserved and it can be used with the default value. |
|
|