cgl.expeditor
Class AbstractRegistry

java.lang.Object
  extended bycgl.expeditor.AbstractRegistry
All Implemented Interfaces:
IRegistry
Direct Known Subclasses:
ExpeditorRegistryEngine

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

Represents Expeditor Module registry and implements all primary functionalities which has to be done through Cache Module.

Author:
Mehmet S. Aktas (maktas@indiana.edu)

Field Summary
 
Fields inherited from interface cgl.expeditor.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
 org.apache.juddi.datatype.response.DispositionReport deletePublisher(AuthInfo authInfo, java.util.Vector publisherIDVector)
          "Used to delete an existing publisher accounts."
 org.apache.juddi.datatype.response.DispositionReport discardAuthToken(AuthInfo authInfo)
          "Used to inform an Operator Site that a previously provided authentication token is no longer valid.
 PublisherList findPublisher(java.lang.String publisherID, java.lang.String name, org.apache.juddi.datatype.request.FindQualifiers findQualifiers, int maxRows)
           
 AuthToken getAuthToken(java.lang.String userID, java.lang.String cred)
          "Used to request an authentication token from an Operator Site.
 AttributeDetail getContextDetailFromMemory(java.util.Vector contextKeys)
          "Used to get full bindingTemplate information suitable for make one or more service requests.
 PublisherDetail getPublisherDetail(java.util.Vector publisherIDVector)
           
 AttributeDetail saveContextToMemory(AuthInfo authInfo, java.util.Vector contextVector)
          "Used to register new bindingTemplate information or update existing bindingTemplate information.
 PublisherDetail savePublisher(AuthInfo authInfo, java.util.Vector publisherVector)
           
 org.apache.juddi.datatype.response.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 cgl.expeditor.IRegistry
execute
 

Constructor Detail

AbstractRegistry

public AbstractRegistry()
Method Detail

deletePublisher

public org.apache.juddi.datatype.response.DispositionReport deletePublisher(AuthInfo authInfo,
                                                                            java.util.Vector publisherIDVector)
                                                                     throws org.apache.juddi.error.RegistryException
"Used to delete an existing publisher accounts."

Specified by:
deletePublisher in interface IRegistry
Throws:
RegistryException;
org.apache.juddi.error.RegistryException

discardAuthToken

public org.apache.juddi.datatype.response.DispositionReport discardAuthToken(AuthInfo authInfo)
                                                                      throws org.apache.juddi.error.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;
org.apache.juddi.error.RegistryException

findPublisher

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

saveContextToMemory

public AttributeDetail saveContextToMemory(AuthInfo authInfo,
                                           java.util.Vector contextVector)
                                    throws org.apache.juddi.error.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:
saveContextToMemory in interface IRegistry
Throws:
RegistryException;
org.apache.juddi.error.RegistryException

getContextDetailFromMemory

public AttributeDetail getContextDetailFromMemory(java.util.Vector contextKeys)
                                           throws org.apache.juddi.error.RegistryException
"Used to get full bindingTemplate information suitable for make one or more service requests. Returns a bindingDetail message."

Specified by:
getContextDetailFromMemory in interface IRegistry
Throws:
RegistryException;
org.apache.juddi.error.RegistryException

getAuthToken

public AuthToken getAuthToken(java.lang.String userID,
                              java.lang.String cred)
                       throws org.apache.juddi.error.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;
org.apache.juddi.error.RegistryException

getPublisherDetail

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

savePublisher

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

validateValues

public org.apache.juddi.datatype.response.DispositionReport validateValues(java.util.Vector businessVector,
                                                                           java.util.Vector serviceVector,
                                                                           java.util.Vector tModelVector)
                                                                    throws org.apache.juddi.error.RegistryException
Specified by:
validateValues in interface IRegistry
Throws:
RegistryException;
org.apache.juddi.error.RegistryException