A persistent named schedule spec string
parameter DOMAIN = "Ensemble"; parameter XMLIGNOREINVALIDATTRIBUTE = 0;
The XMLIGNOREINVALIDATTRIBUTE parameter allows the programmer to control handling of unexpected attributes in the XML input. By default (XMLIGNOREINVALIDATTRIBUTE = 1), will ignore unexpected attributes. If XMLIGNOREINVALIDATTRIBUTE is set = 0, then an unexpected attribute will be treated as an error.parameter XMLNAME = "schedule";
This parameter provides the default XMLNAME for the class. If it is empty then the class name will be used to construct a default XML name. The default XMLNAME is used as the top level tag when exporting objects and the export context did not provide an XML container name.
property Deployable as %Boolean [ InitialExpression = 0 ];
Indicates whether this system default setting can be exported for deployment.property Description as %String(MAXLEN=256); property Name as %String; property ScheduleSpec as %String(MAXLEN="");
classmethod %ClearStudioDocuments(ByRef pIDsToKeep As %String = "")
Delete the deployable contents of the Schedule specifications table which are projected as one Studio document.classmethod %Export(pFileName As %String = "", pDeployable As %Boolean = "") as %Status
If pIDsToKeep array is passed in where the subscript is the settings id then those schedules will not be deleted.
Export Schedule Specifications to file pFileName. If pDeployable is not defined, then export both Deployable and non Deployable Schedule settings. This is the defaultclassmethod %ExportStudioDocuments(pStream As %String = "") as %Status
If pDeployable is set to True, then only export Schedule settings that are marked as Deployable.
If pDeployable is set to False, then only export Schedule settings that are marked as not Deployable.
Export Default Settings that are deployable to stream pStream.classmethod %Import(pFileName As %String = "", Output pCount As %Integer, ByRef pIDsImported As %String = "") as %Status
Import Schedule Specification data from the xml file pFileName.classmethod %ImportStudioDocuments(pStream As %String = "") as %Status
Lookup data is in the form:<scheduleSpec> <schedule name="MyName" schedulespec="START:WEEK-*-01T00:00:00,STOP:WEEK-*-01T00:00:05" deployable="0"/> </scheduleSpec>
Import method for rows projected in studio document and then remove those that weren't imported after.classmethod Evaluate(pScheduleSpec As %String, pODBCDateTime As %String = "") as %String
trigger OnDelete (AFTER event DELETE)
Update the timestamp whenever a deployable row is removed from a table.trigger OnModify (AFTER event INSERT/UPDATE)
Update the timestamp for the settings whenever an entry is added or updated that is deployable.