Home > Class Reference > ENSLIB namespace > EnsLib.UDDI.FindBinding

EnsLib.UDDI.FindBinding

class EnsLib.UDDI.FindBinding extends EnsLib.UDDI.Finder

This class is used to locate a list of Binding entries which match a given set of criteria

Property Inventory (Including Private)

Method Inventory (Including Private)

Properties (Including Private)

property CategoryBag as EnsLib.UDDI.uddi.categoryBag;
By default, if the CategoryBag property of a FindBusiness object is non-empty, the Send method of the FindBusiness object retrieves only those BusinessInfo objects that match all of the category references. You can specify that the BusinessInfo objects can match any of the category references by including the OrAllKeys field in the FindQualifiers property.
Property methods: CategoryBagGet(), CategoryBagGetSwizzled(), CategoryBagIsValid(), CategoryBagNewObject(), CategoryBagSet()
property FindTModel as EnsLib.UDDI.uddi.findtModel;
Contains a FindTModel object
Property methods: FindTModelGet(), FindTModelGetSwizzled(), FindTModelIsValid(), FindTModelNewObject(), FindTModelSet()
property ServiceKey as EnsLib.UDDI.uddi.serviceKey;
The ServiceKey property contains a UUID that is used to specify a particular Service instance to search for.
Property methods: ServiceKeyDisplayToLogical(), ServiceKeyGet(), ServiceKeyIsValid(), ServiceKeyLogicalToDisplay(), ServiceKeyLogicalToOdbc(), ServiceKeyNormalize(), ServiceKeySet()
property TModelBag as EnsLib.UDDI.uddi.tModelBag;
Contains a collection of UUIDs that is assigned to the tModels that are used to locate an appropriate business
Property methods: TModelBagGet(), TModelBagGetSwizzled(), TModelBagIsValid(), TModelBagNewObject(), TModelBagSet()

Methods (Including Private)

private method %OnNew(initvalue As %CacheString) as %Status
This callback method is invoked by the %New() method to provide notification that a new instance of an object is being created.

If this method returns an error then the object will not be created.

It is passed the arguments provided in the %New call. When customizing this method, override the arguments with whatever variables and types you expect to receive from %New(). For example, if you're going to call %New, passing 2 arguments, %OnNew's signature could be:

Method %OnNew(dob as %Date = "", name as %Name = "") as %Status

method AddCategory(pTModelKey As EnsLib.UDDI.uddi.tModelKey, pKeyName As %String, pKeyValue As %String) as %Status
Helper method to add a category
method AddTModelKey(pKey As EnsLib.UDDI.uddi.tModelKey) as %Status
Helper method to add a key (e.g. uuid:8609C81E-EE1F-4D5A-B202-3EB13AD01823)
method Send(pConnection As EnsLib.UDDI.Connection, pListHead As %Integer = 0, Output pListDescription As EnsLib.UDDI.uddi.listDescription, Output pBindingTemplates As %ListOfObjects(ELEMENTTYPE="EnsLib.UDDI.uddi.bindingTemplate"), Output pTruncated As %Boolean) as %Status
Sends the FindBinding Request to the UDDI Server. Returns as output a list of BindingTemplate objects matching the request criteria. Many UDDI servers restrict the number of matching BindingTemplates that they return for a find request. If your find request exceeds the number set by a UDDI server, the result is truncated. The pTruncated output parameter will be set to TRUE (1)
classmethod Test(pConnection As EnsLib.UDDI.Connection, pServiceKey As EnsLib.UDDI.uddi.serviceKey, pTModelKey As EnsLib.UDDI.uddi.tModelKey) as %Status
This method tests the FindBinding functionality. FindBinding allows you to find the bindings within a specified service which define the specified tModelKey. As such, the ServiceKey MUST be specified and AT LEAST ONE tModelKey
private method validateRequest() as %Status
Helper method to validate the request before sending to the server

Inherited Members

Inherited Properties (Including Private)

Inherited Methods (Including Private)