Class ecm.widget.dialog.AddDocumentFromEditServiceTemplateDialog
Extends
ecm.widget.dialog.AddContentItemDialog.
Provides a dialog box that
Defined in: <ecm\widget\dialog\AddDocumentFromEditServiceTemplateDialog.js>.
Constructor Summary
| Constructor Attributes | Constructor Name and Description |
|---|---|
- Fields borrowed from class ecm.widget.dialog.AddContentItemDialog:
- allowBrowseParentFolder, destroyWhenFinished, parentFolder, repository, showEntryTemplateName, singleDocumentSelect
- Fields borrowed from class ecm.widget.dialog.BaseDialog:
- expandable, fitContentArea, lockFullscreen
Method Summary
| Method Attributes | Method Name and Description |
|---|---|
|
destroy()
|
|
|
isValid(onSaveStatus)
Override super classes isValid method.
|
|
|
onAdd()
The Add button event handler.
|
|
|
show(repository, parentFolder, typeDocument, virtualItems, callback, teamspace, showMultiRepoFolderSelector)
Displays the Add dialog for adding documents and folders.
|
- Methods borrowed from class ecm.widget.dialog.AddContentItemDialog:
- addFolderInMemory, applyEntryTemplate, getDaejaContent, getDaejaPartFileName, getExternalContentFilename, getRedactionPartFileName, hasDaejaContent, hasRedactionContent, onAddFailed, onAddFinished, onCancel, setDaejaContent, setDaejaPartFileName, setDefaultContentClass, setFiles, setRedactionContent, setShowWarnings, showUsingTemplateItem
- Methods borrowed from class ecm.widget.dialog.BaseDialog:
- addButton, appendSecondaryMessage, buildRendering, clearMessage, clearSecondaryMessage, hide, isMaximized, onDragOver, resize, setExpandable, setIntroText, setIntroTextRef, setMaximized, setMessage, setReferenceLink, setResizable, setSize, setSizeToViewportRatio, setTitle, setWidth, showActionBar
Method Detail
destroy()
{Boolean} isValid(onSaveStatus)
Override super classes isValid method. Tests if the current settings in the add dialog are valid.
- Parameters:
- onSaveStatus
- Returns:
- {Boolean} A value of
trueif the current settings in the add dialog are valid, otherwisefalse.
onAdd()
The Add button event handler.
postCreate()
show(repository, parentFolder, typeDocument, virtualItems, callback, teamspace, showMultiRepoFolderSelector)
Displays the Add dialog for adding documents and folders.
- Parameters:
- repository
- parentFolder
- typeDocument
- virtualItems
- callback
- teamspace
- showMultiRepoFolderSelector