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

%ZHSLIB.PackageManager.Developer.Processor.Copy

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

Property Inventory (Including Private)

Method Inventory (Including Private)

Parameters

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)

Properties (Including Private)

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()
property Target as %String [ Private ];
Namespace to which the resources will be copied (managed internally)
Property methods: TargetDisplayToLogical(), TargetGet(), TargetIsValid(), TargetLogicalToDisplay(), TargetLogicalToOdbc(), TargetNormalize(), TargetResourceCacheDisplayToLogical(), TargetResourceCacheGet(), TargetResourceCacheIsValid(), TargetResourceCacheLogicalToDisplay(), TargetResourceCacheLogicalToOdbc(), TargetResourceCacheNormalize(), TargetResourceCacheSet(), TargetSet()
property TargetResourceCache as %String [ Private , MultiDimensional , Transient ];
Cache of resources discovered in the target namespace
Property methods: TargetResourceCacheDisplayToLogical(), TargetResourceCacheGet(), TargetResourceCacheIsValid(), TargetResourceCacheLogicalToDisplay(), TargetResourceCacheLogicalToOdbc(), TargetResourceCacheNormalize(), TargetResourceCacheSet()

Methods (Including Private)

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 (Including Private)

Inherited Methods (Including Private)