org.apache.juddi
Class AbstractRegistry

java.lang.Object
  extended by org.apache.juddi.AbstractRegistry
All Implemented Interfaces:
IRegistry
Direct Known Subclasses:
RegistryEngine, RegistryProxy

public abstract class AbstractRegistry
extends java.lang.Object
implements IRegistry

Represents a vesion 2.0 UDDI registry and implements all services as specified in the UDDI version 2.0 specification.

Author:
Steve Viens (sviens@apache.org)

Field Summary
 
Fields inherited from interface org.apache.juddi.IRegistry
JUDDI_V1_GENERIC, JUDDI_V1_NAMESPACE, UDDI_V1_GENERIC, UDDI_V1_NAMESPACE, UDDI_V2_GENERIC, UDDI_V2_NAMESPACE, UDDI_V3_GENERIC, UDDI_V3_NAMESPACE
 
Constructor Summary
AbstractRegistry()
           
 
Method Summary
 DispositionReport addPublisherAssertions(AuthInfo authInfo, java.util.Vector assertionVector)
           
 DispositionReport deleteBinding(AuthInfo authInfo, java.util.Vector bindingKeyVector)
          "Used to remove an existing bindingTemplate from the bindingTemplates collection that is part of a specified businessService structure."
 DispositionReport deleteBusiness(AuthInfo authInfo, java.util.Vector businessKeyVector)
          "Used to delete registered businessEntity information from the registry."
 DispositionReport deletePublisher(AuthInfo authInfo, java.util.Vector publisherIDVector)
          "Used to delete an existing publisher accounts."
 DispositionReport deletePublisherAssertions(AuthInfo authInfo, java.util.Vector assertionVector)
           
 DispositionReport deleteService(AuthInfo authInfo, java.util.Vector serviceKeyVector)
          "Used to delete an existing businessService from the businessServices collection that is part of a specified businessEntity."
 DispositionReport deleteTModel(AuthInfo authInfo, java.util.Vector tModelKeyVector)
          "Used to delete registered information about a tModel.
 DispositionReport discardAuthToken(AuthInfo authInfo)
          "Used to inform an Operator Site that a previously provided authentication token is no longer valid.
 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(java.util.Vector nameVector, DiscoveryURLs discoveryURLs, IdentifierBag identifierBag, CategoryBag categoryBag, TModelBag tModelBag, FindQualifiers findQualifiers, int maxRows)
          Used to locate information about one or more businesses.
 PublisherList findPublisher(java.lang.String publisherID, java.lang.String name, FindQualifiers findQualifiers, int maxRows)
           
 RelatedBusinessesList findRelatedBusinesses(java.lang.String businessKey, KeyedReference keyedReference, FindQualifiers findQualifiers, int maxRows)
           
 ServiceList findService(java.lang.String businessKey, java.util.Vector nameVector, 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(AuthInfo 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.
 BindingDetail getBindingDetail(java.lang.String bindingKey)
          Used to get full bindingTemplate information suitable for a particular business service.
 BindingDetail getBindingDetail(java.util.Vector bindingKeys)
          "Used to get full bindingTemplate information suitable for make one or more service requests.
 BusinessDetail getBusinessDetail(java.lang.String businessKey)
          Used to get the full businessEntity information for a particular business entity.
 BusinessDetail getBusinessDetail(java.util.Vector businessKeyVector)
          "Used to get the full businessEntity information for one or more businesses.
 BusinessDetailExt getBusinessDetailExt(java.lang.String businessKey)
          "Used to get extended businessEntity information.
 BusinessDetailExt getBusinessDetailExt(java.util.Vector businessKeyVector)
          "Used to get extended businessEntity information.
 PublisherAssertions getPublisherAssertions(AuthInfo authInfo)
           
 PublisherDetail getPublisherDetail(java.util.Vector publisherIDVector)
           
 RegisteredInfo getRegisteredInfo(AuthInfo authInfo)
          "Used to request an abbreviated synopsis of all information currently managed by a given individual."
 RegistryInfo getRegistryInfo()
          "Used to request an abbreviated synopsis of all information currently managed by a given individual."
 ServiceDetail getServiceDetail(java.lang.String serviceKey)
          "Used to get full details for a particular registered businessService.
 ServiceDetail getServiceDetail(java.util.Vector serviceKeyVector)
          "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 particular registered TModel.
 TModelDetail getTModelDetail(java.util.Vector tModelKeyVector)
          "Used to get full details for a given set of registered tModel data.
 BindingDetail saveBinding(AuthInfo authInfo, java.util.Vector bindingVector)
          "Used to register new bindingTemplate information or update existing bindingTemplate information.
 BusinessDetail saveBusiness(AuthInfo authInfo, java.util.Vector businessVector)
          "Used to register new businessEntity information or update existing businessEntity information.
 PublisherDetail savePublisher(AuthInfo authInfo, java.util.Vector publisherVector)
           
 ServiceDetail saveService(AuthInfo authInfo, java.util.Vector serviceVector)
          "Used to register or update complete information about a businessService exposed by a specified businessEntity."
 TModelDetail saveTModel(AuthInfo authInfo, java.util.Vector tModelVector)
          "Used to register or update complete information about a tModel."
 PublisherAssertions setPublisherAssertions(AuthInfo authInfo, java.util.Vector assertionVector)
           
 DispositionReport validateValues(java.util.Vector businessVector, java.util.Vector serviceVector, java.util.Vector tModelVector)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.juddi.IRegistry
execute
 

Constructor Detail

AbstractRegistry

public AbstractRegistry()
Method Detail

addPublisherAssertions

public DispositionReport addPublisherAssertions(AuthInfo authInfo,
                                                java.util.Vector assertionVector)
                                         throws RegistryException
Specified by:
addPublisherAssertions in interface IRegistry
Throws:
RegistryException;
RegistryException

deleteBinding

public DispositionReport deleteBinding(AuthInfo authInfo,
                                       java.util.Vector bindingKeyVector)
                                throws RegistryException
"Used to remove an existing bindingTemplate from the bindingTemplates collection that is part of a specified businessService structure."

Specified by:
deleteBinding in interface IRegistry
Throws:
RegistryException;
RegistryException

deleteBusiness

public DispositionReport deleteBusiness(AuthInfo authInfo,
                                        java.util.Vector businessKeyVector)
                                 throws RegistryException
"Used to delete registered businessEntity information from the registry."

Specified by:
deleteBusiness in interface IRegistry
Throws:
RegistryException;
RegistryException

deletePublisher

public DispositionReport deletePublisher(AuthInfo authInfo,
                                         java.util.Vector publisherIDVector)
                                  throws RegistryException
"Used to delete an existing publisher accounts."

Specified by:
deletePublisher in interface IRegistry
Throws:
RegistryException;
RegistryException

deletePublisherAssertions

public DispositionReport deletePublisherAssertions(AuthInfo authInfo,
                                                   java.util.Vector assertionVector)
                                            throws RegistryException
Specified by:
deletePublisherAssertions in interface IRegistry
Throws:
RegistryException;
RegistryException

deleteService

public DispositionReport deleteService(AuthInfo authInfo,
                                       java.util.Vector serviceKeyVector)
                                throws RegistryException
"Used to delete an existing businessService from the businessServices collection that is part of a specified businessEntity."

Specified by:
deleteService in interface IRegistry
Throws:
RegistryException;
RegistryException

deleteTModel

public DispositionReport deleteTModel(AuthInfo authInfo,
                                      java.util.Vector tModelKeyVector)
                               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."

Specified by:
deleteTModel in interface IRegistry
Throws:
RegistryException;
RegistryException

discardAuthToken

public DispositionReport discardAuthToken(AuthInfo authInfo)
                                   throws RegistryException
"Used to inform an Operator Site that a previously provided authentication token is no longer valid. See get_authToken."

Specified by:
discardAuthToken in interface IRegistry
Throws:
RegistryException;
RegistryException

findBinding

public 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."

Specified by:
findBinding in interface IRegistry
Throws:
RegistryException

findBusiness

public BusinessList findBusiness(java.util.Vector nameVector,
                                 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.

Specified by:
findBusiness in interface IRegistry
Throws:
RegistryException;
RegistryException

findPublisher

public PublisherList findPublisher(java.lang.String publisherID,
                                   java.lang.String name,
                                   FindQualifiers findQualifiers,
                                   int maxRows)
                            throws RegistryException
Specified by:
findPublisher in interface IRegistry
Throws:
RegistryException;
RegistryException

findRelatedBusinesses

public RelatedBusinessesList findRelatedBusinesses(java.lang.String businessKey,
                                                   KeyedReference keyedReference,
                                                   FindQualifiers findQualifiers,
                                                   int maxRows)
                                            throws RegistryException
Specified by:
findRelatedBusinesses in interface IRegistry
Throws:
RegistryException;
RegistryException

findService

public ServiceList findService(java.lang.String businessKey,
                               java.util.Vector nameVector,
                               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.

Specified by:
findService in interface IRegistry
Throws:
RegistryException;
RegistryException

findTModel

public 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."

Specified by:
findTModel in interface IRegistry
Throws:
RegistryException;
RegistryException

getAssertionStatusReport

public AssertionStatusReport getAssertionStatusReport(AuthInfo authInfo,
                                                      java.lang.String completionStatus)
                                               throws RegistryException
Specified by:
getAssertionStatusReport in interface IRegistry
Throws:
RegistryException;
RegistryException

getAuthToken

public 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."

Specified by:
getAuthToken in interface IRegistry
Throws:
RegistryException;
RegistryException

getBindingDetail

public BindingDetail getBindingDetail(java.lang.String bindingKey)
                               throws RegistryException
Used to get full bindingTemplate information suitable for a particular business service. Returns a bindingDetail message.

Specified by:
getBindingDetail in interface IRegistry
Throws:
RegistryException;
RegistryException

getBindingDetail

public BindingDetail getBindingDetail(java.util.Vector bindingKeys)
                               throws RegistryException
"Used to get full bindingTemplate information suitable for make one or more service requests. Returns a bindingDetail message."

Specified by:
getBindingDetail in interface IRegistry
Throws:
RegistryException;
RegistryException

getBusinessDetail

public BusinessDetail getBusinessDetail(java.lang.String businessKey)
                                 throws RegistryException
Used to get the full businessEntity information for a particular business entity. Returns a businessDetail message.

Specified by:
getBusinessDetail in interface IRegistry
Throws:
RegistryException;
RegistryException

getBusinessDetail

public BusinessDetail getBusinessDetail(java.util.Vector businessKeyVector)
                                 throws RegistryException
"Used to get the full businessEntity information for one or more businesses. Returns a businessDetail message."

Specified by:
getBusinessDetail in interface IRegistry
Throws:
RegistryException;
RegistryException

getBusinessDetailExt

public BusinessDetailExt getBusinessDetailExt(java.lang.String businessKey)
                                       throws RegistryException
"Used to get extended businessEntity information. Returns a businessDetailExt message."

Specified by:
getBusinessDetailExt in interface IRegistry
Throws:
RegistryException;
RegistryException

getBusinessDetailExt

public BusinessDetailExt getBusinessDetailExt(java.util.Vector businessKeyVector)
                                       throws RegistryException
"Used to get extended businessEntity information. Returns a businessDetailExt message."

Specified by:
getBusinessDetailExt in interface IRegistry
Throws:
RegistryException;
RegistryException

getPublisherAssertions

public PublisherAssertions getPublisherAssertions(AuthInfo authInfo)
                                           throws RegistryException
Specified by:
getPublisherAssertions in interface IRegistry
Throws:
RegistryException;
RegistryException

getPublisherDetail

public PublisherDetail getPublisherDetail(java.util.Vector publisherIDVector)
                                   throws RegistryException
Specified by:
getPublisherDetail in interface IRegistry
Throws:
RegistryException;
RegistryException

getRegisteredInfo

public RegisteredInfo getRegisteredInfo(AuthInfo authInfo)
                                 throws RegistryException
"Used to request an abbreviated synopsis of all information currently managed by a given individual."

Specified by:
getRegisteredInfo in interface IRegistry
Throws:
RegistryException;
RegistryException

getRegistryInfo

public RegistryInfo getRegistryInfo()
                             throws RegistryException
"Used to request an abbreviated synopsis of all information currently managed by a given individual."

Specified by:
getRegistryInfo in interface IRegistry
Throws:
RegistryException;
RegistryException

getServiceDetail

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

Specified by:
getServiceDetail in interface IRegistry
Throws:
RegistryException;
RegistryException

getServiceDetail

public ServiceDetail getServiceDetail(java.util.Vector serviceKeyVector)
                               throws RegistryException
"Used to get full details for a given set of registered businessService data. Returns a serviceDetail message."

Specified by:
getServiceDetail in interface IRegistry
Throws:
RegistryException;
RegistryException

getTModelDetail

public TModelDetail getTModelDetail(java.lang.String tModelKey)
                             throws RegistryException
"Used to get full details for a particular registered TModel. Returns a tModelDetail message."

Specified by:
getTModelDetail in interface IRegistry
Throws:
RegistryException;
RegistryException

getTModelDetail

public TModelDetail getTModelDetail(java.util.Vector tModelKeyVector)
                             throws RegistryException
"Used to get full details for a given set of registered tModel data. Returns a tModelDetail message."

Specified by:
getTModelDetail in interface IRegistry
Throws:
RegistryException;
RegistryException

saveBinding

public BindingDetail saveBinding(AuthInfo authInfo,
                                 java.util.Vector bindingVector)
                          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."

Specified by:
saveBinding in interface IRegistry
Throws:
RegistryException;
RegistryException

saveBusiness

public BusinessDetail saveBusiness(AuthInfo authInfo,
                                   java.util.Vector businessVector)
                            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."

Specified by:
saveBusiness in interface IRegistry
Throws:
RegistryException;
RegistryException

savePublisher

public PublisherDetail savePublisher(AuthInfo authInfo,
                                     java.util.Vector publisherVector)
                              throws RegistryException
Specified by:
savePublisher in interface IRegistry
Throws:
RegistryException;
RegistryException

saveService

public ServiceDetail saveService(AuthInfo authInfo,
                                 java.util.Vector serviceVector)
                          throws RegistryException
"Used to register or update complete information about a businessService exposed by a specified businessEntity."

Specified by:
saveService in interface IRegistry
Throws:
RegistryException;
RegistryException

saveTModel

public TModelDetail saveTModel(AuthInfo authInfo,
                               java.util.Vector tModelVector)
                        throws RegistryException
"Used to register or update complete information about a tModel."

Specified by:
saveTModel in interface IRegistry
Throws:
RegistryException;
RegistryException

setPublisherAssertions

public PublisherAssertions setPublisherAssertions(AuthInfo authInfo,
                                                  java.util.Vector assertionVector)
                                           throws RegistryException
Specified by:
setPublisherAssertions in interface IRegistry
Throws:
RegistryException;
RegistryException

validateValues

public DispositionReport validateValues(java.util.Vector businessVector,
                                        java.util.Vector serviceVector,
                                        java.util.Vector tModelVector)
                                 throws RegistryException
Specified by:
validateValues in interface IRegistry
Throws:
RegistryException;
RegistryException


Copyright © 2004-2007. All Rights Reserved.