%iKnow.UI.AbstractPortal
deprecated abstract class %iKnow.UI.AbstractPortal extends %iKnow.UI.Styles
This is the base class for the sample iKnow Portal pages, which is available to be subclassed by custom Zen pages exposing iKnow content and/or functionality. Some of the convenience services provided by this page include:
- methods and widgets to select and manage a 'current' domain, source and term for the session, which can be used by queries and operations on this page.
- a pane featuring a modalGroup widget for the user to specify a filter based on metadata criteria (showing all visible metadat fields for the current domain).
- utility methods to page through results from iKnow queries.
Property Inventory
Method Inventory
- %OnAfterCreatePage()
- AddFilter()
- BuildInfoPane()
- ChangeFilterDSDimField()
- ChangeFilterMDField()
- ChangeFilterMDOp()
- ChangeFilterType()
- ClearFilter()
- DrawFilter()
- EndSession()
- ExecuteQuery()
- ExecuteQuerySys()
- GetCurrentFilterMode()
- GetCurrentFilterObject()
- GetCurrentFilterString()
- GetInfoPaneText()
- GetPage()
- GetSource()
- GetSourceObject()
- InitPages()
- InputTerm()
- NextPage()
- OnAfterCreatePage()
- OnChangeLanguageMode()
- OnUpdateDomain()
- OnUpdateFilter()
- OnUpdateSource()
- OnUpdateTerm()
- PreviousPage()
- RemoveFilterAt()
- ResetPages()
- SetSkiplists()
- ToggleGroupLogic()
- UpdateDomain()
- UpdateSource()
- UpdateTerm()
- addFilterClient()
- changeFilterDSDimFieldClient()
- changeFilterMDFieldClient()
- changeFilterMDOpClient()
- changeFilterTypeClient()
- clearFilterClient()
- drillFilterClient()
- inputTermClient()
- inputTermDeferred()
- nextPageClient()
- onTermKeyUp()
- onUpdateFilterClient()
- onUpdateSourceClient()
- onUpdateTermClient()
- previousPageClient()
- refreshMDFilterFields()
- removeFilterClient()
- setCurrentGroupClient()
- setSkiplistsClient()
- showFilterForm()
- showSkiplists()
- toggleGroupLogicClient()
- updateFilterClient()
- updateSourceClient()
- updateTermClient()
- useTermClient()
Parameters
parameter APPLICATION;
Inherited description: This is the class name of this application this page belongs to.
If not defined, this page does not belong to an application.
parameter AUTONS = 1;
If true, auto-switch namespace to whatever $NAMESPACE is passed in.
parameter DOMAIN = %iKnow;
Inherited description: Localization domain
parameter RESOURCE = %Development;
All pages in %iKnow.UI require at least the %Development resource
Properties
property domain as %ZEN.Datatype.integer (ZENURL = "domain");
Property methods: domainDisplayToLogical(), domainGet(), domainIsValid(), domainLogicalToDisplay(), domainLogicalToOdbc(), domainNormalize(), domainSet()
property filter as %ZEN.Datatype.string (ZENURL = "filter");
Property methods: filterDisplayToLogical(), filterGet(), filterIsValid(), filterLogicalToDisplay(), filterLogicalToOdbc(), filterNormalize(), filterSet()
property filtermode as %ZEN.Datatype.integer (ZENURL = "filtermode") [ InitialExpression = $$$FILTERALLANDSORT ];
Property methods: filtermodeDisplayToLogical(), filtermodeGet(), filtermodeIsValid(), filtermodeLogicalToDisplay(), filtermodeLogicalToOdbc(), filtermodeNormalize(), filtermodeSet()
property languageMode as %ZEN.Datatype.string (VALUELIST = ",en,ja", ZENURL = "langmode") [ InitialExpression = "en" ];
Property methods: languageModeDisplayToLogical(), languageModeGet(), languageModeIsValid(), languageModeLogicalToDisplay(), languageModeLogicalToOdbc(), languageModeNormalize(), languageModeSet()
property skiplists as %ZEN.Datatype.string (ZENURL = "skiplists");
Property methods: skiplistsDisplayToLogical(), skiplistsGet(), skiplistsIsValid(), skiplistsLogicalToDisplay(), skiplistsLogicalToOdbc(), skiplistsNormalize(), skiplistsSet()
property source as %ZEN.Datatype.integer (ZENURL = "source");
Property methods: sourceDisplayToLogical(), sourceGet(), sourceIsValid(), sourceLogicalToDisplay(), sourceLogicalToOdbc(), sourceNormalize(), sourceSet()
property term as %ZEN.Datatype.string (ZENURL = "string");
Property methods: termDisplayToLogical(), termGet(), termIsValid(), termLogicalToDisplay(), termLogicalToOdbc(), termNormalize(), termSet()
Methods
method %OnAfterCreatePage() as %Status
Initializes some of the panes and session variables used by this page, fetching domain,
source and term variables from the request (if present).
If certain activities need to be performed in a subclass, override
OnAfterCreatePage() rather than this method.
final method BuildInfoPane() as %Status
Builds infoPane .
method ClearFilter() as %Status [ ZenMethod ]
This method draws the filter in the filter popup screen
final method EndSession() as %Status [ ZenMethod ]
Utility method to end the session from the client.
method ExecuteQuery(pRS As %Library.ResultSet, ByRef tSC As %Status, pInfo As %ZEN.Auxiliary.QueryInfo) as %Boolean
Utility method to avoid executing queries when no domain is specified (which could lead to
noisy errors in the UI).
method ExecuteQuerySys(pRS As %Library.ResultSet, ByRef tSC As %Status, pInfo As %ZEN.Auxiliary.QueryInfo) as %Boolean
Same as ExecuteQuery, but will use the system domain (ID=0) if ..source<0
method GetCurrentFilterMode() as %Integer
Returns the current filter mode, if any
method GetCurrentFilterObject() as %iKnow.Filters.Filter
Returns the current filter object, if any
deprecated method GetCurrentFilterString() as %String
Returns the current filter string, if any
NOTE: this method is deprecated. Please access filter directly instead.
method GetInfoPaneText() as %String
Returns the text to be displayed in infoPane . To be overridden by the subclass using it.
Utility method to return the "current page" stored in the session for the supplied component
name, or 1 if no page was registered so far.
deprecated final method GetSource() as %Integer [ ZenMethod ]
Returns the currently selected source ID.
NOTE: this method is deprecated. Please access source directly instead.
final method GetSourceObject() as %iKnow.Objects.Source
Returns the currently selected source as a %iKnow.Objects.Source or
%iKnow.Objects.VirtualSource object.
method InitPages() as %Status
This method should to be implemented by subclasses using the paging functions, giving all paged
components a meaningful initial page value (usually 1).
Updates the current page for the supplied component to the next integer value.
method OnAfterCreatePage() as %Status
method OnChangeLanguageMode() as %Status
This method is called whenever the language mode changes, as part of UpdateSource()
or %OnAfterCreatePage()
This method can be overridden at the subclass level to take any additional server-side
actions when the domain is changed.
method OnUpdateFilter() as %Status [ ZenMethod ]
Server-side method subclasses can override to take additional actions upon a change in the
current source.
Server-side methods subclasses can override to take additional actions when the user selects
a new term.
Updates the current page for the supplied component to the previous integer value (minimum value is 1).
method RemoveFilterAt(pGroup) as %Status [ ZenMethod ]
method ResetPages() as %Integer [ ZenMethod ]
Resets all page information in the session.
method SetSkiplists(skipListIds As %String) [ ZenMethod ]
ZenMethod to take appropriate cleanup action if the domain is updated. Will in turn call
OnUpdateDomain(), which can be overridden by subclasses.
Server-side method updating the source pointers and taking any other appropriate actions. Invokes
OnUpdateSource() afterwards.
ZenMethod taking appropriate server-side cleanup and update actions when a new term is selected.
Calls OnUpdateTerm() afterwards.
clientmethod addFilterClient() [ Language = javascript ]
clientmethod changeFilterDSDimFieldClient() [ Language = javascript ]
clientmethod changeFilterMDFieldClient() [ Language = javascript ]
clientmethod changeFilterMDOpClient() [ Language = javascript ]
clientmethod changeFilterTypeClient() [ Language = javascript ]
clientmethod clearFilterClient() [ Language = javascript ]
clientmethod drillFilterClient(filterString) [ Language = javascript ]
Client-side method called when the "drill" link next to a filter (in VIEW mode) is clicked
clientmethod inputTermClient(text) [ Language = javascript ]
clientmethod inputTermDeferred(text) [ Language = javascript ]
final clientmethod nextPageClient(componentName) as %Status [ Language = javascript ]
Client-side method to trigger a components query to be re-executed for the next page of results.
clientmethod onTermKeyUp() [ Language = javascript ]
Key capture method to trigger updateTermClient() when the enter key is pressed.
clientmethod onUpdateFilterClient() [ Language = javascript ]
Client-side method subclasses can override to execute additional logic when the user has changed
filter criteria.
clientmethod onUpdateSourceClient(source) [ Language = javascript ]
Client-side method subclasses can override to take additional actions upon a change in the
current source.
clientmethod onUpdateTermClient(term) [ Language = javascript ]
Client-side method subclasses can override to take additional actions when the user selects
a new term.
final clientmethod previousPageClient(componentName) as %Status [ Language = javascript ]
Client-side method to trigger a components query to be re-executed for the previous page of results.
clientmethod refreshMDFilterFields() [ Language = javascript ]
clientmethod removeFilterClient(depth) [ Language = javascript ]
clientmethod setCurrentGroupClient(depth) [ Language = javascript ]
clientmethod setSkiplistsClient() [ Language = javascript ]
final clientmethod showFilterForm() [ Language = javascript ]
Display the filter popup window.
clientmethod showSkiplists() [ Language = javascript ]
clientmethod toggleGroupLogicClient(depth) [ Language = javascript ]
final clientmethod updateFilterClient() [ Language = javascript ]
Client-side method called when the user commits his filter criteria in the filter popup window.
This will call OnUpdateFilter() on the server, close the popup and call
onUpdateFilterClient() afterwards.
final clientmethod updateSourceClient(source) [ Language = javascript ]
Client-side method updating the source pointers and taking any other appropriate actions. In turn
invokes Updatesource() and onUpdateSourceClient().
final clientmethod updateTermClient(term) [ Language = javascript ]
Client-side method to be called when the user selects a new term, which will call
UpdateTerm() and onUpdateTermClient().
final clientmethod useTermClient(term) [ Language = javascript ]
Client-side method which will explicitly select a certain term, updating the txtTerm input field in
txtTermPane and then call updateTermClient().
Inherited Members
Inherited Properties
- %condition
- %import
- %includeFiles
- %page
- %resource
- align
- aux
- backgroundTimerInterval
- cellAlign
- cellSize
- cellStyle
- cellVAlign
- children
- composite
- containerStyle
- cssLevel
- disabled
- dragAndDrop
- dragEnabled
- dropEnabled
- enclosingClass
- enclosingStyle
- error
- groupClass
- groupStyle
- height
- hidden
- hint
- hintClass
- hintStyle
- id
- index
- label
- labelClass
- labelDisabledClass
- labelPosition
- labelStyle
- layout
- name
- onafterdrag
- onbeforedrag
- onclick
- ondrag
- ondrop
- onhide
- onrefresh
- onshow
- onupdate
- parent
- showLabel
- slice
- title
- tuple
- useSVG
- useSoftModals
- valign
- visible
- width
- window
- zenPersistentPopup
Inherited Methods
- %AddChild()
- %AddChildAfter()
- %AddChildBefore()
- %AddComponent()
- %AddImportedComponents()
- %AddToSaveSet()
- %ApplyURLParms()
- %Attr()
- %BindExport()
- %ClassIsLatestVersion()
- %ClassName()
- %ConstructClone()
- %DispatchClassMethod()
- %DispatchGetModified()
- %DispatchGetProperty()
- %DispatchMethod()
- %DispatchSetModified()
- %DispatchSetMultidimProperty()
- %DispatchSetProperty()
- %DrawAutoLogout()
- %DrawClassDefinitions()
- %DrawComponentHTML()
- %DrawHTML()
- %DrawHTMLPage()
- %DrawJSStrings()
- %DrawObjectDefinitions()
- %EnclosingDivId()
- %EndBackgroundMethod()
- %EndScript()
- %Eval()
- %EvalC()
- %Extends()
- %ForceClientRender()
- %GetChildIndex()
- %GetComponent()
- %GetComponentById()
- %GetComponentByName()
- %GetEventHandlers()
- %GetLinks()
- %GetPageName()
- %GetParameter()
- %GetValueById()
- %GetValueByName()
- %GetXMLName()
- %IsA()
- %IsModified()
- %Link()
- %LinkCSS()
- %LinkScript()
- %MakeId()
- %New()
- %NormalizeObject()
- %ObjectModified()
- %OnAddToPageAfter()
- %OnAddToPageBefore()
- %OnBeforeCreatePage()
- %OnCreateApplication()
- %OnCreatePage()
- %OnDetermineCSSLevel()
- %OnDrawEnclosingDiv()
- %OnDrawHTMLBody()
- %OnDrawHTMLHead()
- %OnDrawHTMLMeta()
- %OnDrawObjectProperties()
- %OnFinishBackgroundTask()
- %OnMonitorBackgroundTask()
- %OnMutateChildren()
- %OnObjectSynch()
- %OnPreHTTP()
- %OnSubmit()
- %OnUseSoftModals()
- %OnZENDeserialize()
- %OriginalNamespace()
- %PackageName()
- %QuoteValue()
- %QuoteValueL10N()
- %RemoveChild()
- %RemoveChildren()
- %RemoveComponent()
- %RemoveFromSaveSet()
- %RunBackgroundMethod()
- %Self()
- %SerializeObject()
- %SetBackgroundMethodStatus()
- %SetErrorById()
- %SetErrorByName()
- %SetModified()
- %SetValueById()
- %SetValueByName()
- %SetValuesByName()
- %StartScript()
- %ValidateObject()
- %ZENVersion()
- ConvertParameter()
- Decrypt()
- Encrypt()
- EscapeHTML()
- EscapeURL()
- GetDefaultHighlightSpec()
- GetDefaultHighlightSpecStatic()
- HyperEventCall()
- HyperEventHead()
- Include()
- InsertHiddenField()
- InsertHiddenFields()
- IsPrivate()
- JavaInstalled()
- Link()
- OnHTTPHeader()
- OnPage()
- OnPageError()
- OnPostHTTP()
- OnPostHyperEvent()
- OnPreHTTP()
- OnPreHyperEvent()
- Page()
- QuoteJS()
- RewriteURL()
- ShowError()
- StartTimer()
- StopTimer()
- ThrowError()
- UnescapeHTML()
- UnescapeURL()
- WriteLegend()
- XMLDTD()
- XMLExport()
- XMLExportToStream()
- XMLExportToString()
- XMLNew()
- XMLSchema()
- XMLSchemaNamespace()
- XMLSchemaType()
- addChild()
- addChildAfter()
- addChildBefore()
- cancelPopup()
- childrenMutated()
- correctIELayering()
- createComponent()
- createComponentNS()
- deleteComponent()
- dragFinishHandler()
- dragHandler()
- dragNotifyHandler()
- dragStartHandler()
- dropHandler()
- dropStartHandler()
- endModal()
- exposeComponent()
- findElement()
- fireOnResizeEvent()
- fireOnUnloadEvent()
- fireOnUpdateEvent()
- firePopupAction()
- getChildIndex()
- getComponent()
- getComponentById()
- getEnclosingDiv()
- getHidden()
- getHintElement()
- getLabelElement()
- getOpener()
- getProperty()
- getSettings()
- getType()
- gotoPage()
- invokeSuper()
- isOfType()
- launchPopupWindow()
- makeId()
- onCreate()
- onDelete()
- onDisplayHandler()
- onEndModalHandler()
- onPopupAction()
- onRefreshContents()
- onSerialize()
- onServerMethodCall()
- onServerMethodError()
- onServerMethodReturn()
- onStartModalHandler()
- ondisabledHandler()
- onhandleAutoLogoutWarn()
- onkeydownHandler()
- onkeyupHandler()
- onlayoutHandler()
- onloadHandler()
- onlogoutHandler()
- onoverlayHandler()
- onresizeHandler()
- onunloadHandler()
- onupdateHandler()
- popupActionHandler()
- refreshContents()
- removeChild()
- render()
- renderContents()
- renderSVG()
- setComponentId()
- setHidden()
- setOverlayMode()
- setProperty()
- setPropertyAll()
- setTraceOption()
- startModal()
- startProgressBar()
- stopProgressBar()