class %iKnow.UI.KnowledgePortal
extends %iKnow.UI.AbstractPortal
This is a sample User Interface built on top of the iKnow query APIs, displaying a browsable overview
of the semantic elements identified by the iKnow Smart Indexing API. Click on an entity in a list
to browse to the elements similar, related or containing the selected entity.
Use the filter button to filter the displayed results based on metadata criteria.
This is a Zen Page class.
parameter PAGENAME = "iKnow Knowledge Portal";
Optional. This is the display name used for this page.
If not provided, the class name is used.
method BuildSummary(summaryLength As %Integer)
[ ZenMethod ]
method DrawCC(pTable As %ZEN.Component.tablePane, pName As %String, pSeed As %String)
as %Status
method DrawCRC(pTable As %ZEN.Component.tablePane, pName As %String, pSeed As %String)
as %Status
method DrawDrillCC(pTable As %ZEN.Component.tablePane, pName As %String, pSeed As %String)
as %Status
method DrawDrillCRC(pTable As %ZEN.Component.tablePane, pName As %String, pSeed As %String)
as %Status
method DrawPath(pTable As %ZEN.Component.tablePane, pName As %String, pSeed As %String)
as %Status
method DrawSource(pTable As %ZEN.Component.tablePane, pName As %String, pSeed As %String)
as %Status
method DrawSourceDrill(pTable As %ZEN.Component.tablePane, pName As %String, pSeed As %String)
as %Status
method DrillToSources(master As %String, relation As %String, slave As %String)
as %Status
[ ZenMethod ]
method GetInfoPaneText()
as %String
Returns the text to be displayed in infoPane. To be overridden by the subclass using it.
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).
classmethod MakeLink(entity As %String)
as %String
method buildSummaryClient()
[ Language = javascript ]
method displaySourceClient(sourceId)
[ Language = javascript ]
method drillToSourcesClient(master, relation, slave)
[ Language = javascript ]
method onUpdateFilterClient()
[ Language = javascript ]
Client-side method subclasses can override to execute additional logic when the user has changed
filter criteria.
method onUpdateTermClient()
[ Language = javascript ]
Client-side method subclasses can override to take additional actions when the user selects
a new term.