Class Reference
%IPM.ResourceProcessor.Abstract
Server:appadmin-00044-deployment-6bf4cbc86d-9f4xc
Instance:IRIS
User:SuperUser
 
-
  [USER] >  [%IPM] >  [ResourceProcessor] >  [Abstract]
Private  Storage

abstract class %IPM.ResourceProcessor.Abstract extends %RegisteredObject

Superclass for all classes used to process lifecycle events for resources

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
3 2 19


Summary

Properties
Params

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

Subclasses
%IPM.ResourceProcessor.AbstractCompilable %IPM.ResourceProcessor.CSPApplication %IPM.ResourceProcessor.Default.Global
%IPM.ResourceProcessor.FileCopy %IPM.ResourceProcessor.LegacyLocalizedMessages %IPM.ResourceProcessor.LocalizationExport
%IPM.ResourceProcessor.ModuleExport %IPM.ResourceProcessor.Test %IPM.ResourceProcessor.WebApplication

Parameters

• parameter ATTRIBUTES;
Comma-separated list of resource attribute names that this processor uses
• parameter DESCRIPTION;
Description of resource processor class (shown in UI)
• parameter NAME;

Properties

• property Params  [ MultiDimensional ];

Methods

• method ApplyDefaults()
• classmethod GetAttributeMetadata(Output pMetaArray) as %Status
• classmethod GetDescription(pClassName As %String) as %String [ SQLProc = ]
• method GetSourceControlInfo(Output pInfo As %IPM.ExtensionBase.SourceControl.ResourceInfo) as %Status
• method OnAfterPhase(pPhase As %String, ByRef pParams) as %Status
• method OnBeforeArtifact(pExportDirectory As %String, pWorkingDirectory As %String, ByRef pParams) as %Status
• method OnBeforePhase(pPhase As %String, ByRef pParams) as %Status
• method OnExportItem(pFullExportPath As %String, pItemName As %String, ByRef pItemParams, ByRef pParams, Output pItemHandled As %Boolean = 0) as %Status
• method OnGetStudioProject(pProject As %Studio.Project, Output pHandled As %Boolean = 0)
Subclasses may override to customize the studio project. (e.g., things that use web applications will do this.)
• method OnGetUniqueName(Output pUniqueName)
Returns a unique name for this resource. Default implementation, leaving pUniqueName undefined, reverts to default behavior. An empty string indicates guaranteed uniqueness (useful for folders relative to module root)
• method OnItemRelativePath(pItemName As %String) as %String
Returns the path relative to the module root for item pItemName within this resource.
• 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.)
• method OnResolveChildren(ByRef pResourceArray, pCheckModuleOwnership As %Boolean) as %Status
• method SatisfiesCondition(pCondition As %IPM.Storage.ModuleSetting.ProcessorDefault.Condition) as %Boolean
• method SetParams(ByRef pParams) as %Status


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