Class ecm.widget.dialog.MoveTeamspaceFileDialog
Extends
ecm.widget.dialog.BaseDialog.
Provides a dialog box that is used to move a document or folder from a teamspace to another folder.
Defined in: <ecm\widget\dialog\MoveTeamspaceFileDialog.js>.
Constructor Summary
Constructor Attributes | Constructor Name and Description |
---|---|
Field Summary
Field Attributes | Field Name and Description |
---|---|
A string "actionMoveTeamspaceDocumentToFolder" depending on the desired action.
|
|
The repository object.
|
|
The teamspace object.
|
- Fields borrowed from class ecm.widget.dialog.BaseDialog:
- fitContentArea, lockFullscreen
Method Summary
Method Attributes | Method Name and Description |
---|---|
destroy()
Cleans up the widget
|
|
Returns the current permission array.
|
|
onChangeDestination(saveInValue)
Fired when save in value changes.
|
|
Fired when a field changes value.
|
|
show(folder, items)
Displays the dialog
|
- Methods borrowed from class ecm.widget.dialog.BaseDialog:
- addButton, appendSecondaryMessage, buildRendering, clearMessage, clearSecondaryMessage, hide, isMaximized, onDragOver, resize, setIntroText, setIntroTextRef, setMaximized, setMessage, setReferenceLink, setResizable, setSize, setSizeToViewportRatio, setTitle, setWidth, showActionBar
Field Detail
action
A string "actionMoveTeamspaceDocumentToFolder" depending on the desired action.
repository
The repository object. Instance of ecm.model.Repository
teamspace
The teamspace object. Instance of ecm.model.Teamspace
Method Detail
destroy()
Cleans up the widget
getPermissions()
Returns the current permission array.
- Returns:
- Returns an array of ecm.model.Permission
onChangeDestination(saveInValue)
Fired when save in value changes.
- Parameters:
- saveInValue
- The selected ecm.model.SelectedFolder object.
onFieldChange()
Fired when a field changes value.
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.