%DeepSee.UI.Dialog.LinkSave
Class %DeepSee.UI.Dialog.LinkSave Extends %DeepSee.UI.Dialog.standardDialog [ System = 4 ]
This dialog lets the user save a DeepSee Link (folder item) definition.
Parameters
APPLYBUTTON
Parameter APPLYBUTTON = 0;
Properties
createNew
Property createNew As %ZEN.Datatype.boolean(ZENURL = "NEW");
True if this is a "create new".
saveAs
Property saveAs As %ZEN.Datatype.boolean(ZENURL = "SAVEAS");
True if this is a "save as".
linkName
Property linkName As %ZEN.Datatype.string(ZENURL = "NAME");
Link Name.
linkTitle
Property linkTitle As %ZEN.Datatype.string(ZENURL = "TITLE");
Link title.
linkURL
Property linkURL As %ZEN.Datatype.string(ZENURL = "URL");
Link URL.
linkOwner
Property linkOwner As %ZEN.Datatype.string(ZENURL = "OWNER");
Link owner.
linkResource
Property linkResource As %ZEN.Datatype.string(ZENURL = "RESOURCE");
Link resource.
linkDescription
Property linkDescription As %ZEN.Datatype.string(MAXLEN = 32000, ZENURL = "DESC");
Description.
linkPublic
Property linkPublic As %ZEN.Datatype.boolean(ZENURL = "PUBLIC") [ InitialExpression = 1 ];
Link public state.
linkKeywords
Property linkKeywords As %ZEN.Datatype.string(ZENURL = "WORDS");
Link keywords.
linkCategory
Property linkCategory As %ZEN.Datatype.string(ZENURL = "CATEGORY");
Link category.
XDatas
Style
XData Style
dialogBody
XData dialogBody [ XMLNamespace = "http://www.intersystems.com/zen" ]
Contents of the dialog body.
Methods
%OnGetTitle
Method %OnGetTitle() As %String
Get the (localized) title string for the dialog. This should be implemented in a subclass.
%OnGetSubtitle
Method %OnGetSubtitle() As %String
Get the (localized) subtitle string for the dialog. This should be implemented in a subclass.
getDialogValue
ClientMethod getDialogValue() [ Language = javascript ]
ondialogFinish
ClientMethod ondialogFinish(action) As %Boolean [ Language = javascript ]
This callback, if defined, is called when the user presses the OK or Apply action buttons. If this returns false, then the action is cancelled.
ondialogStart
ClientMethod ondialogStart() [ Language = javascript ]
This callback, if defined, is called when the dialog page is loaded.
%OnAfterCreatePage
Method %OnAfterCreatePage() As %Status
LinkExists
ClassMethod LinkExists(pName As %String) As %Integer [ ZenMethod ]
Test if the given link already exists.
SaveLink
ClassMethod SaveLink(pInfo As %ZEN.proxyObject) As %String [ ZenMethod ]
Save the link.
CanWriteToFolder
ClassMethod CanWriteToFolder(pFolderName As %String) As %Integer [ ZenMethod ]
Test if the user can write to the given folder.