Skip to main content

%CSP.UI.Portal.DatabaseTemplate

abstract class %CSP.UI.Portal.DatabaseTemplate extends %CSP.UI.Portal.Template

Zen template for System Management Portal - Edit Database Properties

Property Inventory

Method Inventory

Parameters

parameter AUTONS = 0;
Do not switch namespace for this page: it needs to stay in %SYS
parameter EMSSERVICE = Namespace;
parameter PARENTPAGE = /csp/sys/mgr/%CSP.UI.Portal.Databases.zen;
Inherited description: This parameter defines the parent page for this page.
If the name ends in .csp, then the parent is assumed to be an autopage-enabled CSP page.
If the name ends in .cls, then the parent is assumed to be a Zen page.
This is used to automate the construction of the locator bar for this page and to build the index between portal pages and documentation.
The %GetLocatorInfo method is used to get this information.
parameter RECENT = 0;
Inherited description: If true, register visits to this page in the recent list.
parameter RESOURCE = %Admin_Manage;
Security requirement

Properties

property DBName as %ZEN.Datatype.string (ZENURL = "DBName");
Property methods: DBNameDisplayToLogical(), DBNameGet(), DBNameIsValid(), DBNameLogicalToDisplay(), DBNameLogicalToOdbc(), DBNameNormalize(), DBNameSet()
property Directory as %ZEN.Datatype.string (ZENURL = "Dir");
Property methods: DirectoryDisplayToLogical(), DirectoryGet(), DirectoryIsValid(), DirectoryLogicalToDisplay(), DirectoryLogicalToOdbc(), DirectoryNormalize(), DirectorySet()
property IsEditForm as %Boolean [ InitialExpression = 1 ];
Inherited description: If set to 1 then the generic Save and Cancel button will be shown on the ribbon bar.
Property methods: IsEditFormDisplayToLogical(), IsEditFormGet(), IsEditFormIsValid(), IsEditFormLogicalToDisplay(), IsEditFormLogicalToXSD(), IsEditFormNormalize(), IsEditFormSet(), IsEditFormXSDToLogical()
property MirName as %ZEN.Datatype.string;
Property methods: MirNameDisplayToLogical(), MirNameGet(), MirNameIsValid(), MirNameLogicalToDisplay(), MirNameLogicalToOdbc(), MirNameNormalize(), MirNameSet()
property OldDirectory as %ZEN.Datatype.string (ZENURL = "Dir");
Property methods: OldDirectoryDisplayToLogical(), OldDirectoryGet(), OldDirectoryIsValid(), OldDirectoryLogicalToDisplay(), OldDirectoryLogicalToOdbc(), OldDirectoryNormalize(), OldDirectorySet()
property OldSize as %ZEN.Datatype.integer;
Property methods: OldSizeDisplayToLogical(), OldSizeGet(), OldSizeIsValid(), OldSizeLogicalToDisplay(), OldSizeLogicalToOdbc(), OldSizeNormalize(), OldSizeSet()
property PID as %String (ZENURL = "DBName");
ID for edit.
Property methods: PIDDisplayToLogical(), PIDGet(), PIDIsValid(), PIDLogicalToDisplay(), PIDLogicalToOdbc(), PIDNormalize(), PIDSet()
property ROReasonText as %ZEN.Datatype.string;
Property methods: ROReasonTextDisplayToLogical(), ROReasonTextGet(), ROReasonTextIsValid(), ROReasonTextLogicalToDisplay(), ROReasonTextLogicalToOdbc(), ROReasonTextNormalize(), ROReasonTextSet()
property ReadOnly as %ZEN.Datatype.boolean;
Property methods: ReadOnlyDisplayToLogical(), ReadOnlyGet(), ReadOnlyIsValid(), ReadOnlyLogicalToDisplay(), ReadOnlyLogicalToOdbc(), ReadOnlyLogicalToXSD(), ReadOnlyNormalize(), ReadOnlySet(), ReadOnlyXSDToLogical()
property ReadOnlyMounted as %ZEN.Datatype.boolean;
Property methods: ReadOnlyMountedDisplayToLogical(), ReadOnlyMountedGet(), ReadOnlyMountedIsValid(), ReadOnlyMountedLogicalToDisplay(), ReadOnlyMountedLogicalToOdbc(), ReadOnlyMountedLogicalToXSD(), ReadOnlyMountedNormalize(), ReadOnlyMountedSet(), ReadOnlyMountedXSDToLogical()
property browseselect as %String;
Property methods: browseselectDisplayToLogical(), browseselectGet(), browseselectIsValid(), browseselectLogicalToDisplay(), browseselectLogicalToOdbc(), browseselectNormalize(), browseselectSet()
property curVolThreshold as %ZEN.Datatype.integer;
Property methods: curVolThresholdDisplayToLogical(), curVolThresholdGet(), curVolThresholdIsValid(), curVolThresholdLogicalToDisplay(), curVolThresholdLogicalToOdbc(), curVolThresholdNormalize(), curVolThresholdSet()
property origVolThreshold as %ZEN.Datatype.integer;
Property methods: origVolThresholdDisplayToLogical(), origVolThresholdGet(), origVolThresholdIsValid(), origVolThresholdLogicalToDisplay(), origVolThresholdLogicalToOdbc(), origVolThresholdNormalize(), origVolThresholdSet()

Methods

classmethod DbExists(Dir) as %String [ ZenMethod ]
classmethod GetFreeSpace(Dir As %String) as %ZEN.proxyObject [ ZenMethod ]
method LoadCollations(NewGlobalCollation As %String, ReturnDisplayValue As %Boolean = 0) as %String
method LoadResources(ResourceName As %String) as %String [ ZenMethod ]
classmethod MULTIVOLBackupCheck(Dir As %String) as %Boolean [ ZenMethod ]
clientmethod browseSelect(name) [ Language = javascript ]
User clicked one of the Browse buttons. Save the name of the textfield so that when you return you know which textfield to update.
clientmethod changeMount(MountRequired) [ Language = javascript ]
enable/disable MountAtStartup based on MountRequired value
clientmethod changeVolThreshold(newVal) [ Language = javascript ]
clientmethod doUnitSwitch() [ Language = javascript ]
clientmethod onPopupAction(popupName, action, value) [ Language = javascript ]
This client event, if present, is fired when the a popup page launched from this page fires an action.
clientmethod undoDirChange() [ Language = javascript ]
clientmethod validateName(Name, OldName) [ Language = javascript ]
clientmethod validateSize(Size, OldSize, Directory) [ Language = javascript ]

Queries

query VolumeDirectories(Directory As %SysPath)
Selects VolumeDirectory As %SysPath, NumberOfVolumes As %String, Size As %Integer

Inherited Members

Inherited Properties

Inherited Methods

Subclasses

FeedbackOpens in a new tab