|
Java EE 5 SDK | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BusinessQueryManager
The BusinessQueryManager interface, which is exposed by the Registry Service, implements the business style query interface. It is also referred to as the focused query interface.
DeclarativeQueryManager
,
FindQualifier
,
BulkResponse
Method Summary | |
---|---|
BulkResponse |
findAssociations(Collection findQualifiers,
String sourceObjectId,
String targetObjectId,
Collection associationTypes)
Finds all Association objects that match all of the criteria specified by the parameters of this call. |
BulkResponse |
findCallerAssociations(Collection findQualifiers,
Boolean confirmedByCaller,
Boolean confirmedByOtherParty,
Collection associationTypes)
Finds all Association objects owned by the caller that match all of the criteria specified by the parameters of this call. |
ClassificationScheme |
findClassificationSchemeByName(Collection findQualifiers,
String namePattern)
Finds a ClassificationScheme by name based on the specified find qualifiers and name pattern. |
BulkResponse |
findClassificationSchemes(Collection findQualifiers,
Collection namePatterns,
Collection classifications,
Collection externalLinks)
Finds all ClassificationScheme objects that match all of the criteria specified by the parameters of this call. |
Concept |
findConceptByPath(String path)
Finds a Concept based on the path specified. |
BulkResponse |
findConcepts(Collection findQualifiers,
Collection namePatterns,
Collection classifications,
Collection externalIdentifiers,
Collection externalLinks)
Finds all Concept objects that match all of the criteria specified by the parameters of this call. |
BulkResponse |
findOrganizations(Collection findQualifiers,
Collection namePatterns,
Collection classifications,
Collection specifications,
Collection externalIdentifiers,
Collection externalLinks)
Finds all Organization objects that match all of the criteria specified by the parameters of this call. |
BulkResponse |
findRegistryPackages(Collection findQualifiers,
Collection namePatterns,
Collection classifications,
Collection externalLinks)
Finds all RegistryPackage objects that match all of the criteria specified by the parameters of this call. |
BulkResponse |
findServiceBindings(Key serviceKey,
Collection findQualifiers,
Collection classifications,
Collection specifications)
Finds all ServiceBinding objects that match all of the criteria specified by the parameters of this call. |
BulkResponse |
findServices(Key orgKey,
Collection findQualifiers,
Collection namePatterns,
Collection classifications,
Collection specifications)
Finds all Service objects that match all of the criteria specified by the parameters of this call. |
Methods inherited from interface javax.xml.registry.QueryManager |
---|
getRegistryObject, getRegistryObject, getRegistryObjects, getRegistryObjects, getRegistryObjects, getRegistryObjects, getRegistryService |
Method Detail |
---|
BulkResponse findAssociations(Collection findQualifiers, String sourceObjectId, String targetObjectId, Collection associationTypes) throws JAXRException
findQualifiers
- a Collection of find qualifiers as defined by
the FindQualifier interface, which specifies qualifiers that affect
string matching, sorting, boolean predicate logic, and the like.sourceObjectId
- a String that represents the id for a RegistryObject that must be the sourceObject of the Associations that match. This parameter is ignored if specified as null.targetObjectId
- a String that represents the id for a RegistryObject that must be the targetObject of the Associations that match. This parameter is ignored if specified as null.associationTypes
- a Collection of associationTypes. This is a logical OR operation across the collection. This parameter is ignored if specified as null.
JAXRException
- if the JAXR provider encounters an internal errorBulkResponse findCallerAssociations(Collection findQualifiers, Boolean confirmedByCaller, Boolean confirmedByOtherParty, Collection associationTypes) throws JAXRException
This call is sensitive to the identity of the caller and is a privileged operation that requires the caller to have provided its identity credentials to the Connection associated with this object.
findQualifiers
- a Collection of find qualifiers as defined by
the FindQualifier interface, which specifies qualifiers that affect
string matching, sorting, boolean predicate logic, and the like.confirmedByCaller
- If true, provider must include Associations involving the caller that have been confirmed by the caller. If false, provider must include Associations involving the caller that have not been confirmed by the caller. This parameter is ignored if specified as null.confirmedByOtherParty
- If true, provider must include Associations involving the caller that have been confirmed by the other party. If false, provider must include Associations involving the caller that have not been confirmed by the other party. This parameter is ignored if specified as null.associationTypes
- a Collection of associationTypes. This is a logical OR operation across the collection. This parameter is ignored if specified as null.
JAXRException
- if the JAXR provider encounters an internal errorBulkResponse findOrganizations(Collection findQualifiers, Collection namePatterns, Collection classifications, Collection specifications, Collection externalIdentifiers, Collection externalLinks) throws JAXRException
findQualifiers
- a Collection of find qualifiers as defined by
the FindQualifier interface, which specifies qualifiers that affect
string matching, sorting, boolean predicate logic, and the like.namePatterns
- a Collection that may consist of either String
or LocalizedString objects. Each String or value within a
LocalizedString is a partial or full name pattern with wildcard
searching as specified by the SQL-92 LIKE specification. Unless
otherwise specified in findQualifiers, this is a logical OR, and a
match on any name qualifies as a match for this criterion.classifications
- a Collection of Classification objects that
classify the object. It is analogous to a catgegoryBag in the UDDI
specification. Unless otherwise specified in findQualifiers, this is
a logical AND, and a match on all specified Classifications qualifies
as a match for this criterion. The programmer may use the
LifeCycleManager.createClassification method to create a transient
Classification for use in this Collection.specifications
- a Collection of RegistryObjects that represent
(proxy) a technical specification. It is analogous to a tModelBag in
the UDDI specification. In the case of a UDDI provider, the
RegistryObject is a specification Concept. In the case of an ebXML
provider, the RegistryObject is likely to be an ExtrinsicObject.
Unless otherwise specified in findQualifiers, this is a logical AND,
and a match on all specified Specifications qualifies as a match
for this criterion.externalIdentifiers
- a Collection of ExternalIdentifier objects
that provide an external identifier for the object using an
identification scheme such as DUNS. It is analogous to an
identifierBag in the UDDI specification. Unless otherwise specified
in findQualifiers, this is a logical AND, and a match on all
specified ExternalIdentifiers qualifies as a match for this
criterion. The programmer may use the
LifeCycleManager.createExternalIdentifier method to create a
transient ExternalIdentifier for use in this Collection.externalLinks
- a Collection of ExternalLink objects that link
the object to content outside the registry. It is analogous to an
overviewDoc in the UDDI specification. Unless otherwise specified in
findQualifiers, this is a logical AND, and a match on all specified
ExternalLinks qualifies as a match for this criterion.
JAXRException
- if the JAXR provider encounters an internal errorBulkResponse findServices(Key orgKey, Collection findQualifiers, Collection namePatterns, Collection classifications, Collection specifications) throws JAXRException
orgKey
- Key identifying an Organization. Required for UDDI providers.findQualifiers
- a Collection of find qualifiers as defined by
the FindQualifier interface, which specifies qualifiers that affect
string matching, sorting, boolean predicate logic, and the like.namePatterns
- a Collection that may consist of either String
or LocalizedString objects. Each String or value within a
LocalizedString is a partial or full name pattern with wildcard
searching as specified by the SQL-92 LIKE specification. Unless
otherwise specified in findQualifiers, this is a logical OR, and a
match on any name qualifies as a match for this criterion.classifications
- a Collection of Classification objects that
classify the object. It is analogous to a catgegoryBag in the UDDI
specification. Unless otherwise specified in findQualifiers, this is
a logical AND, and a match on all specified Classifications qualifies
as a match for this criterion. The programmer may use the
LifeCycleManager.createClassification method to create a transient
Classification for use in this Collection.specifications
- a Collection of RegistryObjects that represent
(proxy) a technical specification. It is analogous to a tModelBag in
the UDDI specification. In the case of a UDDI provider, the
RegistryObject is a specification Concept. In the case of an ebXML
provider, the RegistryObject is likely to be an ExtrinsicObject.
Unless otherwise specified in findQualifiers, this is a logical AND,
and a match on all specified Specifications qualifies as a match
for this criterion.
JAXRException
- if the JAXR provider encounters an internal errorBulkResponse findServiceBindings(Key serviceKey, Collection findQualifiers, Collection classifications, Collection specifications) throws JAXRException
serviceKey
- Key identifying a Service. Required for UDDI providers.findQualifiers
- a Collection of find qualifiers as defined by
the FindQualifier interface, which specifies qualifiers that affect
string matching, sorting, boolean predicate logic, and the like.classifications
- a Collection of Classification objects that
classify the object. It is analogous to a catgegoryBag in the UDDI
specification. Unless otherwise specified in findQualifiers, this is
a logical AND, and a match on all specified Classifications qualifies
as a match for this criterion. The programmer may use the
LifeCycleManager.createClassification method to create a transient
Classification for use in this Collection.specifications
- a Collection of RegistryObjects that represent
(proxy) a technical specification. It is analogous to a tModelBag in
the UDDI specification. In the case of a UDDI provider, the
RegistryObject is a specification Concept. In the case of an ebXML
provider, the RegistryObject is likely to be an ExtrinsicObject.
Unless otherwise specified in findQualifiers, this is a logical AND,
and a match on all specified Specifications qualifies as a match
for this criterion.
JAXRException
- if the JAXR provider encounters an internal errorBulkResponse findClassificationSchemes(Collection findQualifiers, Collection namePatterns, Collection classifications, Collection externalLinks) throws JAXRException
findQualifiers
- a Collection of find qualifiers as defined by
the FindQualifier interface, which specifies qualifiers that affect
string matching, sorting, boolean predicate logic, and the like.namePatterns
- a Collection that may consist of either String
or LocalizedString objects. Each String or value within a
LocalizedString is a partial or full name pattern with wildcard
searching as specified by the SQL-92 LIKE specification. Unless
otherwise specified in findQualifiers, this is a logical OR, and a
match on any name qualifies as a match for this criterion.classifications
- a Collection of Classification objects that
classify the object. It is analogous to a catgegoryBag in the UDDI
specification. Unless otherwise specified in findQualifiers, this is
a logical AND, and a match on all specified Classifications qualifies
as a match for this criterion. The programmer may use the
LifeCycleManager.createClassification method to create a transient
Classification for use in this Collection.externalLinks
- a Collection of ExternalLink objects that link
the object to content outside the registry. It is analogous to an
overviewDoc in the UDDI specification. Unless otherwise specified in
findQualifiers, this is a logical AND, and a match on all specified
ExternalLinks qualifies as a match for this criterion.
JAXRException
- if the JAXR provider encounters an internal errorClassificationScheme findClassificationSchemeByName(Collection findQualifiers, String namePattern) throws JAXRException
findQualifiers
- a Collection of find qualifiers as defined by
the FindQualifier interface, which specifies qualifiers that affect
string matching, sorting, boolean predicate logic, and the like.namePattern
- a String that is a partial or full
name pattern with wildcard searching as specified by the SQL-92 LIKE
specification
JAXRException
- if the JAXR provider encounters an internal
error. Throws an InvalidRequestException if multiple matches are
found.BulkResponse findConcepts(Collection findQualifiers, Collection namePatterns, Collection classifications, Collection externalIdentifiers, Collection externalLinks) throws JAXRException
findQualifiers
- a Collection of find qualifiers as defined by
the FindQualifier interface, which specifies qualifiers that affect
string matching, sorting, boolean predicate logic, and the like.namePatterns
- a Collection that may consist of either String
or LocalizedString objects. Each String or value within a
LocalizedString is a partial or full name pattern with wildcard
searching as specified by the SQL-92 LIKE specification. Unless
otherwise specified in findQualifiers, this is a logical OR, and a
match on any name qualifies as a match for this criterion.classifications
- a Collection of Classification objects that
classify the object. It is analogous to a catgegoryBag in the UDDI
specification. Unless otherwise specified in findQualifiers, this is
a logical AND, and a match on all specified Classifications qualifies
as a match for this criterion. The programmer may use the
LifeCycleManager.createClassification method to create a transient
Classification for use in this Collection.externalIdentifiers
- a Collection of ExternalIdentifier objects
that provide an external identifier for the object using an
identification scheme such as DUNS. It is analogous to an
identifierBag in the UDDI specification. Unless otherwise specified
in findQualifiers, this is a logical AND, and a match on all
specified ExternalIdentifiers qualifies as a match for this
criterion. The programmer may use the
LifeCycleManager.createExternalIdentifier method to create a
transient ExternalIdentifier for use in this Collection.externalLinks
- a Collection of ExternalLink objects that link
the object to content outside the registry. It is analogous to an
overviewDoc in the UDDI specification. Unless otherwise specified in
findQualifiers, this is a logical AND, and a match on all specified
ExternalLinks qualifies as a match for this criterion.
JAXRException
- if the JAXR provider encounters an internal errorConcept findConceptByPath(String path) throws JAXRException
path
- a canonical path expression, as defined in the JAXR specification, that identifies the Concept.
JAXRException
- if the JAXR provider encounters an internal errorBulkResponse findRegistryPackages(Collection findQualifiers, Collection namePatterns, Collection classifications, Collection externalLinks) throws JAXRException
findQualifiers
- a Collection of find qualifiers as defined by
the FindQualifier interface, which specifies qualifiers that affect
string matching, sorting, boolean predicate logic, and the like.namePatterns
- a Collection that may consist of either String
or LocalizedString objects. Each String or value within a
LocalizedString is a partial or full name pattern with wildcard
searching as specified by the SQL-92 LIKE specification. Unless
otherwise specified in findQualifiers, this is a logical OR, and a
match on any name qualifies as a match for this criterion.classifications
- a Collection of Classification objects that
classify the object. It is analogous to a catgegoryBag in the UDDI
specification. Unless otherwise specified in findQualifiers, this is
a logical AND, and a match on all specified Classifications qualifies
as a match for this criterion. The programmer may use the
LifeCycleManager.createClassification method to create a transient
Classification for use in this Collection.externalLinks
- a Collection of ExternalLink objects that link
the object to content outside the registry. It is analogous to an
overviewDoc in the UDDI specification. Unless otherwise specified in
findQualifiers, this is a logical AND, and a match on all specified
ExternalLinks qualifies as a match for this criterion.
JAXRException
- if the JAXR provider encounters an internal error
|
Java EE 5 SDK | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 2006 Sun Microsystems, Inc. All rights reserved.