Home > Class Reference > ENSLIB namespace > %CSP.UI.Portal.UtilsNav
Private  Storage   

%CSP.UI.Portal.UtilsNav


abstract class %CSP.UI.Portal.UtilsNav

This class contains Properties and Methods in support of component tableNavBar in SMP.
The purpose is to remember the last Page size and Maximum rows of the tableNavBar If you want to remember these, then do the following:

Example pages:
- use %CSP.UI.Portal.Utils as super class: %CSP.UI.Portal.Processes, %CSP.UI.Portal.ClassList
- use %CSP.UI.Portal.Template as super class: %CSP.UI.Portal.Namespaces, %CSP.UI.Portal.Users (with Filter=true)

Inventory


Parameters Properties Methods Queries Indices ForeignKeys Triggers
3 4


Summary


Properties
Filter TableMaxRows TablePageSize

Methods
%GetNavTableState UpdateTableNavState navMaxRowsChanged navPageSizeChanged

Subclasses
%CSP.UI.Portal.Applications.ClientList %CSP.UI.Portal.Applications.PrivRoutineList %CSP.UI.Portal.Audit.EventsTemplate
%CSP.UI.Portal.CSPSessions %CSP.UI.Portal.Config.Devices %CSP.UI.Portal.Config.MagTapes
%CSP.UI.Portal.Config.SQLDataTypes %CSP.UI.Portal.Config.SubTypes %CSP.UI.Portal.Dialog.DBMirrorAdd
%CSP.UI.Portal.FileMan %CSP.UI.Portal.Installs %CSP.UI.Portal.Instances
%CSP.UI.Portal.JDBCGatewayServer %CSP.UI.Portal.Kits %CSP.UI.Portal.LDAPs
%CSP.UI.Portal.LDAPsRO %CSP.UI.Portal.LicenseServers %CSP.UI.Portal.MFT.ConnectionList
%CSP.UI.Portal.Machines %CSP.UI.Portal.Manifests %CSP.UI.Portal.Mappings
%CSP.UI.Portal.OAuth2.Client.ConfigurationList %CSP.UI.Portal.OAuth2.Client.ServerList %CSP.UI.Portal.OAuth2.Server.ClientList
%CSP.UI.Portal.ObjectGatewayActivities %CSP.UI.Portal.ObjectGateways %CSP.UI.Portal.PhoneProviders
%CSP.UI.Portal.ReportsPrintServers %CSP.UI.Portal.ReportsRenderServers %CSP.UI.Portal.SQL.Home
%CSP.UI.Portal.SQL.QButtons.IndexAnalyzer %CSP.UI.Portal.SQL.QButtons.RuntimeStats %CSP.UI.Portal.SQL.QButtons.ShowPlanAlt
%CSP.UI.Portal.SQL.TuneTable %CSP.UI.Portal.SSLList %CSP.UI.Portal.Services
%CSP.UI.Portal.Shadow %CSP.UI.Portal.Users %CSP.UI.Portal.Utils
%CSP.UI.Portal.WQMCategories %CSP.UI.Portal.X509Credentials %CSP.UI.Portal.XSLTGatewayServer

Properties


• property Filter as %ZEN.Datatype.string [ InitialExpression = "*" ];
Filter value user entered into the "Filter" field in the table navigator. This value is saved and reloaded for this page.
• property TableMaxRows as %Integer [ InitialExpression = "1000" ];
Max rows value user entered into the "Max rows" field in the table navigator. This value is saved and reloaded for this page.
• property TablePageSize as %Integer [ InitialExpression = "0" ];
Page size value user entered into the "Page size" field in the table navigator. This value is saved and reloaded for this page.

Methods


• method %GetNavTableState(pPageName As %String = "") as %Status
Call this method from %OnAfterCreatePage to load the last saved values for tableNavBar.
Pass in a special name you used for this page if differ from ..%GetPageName.
For example Mappings is used for Global/Routine/Package Mappings, so the name used for save has MapType in it to distinguish. If tableId is not "table" then pass it in as the second piece delimited by "^" (example: %CSP.UI.Portal.SQL.TuneTable).
• classmethod UpdateTableNavState(pFilter As %String, pPageSize As %Integer, pMaxRows As %Integer) [ ZenMethod ]
Used to Save TableNavigatorBar Values.
• method navMaxRowsChanged(value) [ Language = javascript ]
Maybe overriden by subclass.
• method navPageSizeChanged(value) [ Language = javascript ]
Maybe overriden by subclass.