Learning
Documentation
Community
Open Exchange
Global Masters
Home / Class Reference / ENSLIB namespace / Ens.Util.Production
Private  Storage   

Ens.Util.Production


class Ens.Util.Production extends
%RegisteredObject

Inventory


Parameters Properties Methods Queries Indices ForeignKeys Triggers
1 3


Summary


Methods
%AddToSaveSet %ClassIsLatestVersion %ClassName
%ConstructClone %DispatchClassMethod %DispatchGetModified
%DispatchGetProperty %DispatchMethod %DispatchSetModified
%DispatchSetMultidimProperty %DispatchSetProperty %Extends
%GetParameter %IsA %IsModified
%New %NormalizeObject %ObjectModified
%OriginalNamespace %PackageName %RemoveFromSaveSet
%SerializeObject %SetModified %ValidateObject
IsExcludedFromPortalSourceControl IsRuntimeDifferentFromClass SetExcludeFromPortalSourceControl


Parameters


• parameter DEFAULTSCEXCLUDE = 0;
Default whether to exclude source control for Production configuration in the management portal

Methods


• classmethod IsExcludedFromPortalSourceControl() as %Boolean
This method returns true if productions in the namespace are excluded from Source Control in the Production configuration portal page.
It will throw system errors such as Protect.
• classmethod IsRuntimeDifferentFromClass(pClassName, Output pSC As %Status) as %Integer
This method compares the class XData definition with that that would be be generated from the current runtime data for the production. It returns 1 if different.
It returns 0 if not different.
It returns 10 if an error is being returned.
• classmethod SetExcludeFromPortalSourceControl(exclude As %Boolean = "")
This method sets the flag to control if productions in the current namespace are excluded from Portal Source control.
Protected by Use Privilege on resource %Admin_Manage. Throws $$$InsufficientPrivilegeForOperation if privilege not held.
Throws $$$InvalidArgument if exclude is not 1 or 0.
It will throw system errors such as Protect.