Class ecm.widget.dialog.ShareDialog
Extends
ecm.widget.dialog.BaseDialog.
Provides a dialog that is used to share a document.
Defined in: <ecm\widget\dialog\ShareDialog.js>.
Constructor Summary
Constructor Attributes | Constructor Name and Description |
---|---|
- Fields borrowed from class ecm.widget.dialog.BaseDialog:
- fitContentArea, lockFullscreen
Method Summary
Method Attributes | Method Name and Description |
---|---|
destroy()
|
|
getUserEmail(callback)
Attempts to retrieve an email address given a user id.
|
|
getUserEmailExternal(callback, callback)
An extension point used by the EmailMappingPlugin to provide an email address given a user id.
|
|
resize()
|
|
show()
Shows the dialog.
|
- Methods borrowed from class ecm.widget.dialog.BaseDialog:
- addButton, appendSecondaryMessage, buildRendering, clearMessage, clearSecondaryMessage, hide, isMaximized, onDragOver, setIntroText, setIntroTextRef, setMaximized, setMessage, setReferenceLink, setResizable, setSize, setSizeToViewportRatio, setTitle, setWidth, showActionBar
Method Detail
destroy()
getUserEmail(callback)
Attempts to retrieve an email address given a user id. An extention point is called first that is used by
the EmailMappingPlugin. If it doesn't return a value, repository.getUserEmail() is called.
- Parameters:
- callback
getUserEmailExternal(callback, callback)
An extension point used by the EmailMappingPlugin to provide an email address given a user id. It can also be used by other plugins.
Since this might be an asynchronous process,
callback
must be called to return the user's email address.
- Parameters:
- callback
- A callback function that must be called to return the user's email address.
- callback
postCreate()
resize()
show()
Shows the dialog.