Home > Class Reference > %SYS namespace > %ZHSLIB.PackageManager.Developer.Processor.Copy


class %ZHSLIB.PackageManager.Developer.Processor.Copy extends %ZHSLIB.PackageManager.Developer.Processor.AbstractCompilable

Property Inventory

Method Inventory


parameter ATTRIBUTES = Source,Overwrite,CompileAfter,Flags;
Comma-separated list of resource attribute names that this processor uses
parameter DESCRIPTION = Resource processor to copy the specified resource from the (Source) database to the target namespace (respecting mappings configured for that namespace) during the Reload phase.;
Description of resource processor class (shown in UI)


property Overwrite as %Boolean [ InitialExpression = 1 ];
If set to false (default is true), resources that already exist in the current/target namespace will not be overwritten.
Property methods: OverwriteDisplayToLogical(), OverwriteGet(), OverwriteIsValid(), OverwriteLogicalToDisplay(), OverwriteNormalize(), OverwriteSet()
property Source as %String [ Required ];
Name of the namespace we are copying the resources from
Property methods: SourceDisplayToLogical(), SourceGet(), SourceIsValid(), SourceLogicalToDisplay(), SourceLogicalToOdbc(), SourceNormalize(), SourceSet()


method OnAfterPhase(pPhase As %String, ByRef pParams) as %Status [ Language = objectscript ]
method OnGetUniqueName(Output pUniqueName) [ Language = objectscript ]
Inherited description: 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 OnPhase(pPhase As %String, ByRef pParams, Output pResourceHandled As %Boolean = 0) as %Status [ Language = objectscript ]
Inherited description: 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 [ Language = objectscript ]
method TargetSet(%val) as %Status [ Language = objectscript ]

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new window