1 16 package org.apache.juddi; 17 18 import java.util.Vector ; 19 20 import org.apache.juddi.datatype.CategoryBag; 21 import org.apache.juddi.datatype.DiscoveryURLs; 22 import org.apache.juddi.datatype.IdentifierBag; 23 import org.apache.juddi.datatype.KeyedReference; 24 import org.apache.juddi.datatype.RegistryObject; 25 import org.apache.juddi.datatype.TModelBag; 26 import org.apache.juddi.datatype.request.AuthInfo; 27 import org.apache.juddi.datatype.request.FindQualifiers; 28 import org.apache.juddi.datatype.response.AssertionStatusReport; 29 import org.apache.juddi.datatype.response.AuthToken; 30 import org.apache.juddi.datatype.response.BindingDetail; 31 import org.apache.juddi.datatype.response.BusinessDetail; 32 import org.apache.juddi.datatype.response.BusinessDetailExt; 33 import org.apache.juddi.datatype.response.BusinessList; 34 import org.apache.juddi.datatype.response.DispositionReport; 35 import org.apache.juddi.datatype.response.PublisherAssertions; 36 import org.apache.juddi.datatype.response.PublisherDetail; 37 import org.apache.juddi.datatype.response.PublisherList; 38 import org.apache.juddi.datatype.response.RegisteredInfo; 39 import org.apache.juddi.datatype.response.RegistryInfo; 40 import org.apache.juddi.datatype.response.RelatedBusinessesList; 41 import org.apache.juddi.datatype.response.ServiceDetail; 42 import org.apache.juddi.datatype.response.ServiceList; 43 import org.apache.juddi.datatype.response.TModelDetail; 44 import org.apache.juddi.datatype.response.TModelList; 45 import org.apache.juddi.error.RegistryException; 46 47 53 public interface IRegistry 54 { 55 String UDDI_V1_GENERIC = "1.0"; 56 String UDDI_V2_GENERIC = "2.0"; 57 String UDDI_V3_GENERIC = "3.0"; 58 String JUDDI_V1_GENERIC = "1.0"; 59 60 String UDDI_V1_NAMESPACE = "urn:uddi-org:api"; 61 String UDDI_V2_NAMESPACE = "urn:uddi-org:api_v2"; 62 String UDDI_V3_NAMESPACE = "urn:uddi-org:api_v3"; 63 String JUDDI_V1_NAMESPACE = "urn:juddi-org:api_v1"; 64 65 71 BindingDetail findBinding(String serviceKey,CategoryBag categoryBag,TModelBag tModelBag,FindQualifiers findQualifiers,int maxRows) 72 throws RegistryException; 73 74 80 BusinessList findBusiness(Vector nameVector,DiscoveryURLs discoveryURLs,IdentifierBag identifierBag,CategoryBag categoryBag,TModelBag tModelBag,FindQualifiers findQualifiers,int maxRows) 81 throws RegistryException; 82 83 86 RelatedBusinessesList findRelatedBusinesses(String businessKey,KeyedReference keyedReference,FindQualifiers findQualifiers,int maxRows) 87 throws RegistryException; 88 89 97 ServiceList findService(String businessKey,Vector nameVector,CategoryBag categoryBag,TModelBag tModelBag,FindQualifiers findQualifiers,int maxRows) 98 throws RegistryException; 99 100 106 TModelList findTModel(String name,CategoryBag categoryBag,IdentifierBag identifierBag,FindQualifiers findQualifiers,int maxRows) 107 throws RegistryException; 108 109 115 BindingDetail getBindingDetail(String bindingKey) 116 throws RegistryException; 117 118 124 BindingDetail getBindingDetail(Vector bindingKeys) 125 throws RegistryException; 126 127 133 BusinessDetail getBusinessDetail(String businessKey) 134 throws RegistryException; 135 136 142 BusinessDetail getBusinessDetail(Vector businessKeyVector) 143 throws RegistryException; 144 145 151 BusinessDetailExt getBusinessDetailExt(String businessKey) 152 throws RegistryException; 153 154 160 BusinessDetailExt getBusinessDetailExt(Vector businessKeyVector) 161 throws RegistryException; 162 163 169 ServiceDetail getServiceDetail(String serviceKey) 170 throws RegistryException; 171 172 178 ServiceDetail getServiceDetail(Vector serviceKeyVector) 179 throws RegistryException; 180 181 187 TModelDetail getTModelDetail(String tModelKey) 188 throws RegistryException; 189 190 196 TModelDetail getTModelDetail(Vector tModelKeyVector) 197 throws RegistryException; 198 199 202 DispositionReport addPublisherAssertions(AuthInfo authInfo,Vector assertionVector) 203 throws RegistryException; 204 205 208 AssertionStatusReport getAssertionStatusReport(AuthInfo authInfo,String completionStatus) 209 throws RegistryException; 210 211 214 PublisherAssertions getPublisherAssertions(AuthInfo authInfo) 215 throws RegistryException; 216 217 223 DispositionReport deleteBinding(AuthInfo authInfo,Vector bindingKeyVector) 224 throws RegistryException; 225 226 231 DispositionReport deleteBusiness(AuthInfo authInfo,Vector businessKeyVector) 232 throws RegistryException; 233 234 240 DispositionReport deleteService(AuthInfo authInfo,Vector serviceKeyVector) 241 throws RegistryException; 242 243 250 DispositionReport deleteTModel(AuthInfo authInfo,Vector tModelKeyVector) 251 throws RegistryException; 252 253 256 DispositionReport deletePublisherAssertions(AuthInfo authInfo,Vector assertionVector) 257 throws RegistryException; 258 259 265 DispositionReport discardAuthToken(AuthInfo authInfo) 266 throws RegistryException; 267 268 276 AuthToken getAuthToken(String userID,String cred) 277 throws RegistryException; 278 279 285 RegisteredInfo getRegisteredInfo(AuthInfo authInfo) 286 throws RegistryException; 287 288 294 RegistryInfo getRegistryInfo() 295 throws RegistryException; 296 297 304 BindingDetail saveBinding(AuthInfo authInfo,Vector bindingVector) 305 throws RegistryException; 306 307 315 BusinessDetail saveBusiness(AuthInfo authInfo,Vector businessVector) 316 throws RegistryException; 317 318 324 ServiceDetail saveService(AuthInfo authInfo,Vector serviceVector) 325 throws RegistryException; 326 327 332 TModelDetail saveTModel(AuthInfo authInfo,Vector tModelVector) 333 throws RegistryException;; 334 335 338 PublisherAssertions setPublisherAssertions(AuthInfo authInfo,Vector assertionVector) 339 throws RegistryException; 340 341 346 DispositionReport deletePublisher(AuthInfo authInfo,Vector publisherIDVector) 347 throws RegistryException; 348 349 352 PublisherDetail getPublisherDetail(Vector publisherIDVector) 353 throws RegistryException; 354 355 358 PublisherList findPublisher(String publisherID,String name,FindQualifiers findQualifiers,int maxRows) 359 throws RegistryException; 360 361 364 PublisherDetail savePublisher(AuthInfo authInfo,Vector publisherVector) 365 throws RegistryException; 366 367 370 DispositionReport validateValues(Vector businessVector,Vector serviceVector,Vector tModelVector) 371 throws RegistryException; 372 373 376 RegistryObject execute(RegistryObject request) 377 throws RegistryException; 378 } | Popular Tags |