Home > Class Reference > HSLIB namespace > HS.Util.ContextSearch

HS.Util.ContextSearch

class HS.Util.ContextSearch extends %ZEN.Portal.ContextSearch

Ensemble-specific version of context search methods.

Method Inventory

Methods

classmethod Classes(Output pCaption As %String, Output pTopResults, Output pResults, ByRef pParms As %String, pSearchKey As %String) as %Status [ Language = objectscript ]
Same as %ZEN.Portal.ContextSearch:Classes, but includes the super if specified
classmethod DeviceOIDs(Output pCaption As %String, Output pTopResults, Output pResults, ByRef pParms As %String, pSearchKey As %String = "") as %Status [ Language = objectscript ]
classmethod ServiceNameItems(Output pCaption As %String, Output pTopResults, Output pResults, ByRef pParms As %String, pSearchKey As %String = "") as %Status [ Language = objectscript ]
classmethod ServiceNameItemsByParam(Output pCaption As %String, Output pTopResults, Output pResults, ByRef pParms As %String, pSearchKey As %String = "") as %Status [ Language = objectscript ]
ServiceNameItemsByParam allows the selection of all services or a subset based on various service property values. Currently it supports parameter values for Type and DeviceFunction.

To select all services, include this string in your SETTINGS parameter:
ServiceName:Basic:selector?Select=1&context={HS.Util.ContextSearch/ServiceNameItemsByParam}

Other examples:

To select one service type, include the Type parameter, for example:
ServiceName:Basic:selector?Select=1&context={HS.Util.ContextSearch/ServiceNameItemsByParam?Type=TCP}

To select multiple service types, the Type value is a vertical bar-delimited string, for example:
ServiceName:Basic:selector?Select=1&context={HS.Util.ContextSearch/ServiceNameItemsByParam?Type=SOAP|HTTP}
classmethod TraceValues(Output pCaption As %String, Output pTopResults, Output pResults, ByRef pParms As %String, pSearchKey As %String = "") as %Status [ Language = objectscript ]

Inherited Members

Inherited Methods

FeedbackOpens in a new window