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

class %IPM.ResourceProcessor.Default.LocalizedMessages extends %IPM.ResourceProcessor.Default.Document, %IPM.ResourceProcessor.LocalizationExport

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
2 2 3


Summary

Properties
Compile CompileAfter Directory DirectoryDefined
Domains ExportFlags Filename FilenameExtension
FilenameTranslateAssociator FilenameTranslateIdentifier Flags Format
LoadAsDirectory 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 DirectorySet GetAttributeMetadata GetDescription
GetDomainsForResource GetMessageFile GetSourceControlInfo OnAfterPhase
OnBeforeArtifact OnBeforePhase OnConfigureMappings OnExportDeployedItem
OnExportItem OnGetStudioProject OnGetUniqueName OnItemRelativePath
OnLoad OnLoadDeployed OnPhase OnResolveChildren
ResourceIsMappedToDefaultDB SatisfiesCondition SaveMessageFile SetParams


Parameters

• parameter DESCRIPTION = "Standard resource processor for localized error messages.";
Description of resource processor class (shown in UI)
• parameter EXTENSION = "LOC";
May be set to determine the value of Extension based on a static value rather than based on the resource name. The only expected use case at this point is class packages (.PKG, but Extension will be .CLS)

Properties

• property Directory as %String(MAXLEN="") [ InitialExpression = "localize" ];
Directory relative to module root containing the exported resource. Defaults to the resource's extension (lower-case) if unspecified.
• property Format as %String(VALUELIST=",XML,UDL") [ InitialExpression = "XML" ];
Export format - list of acceptable values may differ by subclass.

Methods

• method OnBeforePhase(pPhase As %String, ByRef pParams) as %Status
• method OnConfigureMappings(ByRef pParams) as %Status
Subclasses may override to customize mapping behavior at the beginning of the Reload phase.
• 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.