Class Reference
IRIS for UNIX 2024.1.2
InterSystems: The power behind what matters   
Documentation  Search
  [USER] >  [Ens] >  [Util] >  [Production]
Private  Storage   

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.


Copyright (c) 2025 by InterSystems Corporation. Cambridge, Massachusetts, U.S.A. All rights reserved. Confidential property of InterSystems Corporation.