Class ecm.widget.dialog.MoveFileDialog


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\MoveFileDialog.js>.

Constructor Summary

Constructor Attributes Constructor Name and Description
 

Field Summary

Field Attributes Field Name and Description
 
action 
A string, either "actionMoveFolderToFolder" or "actionAddToFolder" depending on the desired action.
 
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
 
 
 
show(folder, items)
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.MoveFileDialog()

Field Detail

action

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

repository

The repository object. Instance of ecm.model.Repository

teamspace

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

Method Detail

onCancel()


postCreate()


show(folder, items)

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.