%DeepSee.UI.Dialog.ReportSave
Class %DeepSee.UI.Dialog.ReportSave Extends %DeepSee.UI.Dialog.standardDialog [ System = 4 ]
This dialog lets the user save a DeepSee Report (folder item) definition. This is not an actual report but a report to a previously defined report.
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".
reportName
Property reportName As %ZEN.Datatype.string(ZENURL = "NAME");
Report Name.
reportTitle
Property reportTitle As %ZEN.Datatype.string(ZENURL = "TITLE");
Report title.
reportClass
Property reportClass As %ZEN.Datatype.string(ZENURL = "REPORT");
Report class.
reportOwner
Property reportOwner As %ZEN.Datatype.string(ZENURL = "OWNER");
Report (link) owner.
reportResource
Property reportResource As %ZEN.Datatype.string(ZENURL = "RESOURCE");
Report (link) resource.
reportDescription
Property reportDescription As %ZEN.Datatype.string(MAXLEN = 32000, ZENURL = "DESC");
Description of this link.
reportPublic
Property reportPublic As %ZEN.Datatype.boolean(ZENURL = "PUBLIC") [ InitialExpression = 1 ];
Report public state.
reportKeywords
Property reportKeywords As %ZEN.Datatype.string(ZENURL = "WORDS");
Report keywords.
reportCategory
Property reportCategory As %ZEN.Datatype.string(ZENURL = "CATEGORY");
Report 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
ReportExists
ClassMethod ReportExists(pName As %String) As %Integer [ ZenMethod ]
Test if the given report already exists.
SaveReport
ClassMethod SaveReport(pInfo As %ZEN.proxyObject) As %String [ ZenMethod ]
Save the report.
CanWriteToFolder
ClassMethod CanWriteToFolder(pFolderName As %String) As %Integer [ ZenMethod ]
Test if the user can write to the given folder.