migration_addReplyWithXML

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

Syntax

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

Description

The migration_addReplyWithXML operation adds a comment to an entry or to another comment, allowing you to preserve data from the reply as it last appeared in the SiteScape Forum installation.

If you prefer to add the comment by using a Java object, use the migration_addReply 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.

binderId

The identifier of the folder that contains the entry to which you want to add the comment.

parentId

The identifier of the entry or comment that is to be the parent of the newly created comment.

definitionId

A string containing the definition identifier for the comment you want to create.

inputDataAsXML

An XML string whose elements are used to create the new comment.

creator

A string containing the username of the person who created the reply in the Forum installation.

creationDate

A Calendar Java object containing the date that the reply was created in the Forum installation.

modifier

A string containing the username of the person who last modified the reply in the Forum installation.

modificationDate

A Calendar Java object that contains the date that the reply was last modified in the Forum installation.

return_value

The identifier of the newly created comment.

See Also