Class Reference
IRIS for UNIX 2024.1.2
InterSystems: The power behind what matters   
Documentation  Search
  [USER] >  [%IPM] >  [ResourceProcessor] >  [Default] >  [Global]
Private  Storage   

class %IPM.ResourceProcessor.Default.Global extends %IPM.ResourceProcessor.Abstract

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
2 3 1


Summary

Properties
Directory Global Params Preserve

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
ApplyDefaults GetAttributeMetadata GetDescription GetSourceControlInfo
OnAfterPhase OnBeforeArtifact OnBeforePhase OnExportItem
OnGetStudioProject OnGetUniqueName OnItemRelativePath OnPhase
OnResolveChildren SatisfiesCondition SetParams


Parameters

• parameter ATTRIBUTES = "Global,Preserve";
Comma-separated list of resource attribute names that this processor uses
• parameter DESCRIPTION = "Standard resource processor for global exports.";
Description of resource processor class (shown in UI)

Properties

• property Directory as %String(MAXLEN="") [ InitialExpression = "gbl/" ];
Directory relative to module root containing the exported resource. Defaults to the resource's extension (lower-case) if unspecified.
• property Global as %IPM.DataType.GlobalReference;
Optional name of global within the file
• property Preserve as %Boolean [ InitialExpression = 0 ];
If set to 1, do not delete the global when the module is cleaned/uninstalled

Methods

• method OnPhase(pPhase As %String, ByRef pParams, Output pResourceHandled As %Boolean = 0) as %Status
Called as phase pPhase is executed for the resource. If pResourceHandled is set to true, then the default behavior for that resource will be bypassed in the current phase. Currently, this is only used in the Verify phase, because of different handling of intermediate error statuses. TODO: Implement for standard database resources (.INC, .CLS, etc.)


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