com.metamatrix.uddi.util
Class MMUddiHelper

java.lang.Object
  extended by com.metamatrix.uddi.util.MMUddiHelper
All Implemented Interfaces:
UddiHelper

public class MMUddiHelper
extends java.lang.Object
implements UddiHelper

Concrete implementation of UddiHelper.

Since:
5.6

Constructor Summary
MMUddiHelper()
           
 
Method Summary
 org.uddi4j.response.BusinessList getAllBusinesses(java.lang.String inquiryUrl, java.lang.String publishUrl, int maxRows)
          Get all businesses from the UDDI Registry.
 org.uddi4j.response.BusinessList getBusinessByName(java.lang.String inquiryUrl, java.lang.String publishUrl, java.lang.String searchString, int maxRows)
          Get business by name from the UDDI Registry.
 boolean isPublished(java.lang.String UddiUserName, java.lang.String UddiPassword, java.lang.String busKey, java.lang.String wsdlUrl, java.lang.String inquiryUrl, java.lang.String publishUrl)
          Determine if passed WSDL is published.
 void publish(java.lang.String uddiUserName, java.lang.String uddiPassword, java.lang.String busKey, java.lang.String wsdlUrl, java.lang.String inquiryUrl, java.lang.String publishUrl)
          Publish WSDL to the UDDI Registry.
 void unPublish(java.lang.String UddiUserName, java.lang.String UddiPassword, java.lang.String busKey, java.lang.String wsdlUrl, java.lang.String inquiryUrl, java.lang.String publishUrl)
          Un-Publish WSDL from the UDDI Registry.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MMUddiHelper

public MMUddiHelper()
Method Detail

publish

public void publish(java.lang.String uddiUserName,
                    java.lang.String uddiPassword,
                    java.lang.String busKey,
                    java.lang.String wsdlUrl,
                    java.lang.String inquiryUrl,
                    java.lang.String publishUrl)
             throws MMUddiException
Publish WSDL to the UDDI Registry.

Specified by:
publish in interface UddiHelper
Parameters:
uddiUserName - The username used to logon to the UDDI registry
uddiPassword - The password used to logon to the UDDI registry
busKey - The key for the bsusiness entity this WSDL is associated with
wsdlUrl - The URL of the WSDL to publish
inquiryUrl - The inquiry url of the UDDI registry
publishUrl - The publish url of the UDDI registry
Throws:
MMUddiException
Since:
5.6
See Also:
UddiHelper.publish(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)

unPublish

public void unPublish(java.lang.String UddiUserName,
                      java.lang.String UddiPassword,
                      java.lang.String busKey,
                      java.lang.String wsdlUrl,
                      java.lang.String inquiryUrl,
                      java.lang.String publishUrl)
               throws MMUddiException
Description copied from interface: UddiHelper
Un-Publish WSDL from the UDDI Registry.

Specified by:
unPublish in interface UddiHelper
Parameters:
UddiUserName - The username used to logon to the UDDI registry
UddiPassword - The password used to logon to the UDDI registry
busKey - The key for the bsusiness entity this WSDL is associated with
wsdlUrl - The url for the WSDL to be un-published
inquiryUrl - The inquiry url of the UDDI registry
publishUrl - The publish url of the UDDI registry
Throws:
MMUddiException
Since:
5.6
See Also:
com.metamatrix.uddi.util.UddiHelper#unPublish(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)

getAllBusinesses

public org.uddi4j.response.BusinessList getAllBusinesses(java.lang.String inquiryUrl,
                                                         java.lang.String publishUrl,
                                                         int maxRows)
                                                  throws MMUddiException
Get all businesses from the UDDI Registry.

Specified by:
getAllBusinesses in interface UddiHelper
Parameters:
inquiryUrl - The inquiry url of the UDDI registry
publishUrl - The publish url of the UDDI registry
Returns:
List List of matching <@link BusinessEntity>s
Throws:
MMUddiException
Since:
5.6
See Also:
UddiHelper.getAllBusinesses(java.lang.String, java.lang.String, int)

getBusinessByName

public org.uddi4j.response.BusinessList getBusinessByName(java.lang.String inquiryUrl,
                                                          java.lang.String publishUrl,
                                                          java.lang.String searchString,
                                                          int maxRows)
                                                   throws MMUddiException
Get business by name from the UDDI Registry.

Specified by:
getBusinessByName in interface UddiHelper
Parameters:
inquiryUrl - The inquiry url of the UDDI registry
publishUrl - The publish url of the UDDI registry
searchString - Business name search string.
maxRows - Maximum rows to be returned.
Returns:
List List of matching <@link BusinessEntity>s
Throws:
MMUddiException
Since:
5.6
See Also:
com.metamatrix.uddi.util.UddiHelper#getBusinessByName(java.lang.String, java.lang.String, int)

isPublished

public boolean isPublished(java.lang.String UddiUserName,
                           java.lang.String UddiPassword,
                           java.lang.String busKey,
                           java.lang.String wsdlUrl,
                           java.lang.String inquiryUrl,
                           java.lang.String publishUrl)
                    throws MMUddiException
Description copied from interface: UddiHelper
Determine if passed WSDL is published.

Specified by:
isPublished in interface UddiHelper
wsdlUrl - The url for the WSDL to search for
inquiryUrl - Inquiry URL of the UDDI Registry
publishUrl - The publish url of the UDDI registry
Returns:
boolean true (published) or false (not published)
Throws:
MMUddiException
Since:
5.6
See Also:
UddiHelper.isPublished(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)


Copyright © 2009. All Rights Reserved.