migration_addFolderEntryWithXML

Accepts XML to add an entry to a folder, allowing preservation of SiteScape Forum data.

Syntax

public long migration_addFolderEntryWithXML( String accessToken, long binderId, String definitionId, String inputDataAsXML, String creator, Calendar creationDate, String modifier, Calendar modificationDate, boolean subscribe );

Description

The migration_addFolderEntry operation adds an entry to a folder, allowing you to preserve data from the entry as it last existed in an installation of SiteScape Forum.

If you prefer to create the entry by using a Java object, use the migrate_addFolderEntry operation.

Parameters and Return Value

accessToken

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

binderId

The identifier of the folder that is to contain the new entry.

definitionId

A string containing the definition identifier for the new entry.

inputDataAsXML

A string containing the XML elements used to construct the new entry.

creator

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

creationDate

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

modifier

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

modificationDate

A Calendar Java object containing the date the entry was last modified in the Forum installation.

subscribe

A boolean value that implements the Forum feature “notify me when someone replies to this entry” by establishing a subscription for the entry owner.

return_value

The identifier of the binder for the newly created entry.

See Also