migration_addBinderWithXML

Accepts XML to add a binder, allowing preservation of SiteScape Forum data.

Syntax

public long migration_addBinderWithXML( String accessToken, long parentId, String definitionId, String inputDataAsXML, String creator, Calendar creationDate, String modifier, Calendar modificationDate );

Description

The migration_addBinderWithXML operation adds either a workspace or folder to the hierarchy, allowing you to specify SiteScape Forum data (such as the person who created the workspace or folder in Forum, the Forum creation date, the user who last modified the workspace or folder in Forum, and the date of the last modification in Forum).

If you prefer to use a Java object to specify data, use the migration_addBinder operation.

Parameters and Return Value

accessToken

Either the security token passed to your application by Vibe as part of implementing a remote application, or the null value.

parentId

The identifier of the workspace or folder that is to contain the new binder.

definitionID

A string that identifies the definition used to create the new binder.

inputDataAsXML

An XML string that provides the data needed to construct the workspace or folder.

creator

A string containing the username of the person who created the workspace or folder in Forum.

creationDate

A Calendar Java object that contains the creation date of the workspace or folder in Forum.

modifier

A string containing the username of the person who last modified the workspace or folder in Forum.

modificationDate

A Calendar Java object that contains the modification date of the workspace or folder in Forum.

return_value

The identifier of the newly created binder.

See Also