org.ow2.petals.tools.juddiAdmin.search
Interface SearchRegistry

All Known Implementing Classes:
SearchRegistryImpl

public interface SearchRegistry

This class allows you to search services and organizations into a UDDI registry with different criteria.

Author:
EL JAI Mohammed

Method Summary
 java.util.List<javax.xml.registry.infomodel.Organization> findAllOrganizations()
          Return all the organizations registered into the registry.
 java.util.List<javax.xml.registry.infomodel.Service> findAllServices()
          Return all the services registered into the registry.
 javax.xml.registry.infomodel.Organization findOrganizationByName(java.lang.String name)
          Return the organization whose name is the string passed in parameter.
 javax.xml.registry.infomodel.Service findServiceByCompany(java.lang.String name, javax.xml.registry.infomodel.Organization org)
          Return the service named 'name' and provided by 'org'.
 javax.xml.registry.infomodel.Service findServiceByName(java.lang.String name)
          Return the service whose name is the string passed in parameter.
 

Method Detail

findAllOrganizations

java.util.List<javax.xml.registry.infomodel.Organization> findAllOrganizations()
                                                                               throws javax.xml.registry.JAXRException
Return all the organizations registered into the registry.

Returns:
Throws:
javax.xml.registry.JAXRException

findOrganizationByName

javax.xml.registry.infomodel.Organization findOrganizationByName(java.lang.String name)
                                                                 throws javax.xml.registry.JAXRException
Return the organization whose name is the string passed in parameter.

Parameters:
name -
Returns:
Throws:
javax.xml.registry.JAXRException

findAllServices

java.util.List<javax.xml.registry.infomodel.Service> findAllServices()
                                                                     throws javax.xml.registry.JAXRException
Return all the services registered into the registry.

Returns:
Throws:
javax.xml.registry.JAXRException

findServiceByName

javax.xml.registry.infomodel.Service findServiceByName(java.lang.String name)
                                                       throws javax.xml.registry.JAXRException
Return the service whose name is the string passed in parameter.

Parameters:
name -
Returns:
Throws:
javax.xml.registry.JAXRException

findServiceByCompany

javax.xml.registry.infomodel.Service findServiceByCompany(java.lang.String name,
                                                          javax.xml.registry.infomodel.Organization org)
                                                          throws javax.xml.registry.JAXRException
Return the service named 'name' and provided by 'org'.

Parameters:
name - service name
org -
Returns:
Throws:
javax.xml.registry.JAXRException


Copyright © 2005-2008 OW2 Consortium. All Rights Reserved.