Move Document

 

Function Name: getMoveDocumentExt

 

Class: com.newgen.dmsapi.DMSInputXml

 

Description: This function is meant for moving the document from one Folder to another. The document can also be moved to the Trash Folder.

 

 

Input Parameters

Sample InputXML

Output Parameters

Sample OutputXML

View xml API::NGOMoveDocumentExt

 

 

Prototype:

public String getMoveDocumentExt( String cabinetName, String userDBId,

 String documentList, String destFolderIndex,

 String nameLength, String creationDateTime,

 String deleteReferenceAlsoFlag, String duplicateName)

 

OverLoaded Functions:

public String getMoveDocumentExt( String cabinetName, String userDBId,

 String documentList, String destFolderIndex,

 String nameLength, String creationDateTime,

 String deleteReferenceAlsoFlag)

 

Input Parameters:

Name

Description

Valid Values

Default Behaviour

cabinetName

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

The name of the Cabinet.

N/A

userDBId

UserDatabse ID, which is returned in the NGOConnectCabinet call.

 

N/A

documentList

Contains information about the document that is to be moved from a Folder. This List can be generated using the function,

getMoveDocumentIndexList.

 

N/A

destFolderIndex

Folder Index of the destination Folder to which the documents have to be moved.

Integer >=0

N/A

nameLength

Maximum length of the Names of the documents that are to be moved.

Integer >=0

N/A

currentDateTime

The Date and Time at which the documents are being moved.

Valid Date in the format- yyyy-mm-dd hh:mm:ss

The current Date and Time.

DeleteReference

AlsoFlag

Whether the References of the documents being moved are to be deleted are not.

‘Y’ – Yes

‘N’ – No

‘N’

DuplicateName

This flag indicates whether a new name is to be generated for the given document.

‘Y’ – Yes

‘N’ – No.

‘Y‘ or ‘N’

 

‘Y’

 

Output Parameters:

Input Xml of call NGOMoveDocumentExt.