binder_copyBinder

Creates a new binder identical to an existing one.

Syntax

public long binder_copyBinder( String accessToken, long sourceId, long destinationId, boolean cascade);

Description

The binder_copyBinder operation copies an existing workspace or folder, and creates a new one.

Vibe automatically copies all non-binder content (entries and comments). As an option, you can replicate the source binder’s sub-binders (sub-workspaces or sub-folders).

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.

sourceId

The identifier of the binder you want to copy.

destinationId

The binder identifier of the parent for the new workspace or folder.

cascade

A Boolean value indicating whether you want to copy the source binder’s sub-binders (sub-workspaces and sub-folders).

return_value

The identifier of the new binder.

See Also