This
functionality marks document(s) for deletion in SMS Server. There are two different methods –
one for a
marking a single document and other for a lList of documents.
Usage in Visual
C++/Visual Basic Application
Usage in Visual C++/Visual Basic
Application
Prototype
int WINAPI NGISDeleteDoc ( LPTSTR
cabinetName, LPISINDEX isIndex)
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 |
|
Input
Parameter |
Output Parameters
This method returns an integer,
which will be 1 in case of success else an error code will be returned.
Prototype
int WINAPI
NGISDeleteDocumentList ( LPTSTR cabinetName, int noOfDocs, LPISINDEX
isIndex )
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 |
noOfDocs |
Number of
documents to be marked for deletion. |
int >
0 |
Input
parameter |
isIndex |
A pointer
to a |
|
Input
Parameter |
Output Parameters
This method returns an integer,
which will be 1 in case of success else an error code will be returned.
Prototype
int WINAPI NGISDeleteDoc_MT ( SOCKET * phSock, LPTSTR siteAddress, short
portId,
LPTSTR
cabinetName, LPISINDEX isIndex
)
Input Parameters description
Name |
Description |
Valid Values |
Type Of Parameter |
phSock |
A pointer
to a variable of type SOCKET , which encapsulates a handle to a socket object
to the JTS . |
A valid
socket connection to JTS |
Input
Parameter |
siteAddress |
IP |
IP
address where JTS running |
Input
Parameter |
portId |
Port on
which JTS Server is running. |
short>0 |
Input
Parameter |
cabinetName |
Name of
the Image Cabinet to |
Not Null |
Input
Parameter |
isIndex |
A pointer
to a variable of type ISINDEX .The structure ISINDEX contains |
|
Input
Parameter |
Output Parameters
This
method return 1 if the call is successful otherwise it returns an error code.
Usage in Java Application
Prototype
public int JPISDeleteDoc( String
cabinetName, JPISIsIndex iSIndex )
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 |
|
Input
Parameter |
Output Parameters
This method returns an integer
that will be 1 in case of success else an error code will be returned.
Prototype
public int JPISDeleteDocumentList (String cabinetName, int noOfDocs, Vector
isIndexList)
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 |
noOfDocs |
Number of
documents to be marked for deletion. |
int >
0 |
Input
parameter |
isIndexList |
Vector of
|
|
Input
parameter |
Output Parameters
This method returns an integer
that will be 1 in case of success else an error code will be returned.
Prototype
public int JPISDeleteDoc_MT ( JtsConnection jtsCon,String jtsAddress,short
jtsPortId,
String cabinetName, JPISIsIndex isIndex
)
Input Parameters description
Name |
Description |
Valid Values |
Type Of Parameter |
jtsCon |
This
object holds a connection to the JTS. However, it can be sent as null, as a new socket
connection to jts using second two parameters (jtsAddress and portId) is created
inside the function when the parameter is sent as null. |
Object of
class JtsConnection having a connection to JTS. |
Input
Parameter |
jtsAddress |
IP |
IP |
Input
Parameter |
jtsPortId |
Port on
which JTS is running. |
short>0 |
Input
Parameter |
cabinetName |
Name of
the Image Cabinet to which the User wants to connect. |
Not null |
Input
Parameter |
isIndex |
An |
|
Input
Parameter |
Output Parameters
This method returns an integer,
which will be 1 in case of success else an error code will be returned.