Copy Folder

 

Function Name: getCopyFolderXml

 

Class: com.newgen.dmsapi.DMSInputXml

 

Description: This function is used to create a copy of the folder at some specified location.

 

 

Input Parameters

Sample InputXML

Output Parameters

Sample OutputXML

View xml API:: NGOCopyFolder

 

 

Prototype:

public String getCopyFolderXml(String cabinetName, String userDbId,

String creationDateTime, String copyFolderIndex,

String destFolderIndex, String parentFolderIndex,

String dataAlsoFlag, String nameLength, String duplicateName)

Overloaded Function:

public String getCopyFolderXml(String cabinetName, String userDbId,

String creationDateTime, String copyFolderIndex,

String destFolderIndex, String parentFolderIndex,

String dataAlsoFlag)

 

 

Input Parameters:

Name

Description

Valid Values

Default Behaviour

cabinetName

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

 

N/A

userDbId

UserDatabse ID, which is returned in the ConnectCabinet call.

 

N/A

creationDateTime

Current Date and Time.

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

Current Date and Time

copyFolderIndex

Index of the Folder to be copied.

Integer > 0

N/A

destFolderIndex

Index of the destination Folder where the specified Folder is to be copied.

Integer > 0

N/A

parentFolderIndex

Parent Folder Index of Folder to be copied.

Integer > 0

 

dataAlsoFlag

This parameter tells whether data def list is also required to be copied.

Y/N

N

nameLength

The maximum length of folder name supported by JTS is 255 characters but if the User wishes that the maximum length of copied folder name is lesser than 255 characters then it can be specified in this tag.

Integer < 255

 

 

duplicateName

Whether duplicate name is to be generated for the given folder or not.

Y/N

 

‘Y’

 

Output Parameters:

An inputXmlInputXml string of the NGOCopyFolder call.