migration_addReply

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

Syntax

public long migration_addReply( String accessToken, long parentEntryId, FolderEntry reply );

Description

The binder_addReply operation adds a comment to an entry or a reply, and allows you to preserve data from the reply as it last appeared in a Forum installation.

If you prefer to add the comment by using XML, use the migrate_addReplyWithXML 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.

parentEntryId

The identifier of the entry or comment that is the parent of the comment you want to create.

reply

A FolderEntry Java object that contains information used to construct the new comment, including data reflecting the reply as it last appeared in the Forum installation.

return_value

The identifier of the newly created comment.

See Also