com.sun.xml.registry.ebxml
Class BusinessQueryManagerImpl

java.lang.Object
  extended bycom.sun.xml.registry.ebxml.QueryManagerImpl
      extended bycom.sun.xml.registry.ebxml.BusinessQueryManagerImpl
All Implemented Interfaces:
javax.xml.registry.BusinessQueryManager, javax.xml.registry.QueryManager

public class BusinessQueryManagerImpl
extends QueryManagerImpl
implements javax.xml.registry.BusinessQueryManager

Class Declaration for Class1


Field Summary
 
Fields inherited from class com.sun.xml.registry.ebxml.QueryManagerImpl
callersUser, dqm, lcm, regService
 
Method Summary
static java.lang.String caseSensitise(java.lang.String term, boolean caseSensitive)
           
 javax.xml.registry.BulkResponse findAssociations(java.util.Collection findQualifiers, java.lang.String sourceObjectId, java.lang.String targetObjectId, java.util.Collection associationTypes)
           
 javax.xml.registry.BulkResponse findCallerAssociations(java.util.Collection findQualifiers, java.lang.Boolean confirmedByCaller, java.lang.Boolean confirmedByOtherParty, java.util.Collection associationTypes)
           
 javax.xml.registry.infomodel.ClassificationScheme findClassificationSchemeByName(java.util.Collection findQualifiers, java.lang.String namePattern)
          Find a ClassificationScheme by name based on the specified name pattern.
 javax.xml.registry.BulkResponse findClassificationSchemes(java.util.Collection findQualifiers, java.util.Collection namePatterns, java.util.Collection classifications, java.util.Collection externalLinks)
          Finds all ClassificationSchemes that match ALL of the criteria specified by the parameters of this call.
 javax.xml.registry.infomodel.Concept findConceptByPath(java.lang.String path)
          Find a Concept based on the path specified.
 javax.xml.registry.BulkResponse findConcepts(java.util.Collection findQualifiers, java.util.Collection namePatterns, java.util.Collection classifications, java.util.Collection externalIdentifiers, java.util.Collection externalLinks)
          Finds all Concepts that match ALL of the criteria specified by the parameters of this call.
 java.util.Collection findConceptsByPath(java.lang.String path)
          Find all Concept that match the path specified.
 javax.xml.registry.BulkResponse findObjects(java.lang.String objectType, java.util.Collection findQualifiers, java.util.Collection namePatterns, java.util.Collection classifications, java.util.Collection specifications, java.util.Collection externalIdentifiers, java.util.Collection externalLinks)
           
 javax.xml.registry.BulkResponse findOrganizations(java.util.Collection findQualifiers, java.util.Collection namePatterns, java.util.Collection classifications, java.util.Collection specifications, java.util.Collection externalIdentifiers, java.util.Collection externalLinks)
          Finds all Organizations that match ALL of the criteria specified by the parameters of this call.
 javax.xml.registry.BulkResponse findRegistryPackages(java.util.Collection findQualifiers, java.util.Collection namePatterns, java.util.Collection classifications, java.util.Collection externalLinks)
          Finds all RegistryPackages that match ALL of the criteria specified by the parameters of this call.
 javax.xml.registry.BulkResponse findServiceBindings(javax.xml.registry.infomodel.Key serviceKey, java.util.Collection findQualifiers, java.util.Collection classifications, java.util.Collection specifications)
          Finds all ServiceBindings that match ALL of the criteria specified by the parameters of this call.
 javax.xml.registry.BulkResponse findServices(javax.xml.registry.infomodel.Key orgKey, java.util.Collection findQualifiers, java.util.Collection namePatterns, java.util.Collection classifications, java.util.Collection specifications)
          Finds all Services that match ALL of the criteria specified by the parameters of this call.
 
Methods inherited from class com.sun.xml.registry.ebxml.QueryManagerImpl
getCallersRegistryObjects, getCallersUser, getRegistryObject, getRegistryObject, getRegistryObjects, getRegistryObjects, getRegistryObjects, getRegistryObjects, getRegistryService
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.xml.registry.QueryManager
getRegistryObject, getRegistryObject, getRegistryObjects, getRegistryObjects, getRegistryObjects, getRegistryObjects, getRegistryService
 

Method Detail

findAssociations

public javax.xml.registry.BulkResponse findAssociations(java.util.Collection findQualifiers,
                                                        java.lang.String sourceObjectId,
                                                        java.lang.String targetObjectId,
                                                        java.util.Collection associationTypes)
                                                 throws javax.xml.registry.JAXRException
Specified by:
findAssociations in interface javax.xml.registry.BusinessQueryManager
Throws:
javax.xml.registry.JAXRException

findCallerAssociations

public javax.xml.registry.BulkResponse findCallerAssociations(java.util.Collection findQualifiers,
                                                              java.lang.Boolean confirmedByCaller,
                                                              java.lang.Boolean confirmedByOtherParty,
                                                              java.util.Collection associationTypes)
                                                       throws javax.xml.registry.JAXRException
Specified by:
findCallerAssociations in interface javax.xml.registry.BusinessQueryManager
Throws:
javax.xml.registry.JAXRException

findObjects

public javax.xml.registry.BulkResponse findObjects(java.lang.String objectType,
                                                   java.util.Collection findQualifiers,
                                                   java.util.Collection namePatterns,
                                                   java.util.Collection classifications,
                                                   java.util.Collection specifications,
                                                   java.util.Collection externalIdentifiers,
                                                   java.util.Collection externalLinks)
                                            throws javax.xml.registry.JAXRException
Throws:
javax.xml.registry.JAXRException

findOrganizations

public javax.xml.registry.BulkResponse findOrganizations(java.util.Collection findQualifiers,
                                                         java.util.Collection namePatterns,
                                                         java.util.Collection classifications,
                                                         java.util.Collection specifications,
                                                         java.util.Collection externalIdentifiers,
                                                         java.util.Collection externalLinks)
                                                  throws javax.xml.registry.JAXRException
Finds all Organizations that match ALL of the criteria specified by the parameters of this call. This is a Logical AND operation between all non-null parameters.

Capability Level: 0

Specified by:
findOrganizations in interface javax.xml.registry.BusinessQueryManager
Returns:
BulkResponse containing Collection of Organizations
Throws:
javax.xml.registry.JAXRException

findServices

public javax.xml.registry.BulkResponse findServices(javax.xml.registry.infomodel.Key orgKey,
                                                    java.util.Collection findQualifiers,
                                                    java.util.Collection namePatterns,
                                                    java.util.Collection classifications,
                                                    java.util.Collection specifications)
                                             throws javax.xml.registry.JAXRException
Finds all Services that match ALL of the criteria specified by the parameters of this call. This is a Logical AND operation between all non-null parameters.

Capability Level: 0

Specified by:
findServices in interface javax.xml.registry.BusinessQueryManager
Parameters:
orgKey - Key identifying an Organization. Required for UDDI providers.
Throws:
javax.xml.registry.JAXRException

findServiceBindings

public javax.xml.registry.BulkResponse findServiceBindings(javax.xml.registry.infomodel.Key serviceKey,
                                                           java.util.Collection findQualifiers,
                                                           java.util.Collection classifications,
                                                           java.util.Collection specifications)
                                                    throws javax.xml.registry.JAXRException
Finds all ServiceBindings that match ALL of the criteria specified by the parameters of this call. This is a Logical AND operation between all non-null parameters.

Capability Level: 0

Specified by:
findServiceBindings in interface javax.xml.registry.BusinessQueryManager
Parameters:
serviceKey - Key identifying a Service. Required for UDDI providers.
Returns:
BulkResponse containing Collection of ServiceBindings
Throws:
javax.xml.registry.JAXRException

findClassificationSchemes

public javax.xml.registry.BulkResponse findClassificationSchemes(java.util.Collection findQualifiers,
                                                                 java.util.Collection namePatterns,
                                                                 java.util.Collection classifications,
                                                                 java.util.Collection externalLinks)
                                                          throws javax.xml.registry.JAXRException
Finds all ClassificationSchemes that match ALL of the criteria specified by the parameters of this call. This is a Logical AND operation between all non-null parameters.

Capability Level: 0

Specified by:
findClassificationSchemes in interface javax.xml.registry.BusinessQueryManager
Returns:
BulkResponse containing Collection of ClassificationSchemes
Throws:
javax.xml.registry.JAXRException

findClassificationSchemeByName

public javax.xml.registry.infomodel.ClassificationScheme findClassificationSchemeByName(java.util.Collection findQualifiers,
                                                                                        java.lang.String namePattern)
                                                                                 throws javax.xml.registry.JAXRException
Find a ClassificationScheme by name based on the specified name pattern.

Capability Level: 0

Specified by:
findClassificationSchemeByName in interface javax.xml.registry.BusinessQueryManager
Parameters:
namePattern - Is a String that is a partial or full name pattern with wildcard searching as specified by the SQL-92 LIKE specification.
Returns:
The ClassificationScheme matching the namePattern. If none match return null. If multiple match then throw an InvalidRequestException.
Throws:
javax.xml.registry.JAXRException

findConcepts

public javax.xml.registry.BulkResponse findConcepts(java.util.Collection findQualifiers,
                                                    java.util.Collection namePatterns,
                                                    java.util.Collection classifications,
                                                    java.util.Collection externalIdentifiers,
                                                    java.util.Collection externalLinks)
                                             throws javax.xml.registry.JAXRException
Finds all Concepts that match ALL of the criteria specified by the parameters of this call. This is a Logical AND operation between all non-null parameters.

Capability Level: 0

Specified by:
findConcepts in interface javax.xml.registry.BusinessQueryManager
Returns:
BulkResponse containing Collection of Concepts
Throws:
javax.xml.registry.JAXRException

findConceptByPath

public javax.xml.registry.infomodel.Concept findConceptByPath(java.lang.String path)
                                                       throws javax.xml.registry.JAXRException
Find a Concept based on the path specified. If specified path matches more than one ClassificationScheme then the one that is most general (higher in the concept hierarchy) is returned.

Capability Level: 0

Specified by:
findConceptByPath in interface javax.xml.registry.BusinessQueryManager
Parameters:
path - Is a canonical path expression as defined in the JAXR specification that identifies the Concept.
Throws:
javax.xml.registry.JAXRException

findConceptsByPath

public java.util.Collection findConceptsByPath(java.lang.String path)
                                        throws javax.xml.registry.JAXRException
Find all Concept that match the path specified. For JAXR 2.0??

Capability Level: 0

Parameters:
path - Is a canonical path expression as defined in the JAXR specification that identifies the Concept.
Throws:
javax.xml.registry.JAXRException

findRegistryPackages

public javax.xml.registry.BulkResponse findRegistryPackages(java.util.Collection findQualifiers,
                                                            java.util.Collection namePatterns,
                                                            java.util.Collection classifications,
                                                            java.util.Collection externalLinks)
                                                     throws javax.xml.registry.JAXRException
Finds all RegistryPackages that match ALL of the criteria specified by the parameters of this call. This is a Logical AND operation between all non-null parameters.

Capability Level: 1

Specified by:
findRegistryPackages in interface javax.xml.registry.BusinessQueryManager
Returns:
BulkResponse containing Collection of RegistryPackages
Throws:
javax.xml.registry.JAXRException

caseSensitise

public static java.lang.String caseSensitise(java.lang.String term,
                                             boolean caseSensitive)


Copyright © 2001-2004 OASIS. All Rights Reserved.