Learning
Documentation
Community
Open Exchange
Global Masters
Home / Class Reference / ENSLIB namespace / %ZEN.ObjectProjection
Private  Storage   

%ZEN.ObjectProjection


class %ZEN.ObjectProjection extends
%Projection.AbstractProjection

Projection class used by %ZEN.Component.object classes. This is used to manage post-compilation actions for Zen components.

Inventory


Parameters Properties Methods Queries Indices ForeignKeys Triggers
5


Summary


Methods
%ClassIsLatestVersion %ClassName %DispatchClassMethod %DispatchGetModified
%DispatchGetProperty %DispatchMethod %DispatchSetModified %DispatchSetMultidimProperty
%DispatchSetProperty %Extends %GetParameter %IsA
%New %OriginalNamespace %PackageName %QueueClass
%SetModified AddToManifest CreateIncludes CreateProjection
EndCompile QueueClass RemoveFromManifest RemoveFromQueue
RemoveProjection SetQueueFlag getDefaultParam getROOTDIR


Methods


• classmethod %QueueClass(pClass As %String, pFlag As %String) as %Status
Add the Zen class, pClass to the post-compilation queue. pFlag is a csv-list indicating what kind of post-compile action are needed:
"schema" - XML schema for Studio needs to be regenerated.
"HTML" - HTML include files (CSS and js) need to be regenerated.
"SVG" - SVG include files (CSS and js) need to be regenerated.
• classmethod CreateIncludes(pKey As %String, ByRef pModules As %String, pDisplay As %Boolean = 1) as %Status
• classmethod CreateProjection(pClassName As %String, ByRef parameters As %String, modified As %String) as %Status
This is called when a component class is compiled.
• classmethod EndCompile(qstruct) as %Status
Execute the various post-compilation actions for the Zen library.
• classmethod RemoveProjection(pClassName As %String, ByRef parameters As %String, recompile As %Boolean) as %Status
This is called when a component class is removed.