org.apache.juddi.query
Class FindServiceByTModelKeyQuery
java.lang.Object
org.apache.juddi.query.EntityQuery
org.apache.juddi.query.BusinessServiceQuery
org.apache.juddi.query.FindServiceByTModelKeyQuery
public class FindServiceByTModelKeyQuery
- extends BusinessServiceQuery
Returns the list of service keys with bindings that possess the tModels in the passed tModelBag.
Output is restricted by list of service keys passed in. If null, all services are searched.
Output is produced by building the appropriate JPA query based on input and find qualifiers.
From specification:
"Every Web service instance is represented in UDDI by a bindingTemplate contained within some businessService. A
bindingTemplate contains a collection of tModel references called its "technical fingerprint" that specifies its type.
The tModelBag argument is a collection of tModelKey values specifying that the search results are to be limited to
businessServices containing bindingTemplates with technical fingerprints that match.
If a find_tModel argument is specified (see below), it is treated as an embedded inquiry. The tModelKeys returned as a result
of this embedded find_tModel argument are used as if they had been supplied in a tModelBag argument. Changing the order of
the keys in the collection or specifying the same tModelKey more than once does not change the behavior of the find.
By default, only bindingTemplates that contain all of the tModelKeys in the technical fingerprint match (logical AND). Specifying
appropriate findQualifiers can override this behavior so that bindingTemplates containing any of the specified tModelKeys
match (logical OR)."
- Author:
- Jeff Faath, Tom Cunningham
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ENTITY_NAME_CHILD
public static final java.lang.String ENTITY_NAME_CHILD
- See Also:
- Constant Field Values
entityAliasChild
protected static java.lang.String entityAliasChild
FindServiceByTModelKeyQuery
public FindServiceByTModelKeyQuery()
select
public static java.util.List<?> select(javax.persistence.EntityManager em,
FindQualifiers fq,
TModelBag tModels,
java.lang.String parentKey,
java.util.List<?> keysIn,
DynamicQuery.Parameter... restrictions)
appendConditions
public static void appendConditions(DynamicQuery qry,
FindQualifiers fq,
java.util.List<java.lang.String> tmodelKeys)
appendJoinTables
public static void appendJoinTables(DynamicQuery qry,
FindQualifiers fq,
java.util.List<java.lang.String> tmodelKeys)
Copyright © 2004-2011 The Apache Software Foundation. All Rights Reserved.