org.apache.ws.scout.registry
Interface IRegistry

All Superinterfaces:
IRegistryBase
All Known Implementing Classes:
RegistryImpl

public interface IRegistry
extends IRegistryBase

IRegistry interface.

Only the functions that scout relies on, are in this interface.

Borrowed from jUDDI.

Author:
Tom Cunningham

Method Summary
 DispositionReport deleteBinding(java.lang.String authInfo, java.lang.String[] bindingKeyArray)
          "Used to remove an existing bindingTemplate from the bindingTemplates collection that is part of a specified businessService structure."
 DispositionReport deleteBusiness(java.lang.String authInfo, java.lang.String[] businessKeyArray)
          "Used to delete registered businessEntity information from the registry."
 DispositionReport deletePublisherAssertions(java.lang.String authInfo, PublisherAssertion[] assertionArray)
           
 DispositionReport deleteService(java.lang.String authInfo, java.lang.String[] serviceKeyArray)
          "Used to delete an existing businessService from the businessServices collection that is part of a specified businessEntity."
 DispositionReport deleteTModel(java.lang.String authInfo, java.lang.String[] tModelKeyArray)
          "Used to delete registered information about a tModel.
 BindingDetail findBinding(java.lang.String serviceKey, CategoryBag categoryBag, TModelBag tModelBag, FindQualifiers findQualifiers, int maxRows)
          "Used to locate specific bindings within a registered businessService.
 BusinessList findBusiness(Name[] nameArray, DiscoveryURLs discoveryURLs, IdentifierBag identifierBag, CategoryBag categoryBag, TModelBag tModelBag, FindQualifiers findQualifiers, int maxRows)
          Used to locate information about one or more businesses.
 ServiceList findService(java.lang.String businessKey, Name[] nameArray, CategoryBag categoryBag, TModelBag tModelBag, FindQualifiers findQualifiers, int maxRows)
          "Used to locate specific services within a registered businessEntity.
 TModelList findTModel(java.lang.String name, CategoryBag categoryBag, IdentifierBag identifierBag, FindQualifiers findQualifiers, int maxRows)
          "Used to locate one or more tModel information structures.
 AssertionStatusReport getAssertionStatusReport(java.lang.String authInfo, java.lang.String completionStatus)
           
 AuthToken getAuthToken(java.lang.String userID, java.lang.String cred)
          "Used to request an authentication token from an Operator Site.
 BusinessDetail getBusinessDetail(java.lang.String businessKey)
          "Used to get the full businessEntity information for one or more businesses.
 BusinessDetail getBusinessDetail(java.lang.String[] businessKeyVector)
          "Used to get the full businessEntity information for one or more businesses.
 java.net.URI getInquiryURI()
           
 PublisherAssertions getPublisherAssertions(java.lang.String authInfo)
           
 java.net.URI getPublishURI()
           
 RegisteredInfo getRegisteredInfo(java.lang.String authInfo)
           
 ServiceDetail getServiceDetail(java.lang.String serviceKey)
          "Used to get full details for a given set of registered businessService data.
 ServiceDetail getServiceDetail(java.lang.String[] serviceKeyArray)
          "Used to get full details for a given set of registered businessService data.
 TModelDetail getTModelDetail(java.lang.String tModelKey)
          "Used to get full details for a given set of registered tModel data.
 TModelDetail getTModelDetail(java.lang.String[] tModelKeyArray)
          "Used to get full details for a given set of registered tModel data.
 Transport getTransport()
           
 BindingDetail saveBinding(java.lang.String authInfo, BindingTemplate[] bindingArray)
          "Used to register new bindingTemplate information or update existing bindingTemplate information.
 BusinessDetail saveBusiness(java.lang.String authInfo, BusinessEntity[] businessArray)
          "Used to register new businessEntity information or update existing businessEntity information.
 ServiceDetail saveService(java.lang.String authInfo, BusinessService[] serviceArray)
          "Used to register or update complete information about a businessService exposed by a specified businessEntity."
 TModelDetail saveTModel(java.lang.String authInfo, TModel[] tModelArray)
          "Used to register or update complete information about a tModel."
 void setInquiryURI(java.net.URI uri)
           
 PublisherAssertions setPublisherAssertions(java.lang.String authInfo, PublisherAssertion[] assertionArray)
           
 void setPublishURI(java.net.URI uri)
           
 void setTransport(Transport transport)
           
 
Methods inherited from interface org.apache.ws.scout.registry.IRegistryBase
execute, getSecurityURI, setSecurityURI
 

Method Detail

getInquiryURI

java.net.URI getInquiryURI()
Specified by:
getInquiryURI in interface IRegistryBase
Returns:
Returns the inquiryURL.

setInquiryURI

void setInquiryURI(java.net.URI uri)
Specified by:
setInquiryURI in interface IRegistryBase
Parameters:
uri - The inquiry uri to set.

getPublishURI

java.net.URI getPublishURI()
Specified by:
getPublishURI in interface IRegistryBase
Returns:
Returns the publishURL.

setPublishURI

void setPublishURI(java.net.URI uri)
Specified by:
setPublishURI in interface IRegistryBase
Parameters:
uri - The publish uri to set.

getTransport

Transport getTransport()
Specified by:
getTransport in interface IRegistryBase
Returns:
Returns the transport.

setTransport

void setTransport(Transport transport)
Specified by:
setTransport in interface IRegistryBase
Parameters:
transport - The transport to set.

setPublisherAssertions

PublisherAssertions setPublisherAssertions(java.lang.String authInfo,
                                           PublisherAssertion[] assertionArray)
                                           throws RegistryException
Throws:
RegistryException;
RegistryException

saveService

ServiceDetail saveService(java.lang.String authInfo,
                          BusinessService[] serviceArray)
                          throws RegistryException
"Used to register or update complete information about a businessService exposed by a specified businessEntity."

Throws:
RegistryException;
RegistryException

saveBinding

BindingDetail saveBinding(java.lang.String authInfo,
                          BindingTemplate[] bindingArray)
                          throws RegistryException
"Used to register new bindingTemplate information or update existing bindingTemplate information. Use this to control information about technical capabilities exposed by a registered business."

Throws:
RegistryException;
RegistryException

saveBusiness

BusinessDetail saveBusiness(java.lang.String authInfo,
                            BusinessEntity[] businessArray)
                            throws RegistryException
"Used to register new businessEntity information or update existing businessEntity information. Use this to control the overall information about the entire business. Of the save_x APIs this one has the broadest effect."

Throws:
RegistryException;
RegistryException

saveTModel

TModelDetail saveTModel(java.lang.String authInfo,
                        TModel[] tModelArray)
                        throws RegistryException
"Used to register or update complete information about a tModel."

Throws:
RegistryException;
RegistryException

deleteBinding

DispositionReport deleteBinding(java.lang.String authInfo,
                                java.lang.String[] bindingKeyArray)
                                throws RegistryException
"Used to remove an existing bindingTemplate from the bindingTemplates collection that is part of a specified businessService structure."

Throws:
RegistryException;
RegistryException

deleteBusiness

DispositionReport deleteBusiness(java.lang.String authInfo,
                                 java.lang.String[] businessKeyArray)
                                 throws RegistryException
"Used to delete registered businessEntity information from the registry."

Throws:
RegistryException;
RegistryException

deleteService

DispositionReport deleteService(java.lang.String authInfo,
                                java.lang.String[] serviceKeyArray)
                                throws RegistryException
"Used to delete an existing businessService from the businessServices collection that is part of a specified businessEntity."

Throws:
RegistryException;
RegistryException

deleteTModel

DispositionReport deleteTModel(java.lang.String authInfo,
                               java.lang.String[] tModelKeyArray)
                               throws RegistryException
"Used to delete registered information about a tModel. If there are any references to a tModel when this call is made, the tModel will be marked deleted instead of being physically removed."

Throws:
RegistryException;
RegistryException

getAssertionStatusReport

AssertionStatusReport getAssertionStatusReport(java.lang.String authInfo,
                                               java.lang.String completionStatus)
                                               throws RegistryException
Throws:
RegistryException;
RegistryException

deletePublisherAssertions

DispositionReport deletePublisherAssertions(java.lang.String authInfo,
                                            PublisherAssertion[] assertionArray)
                                            throws RegistryException
Throws:
RegistryException;
RegistryException

getAuthToken

AuthToken getAuthToken(java.lang.String userID,
                       java.lang.String cred)
                       throws RegistryException
"Used to request an authentication token from an Operator Site. Authentication tokens are required to use all other APIs defined in the publishers API. This server serves as the program's equivalent of a login request."

Throws:
RegistryException;
RegistryException

findBusiness

BusinessList findBusiness(Name[] nameArray,
                          DiscoveryURLs discoveryURLs,
                          IdentifierBag identifierBag,
                          CategoryBag categoryBag,
                          TModelBag tModelBag,
                          FindQualifiers findQualifiers,
                          int maxRows)
                          throws RegistryException
Used to locate information about one or more businesses. Returns a businessList message that matches the conditions specified.

Throws:
RegistryException;
RegistryException

getBusinessDetail

BusinessDetail getBusinessDetail(java.lang.String businessKey)
                                 throws RegistryException
"Used to get the full businessEntity information for one or more businesses. Returns a businessDetail message."

Throws:
RegistryException;
RegistryException

getBusinessDetail

BusinessDetail getBusinessDetail(java.lang.String[] businessKeyVector)
                                 throws RegistryException
"Used to get the full businessEntity information for one or more businesses. Returns a businessDetail message."

Throws:
RegistryException;
RegistryException

getPublisherAssertions

PublisherAssertions getPublisherAssertions(java.lang.String authInfo)
                                           throws RegistryException
Throws:
RegistryException;
RegistryException

getRegisteredInfo

RegisteredInfo getRegisteredInfo(java.lang.String authInfo)
                                 throws RegistryException
Throws:
RegistryException;
RegistryException

findTModel

TModelList findTModel(java.lang.String name,
                      CategoryBag categoryBag,
                      IdentifierBag identifierBag,
                      FindQualifiers findQualifiers,
                      int maxRows)
                      throws RegistryException
"Used to locate one or more tModel information structures. Returns a tModelList structure."

Throws:
RegistryException;
RegistryException

findBinding

BindingDetail findBinding(java.lang.String serviceKey,
                          CategoryBag categoryBag,
                          TModelBag tModelBag,
                          FindQualifiers findQualifiers,
                          int maxRows)
                          throws RegistryException
"Used to locate specific bindings within a registered businessService. Returns a bindingDetail message."

Throws:
RegistryException

findService

ServiceList findService(java.lang.String businessKey,
                        Name[] nameArray,
                        CategoryBag categoryBag,
                        TModelBag tModelBag,
                        FindQualifiers findQualifiers,
                        int maxRows)
                        throws RegistryException
"Used to locate specific services within a registered businessEntity. Return a serviceList message." From the XML spec (API, p18) it appears that the name, categoryBag, and tModelBag arguments are mutually exclusive.

Throws:
RegistryException;
RegistryException

getTModelDetail

TModelDetail getTModelDetail(java.lang.String tModelKey)
                             throws RegistryException
"Used to get full details for a given set of registered tModel data. Returns a tModelDetail message."

Throws:
RegistryException;
RegistryException

getTModelDetail

TModelDetail getTModelDetail(java.lang.String[] tModelKeyArray)
                             throws RegistryException
"Used to get full details for a given set of registered tModel data. Returns a tModelDetail message."

Throws:
RegistryException;
RegistryException

getServiceDetail

ServiceDetail getServiceDetail(java.lang.String serviceKey)
                               throws RegistryException
"Used to get full details for a given set of registered businessService data. Returns a serviceDetail message."

Throws:
RegistryException;
RegistryException

getServiceDetail

ServiceDetail getServiceDetail(java.lang.String[] serviceKeyArray)
                               throws RegistryException
"Used to get full details for a given set of registered businessService data. Returns a serviceDetail message."

Throws:
RegistryException;
RegistryException


Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.