org.apache.juddi.query
Class FindBindingByTModelKeyQuery
java.lang.Object
org.apache.juddi.query.EntityQuery
org.apache.juddi.query.BindingTemplateQuery
org.apache.juddi.query.FindBindingByTModelKeyQuery
public class FindBindingByTModelKeyQuery
- extends BindingTemplateQuery
Returns the list of binding keys possessing the tModels in the passed tModelBag.
Output is restricted by list of binding keys passed in. If null, all bindings are searched.
Output is produced by building the appropriate JPA query based on input and find qualifiers.
From specification:
"This collection of tModelKey elements represent in part or in whole the technical fingerprint of the bindingTemplate
structures for which the search is being performed. At least one of either a tModelBag or a find_tModel argument SHOULD be
supplied, unless a categoryBag based search is being used.
If a find_tModel argument is specified (see above), 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 have a technical fingerprint containing
all of the supplied tModelKeys match (logical AND). Specifying appropriate findQualifiers can override this behavior so that
bindingTemplates with a technical fingerprint containing any of the specified tModelKeys are returned (logical OR)."
- Author:
- Jeff Faath
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ENTITY_NAME_CHILD
public static final String ENTITY_NAME_CHILD
- See Also:
- Constant Field Values
entityAliasChild
protected static String entityAliasChild
FindBindingByTModelKeyQuery
public FindBindingByTModelKeyQuery()
select
public static List<?> select(javax.persistence.EntityManager em,
FindQualifiers fq,
TModelBag tModels,
String parentKey,
List<?> keysIn,
DynamicQuery.Parameter... restrictions)
appendConditions
public static void appendConditions(DynamicQuery qry,
FindQualifiers fq,
List<String> tmodelKeys)
appendJoinTables
public static void appendJoinTables(DynamicQuery qry,
FindQualifiers fq,
List<String> tmodelKeys)
Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.