Class ecm.widget.dialog.MoveFileEnhancedDialog


Extends ecm.widget.dialog.BaseDialog.
Provides a dialog box that is used to move a document or folder from one folder to another folder.
Defined in: <ecm\widget\dialog\MoveFileEnhancedDialog.js>.

Constructor Summary

Constructor Attributes Constructor Name and Description
 

Field Summary

Field Attributes Field Name and Description
 
action 
A string, either "actionMoveFolderToFolder" or "actionAddToFolder" or "actionCopyToFolder" depending on the desired action.
 
Default selected repository for repository selector
 
Whether the browse choice will be displayed.
 
Whether the teamspaces choice will be displayed if the repository supports teamspaces.
 
The repository object.
 
An optional teamspace ecm.model.Teamspace object used wben action is "actionAddToFolder".
Fields borrowed from class ecm.widget.dialog.BaseDialog:
fitContentArea, lockFullscreen

Method Summary

Method Attributes Method Name and Description
 
connectRepositories(repository)
 
Returns the content list modules used by this view.
 
onRepositoryChange(pane, repository)
Event invoked when a repository changes
 
 
show(folder, items, callback)
Displays the dialog
Methods borrowed from class ecm.widget.dialog.BaseDialog:
addButton, appendSecondaryMessage, buildRendering, clearMessage, clearSecondaryMessage, destroy, hide, isMaximized, onDragOver, resize, setIntroText, setIntroTextRef, setMaximized, setMessage, setReferenceLink, setResizable, setSize, setSizeToViewportRatio, setTitle, setWidth, showActionBar

Constructor Detail

ecm.widget.dialog.MoveFileEnhancedDialog()

Since:
2.0.3.5

Field Detail

action

A string, either "actionMoveFolderToFolder" or "actionAddToFolder" or "actionCopyToFolder" depending on the desired action.

defaultSelectedRepository

Default selected repository for repository selector
Since:
2.0.3.6

displaySelectBrowseNode

Whether the browse choice will be displayed.

displaySelectTeamspacesNode

Whether the teamspaces choice will be displayed if the repository supports teamspaces.

repository

The repository object. Instance of ecm.model.Repository

teamspace

An optional teamspace ecm.model.Teamspace object used wben action is "actionAddToFolder".

Method Detail

connectRepositories(repository)

Parameters:
repository

getContentListModules()

Returns the content list modules used by this view.
Returns:
Array of content list modules.

onRepositoryChange(pane, repository)

Event invoked when a repository changes
Parameters:
pane
repository
Since:
2.0.3.6

postCreate()


show(folder, items, callback)

Displays the dialog
Parameters:
folder
The ecm.model.ContentItem object representing the parent folder of an item being moved or added to another folder.
items
An array of ecm.model.ContentItem objects to be added or moved to another folder.
callback
Since:
2.0.3.6 A function that is called after Box copy is complete.