public class BusinessQueryManagerImpl extends Object implements BusinessQueryManager
Constructor and Description |
---|
BusinessQueryManagerImpl(RegistryServiceImpl registry) |
Modifier and Type | Method and Description |
---|---|
BulkResponse |
findAssociations(Collection findQualifiers,
String sourceObjectId,
String targetObjectId,
Collection associationTypes) |
BulkResponse |
findCallerAssociations(Collection findQualifiers,
Boolean confirmedByCaller,
Boolean confirmedByOtherParty,
Collection associationTypes) |
ClassificationScheme |
findClassificationSchemeByName(Collection findQualifiers,
String namePatterns)
TODO - need to support the qualifiers
|
BulkResponse |
findClassificationSchemes(Collection findQualifiers,
Collection namePatterns,
Collection classifications,
Collection externalLinks) |
Concept |
findConceptByPath(String path) |
BulkResponse |
findConcepts(Collection findQualifiers,
Collection namePatterns,
Collection classifications,
Collection externalIdentifiers,
Collection externalLinks) |
BulkResponse |
findOrganizations(Collection findQualifiers,
Collection namePatterns,
Collection classifications,
Collection specifications,
Collection externalIdentifiers,
Collection externalLinks)
Finds organizations in the registry that match the specified parameters
|
BulkResponse |
findRegistryPackages(Collection findQualifiers,
Collection namePatterns,
Collection classifications,
Collection externalLinks) |
BulkResponse |
findServiceBindings(Key serviceKey,
Collection findQualifiers,
Collection classifications,
Collection specifications) |
BulkResponse |
findServices(Key orgKey,
Collection findQualifiers,
Collection namePatterns,
Collection classifications,
Collection specificationa)
Finds all Service objects that match all of the criteria specified by
the parameters of this call.
|
RegistryObject |
getRegistryObject(String id) |
RegistryObject |
getRegistryObject(String id,
String objectType) |
BulkResponse |
getRegistryObjects()
Gets the RegistryObjects owned by the caller.
|
BulkResponse |
getRegistryObjects(Collection objectKeys) |
BulkResponse |
getRegistryObjects(Collection objectKeys,
String objectType) |
BulkResponse |
getRegistryObjects(String id) |
RegistryService |
getRegistryService() |
protected Service |
getServiceFromBusinessService(BusinessService bs,
LifeCycleManager lcm)
Helper routine to take a jUDDI business service and turn into a useful
Service.
|
public BusinessQueryManagerImpl(RegistryServiceImpl registry)
public RegistryService getRegistryService()
getRegistryService
in interface QueryManager
public BulkResponse findOrganizations(Collection findQualifiers, Collection namePatterns, Collection classifications, Collection specifications, Collection externalIdentifiers, Collection externalLinks) throws JAXRException
findOrganizations
in interface BusinessQueryManager
findQualifiers
- namePatterns
- classifications
- specifications
- externalIdentifiers
- externalLinks
- JAXRException
public BulkResponse findAssociations(Collection findQualifiers, String sourceObjectId, String targetObjectId, Collection associationTypes) throws JAXRException
findAssociations
in interface BusinessQueryManager
JAXRException
public BulkResponse findCallerAssociations(Collection findQualifiers, Boolean confirmedByCaller, Boolean confirmedByOtherParty, Collection associationTypes) throws JAXRException
findCallerAssociations
in interface BusinessQueryManager
JAXRException
public ClassificationScheme findClassificationSchemeByName(Collection findQualifiers, String namePatterns) throws JAXRException
findClassificationSchemeByName
in interface BusinessQueryManager
findQualifiers
- namePatterns
- JAXRException
public BulkResponse findClassificationSchemes(Collection findQualifiers, Collection namePatterns, Collection classifications, Collection externalLinks) throws JAXRException
findClassificationSchemes
in interface BusinessQueryManager
JAXRException
public Concept findConceptByPath(String path) throws JAXRException
findConceptByPath
in interface BusinessQueryManager
JAXRException
public BulkResponse findConcepts(Collection findQualifiers, Collection namePatterns, Collection classifications, Collection externalIdentifiers, Collection externalLinks) throws JAXRException
findConcepts
in interface BusinessQueryManager
JAXRException
public BulkResponse findRegistryPackages(Collection findQualifiers, Collection namePatterns, Collection classifications, Collection externalLinks) throws JAXRException
findRegistryPackages
in interface BusinessQueryManager
JAXRException
public BulkResponse findServiceBindings(Key serviceKey, Collection findQualifiers, Collection classifications, Collection specifications) throws JAXRException
findServiceBindings
in interface BusinessQueryManager
JAXRException
public BulkResponse findServices(Key orgKey, Collection findQualifiers, Collection namePatterns, Collection classifications, Collection specificationa) throws JAXRException
findServices
in interface BusinessQueryManager
orgKey
- findQualifiers
- namePatterns
- classifications
- specificationa
- JAXRException
public RegistryObject getRegistryObject(String id) throws JAXRException
getRegistryObject
in interface QueryManager
JAXRException
public RegistryObject getRegistryObject(String id, String objectType) throws JAXRException
getRegistryObject
in interface QueryManager
JAXRException
protected Service getServiceFromBusinessService(BusinessService bs, LifeCycleManager lcm) throws JAXRException
bs
- BusinessService object to turn in to a Servicelcm
- manager to useJAXRException
public BulkResponse getRegistryObjects() throws JAXRException
getRegistryObjects
in interface QueryManager
JAXRException
public BulkResponse getRegistryObjects(Collection objectKeys) throws JAXRException
getRegistryObjects
in interface QueryManager
JAXRException
public BulkResponse getRegistryObjects(Collection objectKeys, String objectType) throws JAXRException
getRegistryObjects
in interface QueryManager
JAXRException
public BulkResponse getRegistryObjects(String id) throws JAXRException
getRegistryObjects
in interface QueryManager
JAXRException
Copyright © 2018 JBoss by Red Hat. All rights reserved.