org.apache.juddi.query
Class FindBindingByCategoryGroupQuery
java.lang.Object
org.apache.juddi.query.FindBindingByCategoryGroupQuery
public class FindBindingByCategoryGroupQuery
- extends java.lang.Object
Returns the list of binding keys possessing the keyedReferenceGroups in the passed category bag.
Output is restricted by list of binding keys passed in. If null, all binding templates are searched.
Output is produced by building the appropriate JPA query based on input and find qualifiers.
From specification:
"This optional argument is a list of category references in the form of keyedReference elements and keyedReferenceGroup
structures. When used, the returned bindingDetail for this API will contain elements matching all of the categories
passed (logical AND by default). Specifying the appropriate findQualifiers can override this behavior.
A given keyedReferenceGroup "X" (e.g., within a given categoryBag) matches a keyedReferenceGroup "Y" in the registry if
and only if the tModelKey assigned to the keyedReferenceGroup X matches the tModelKey assigned to the keyedReferenceGroup
Y and the set of keyedReferences in "X" are a subset of the set of keyedReferences in "Y." The order of individual
keyedReferences within a keyedReferenceGroup is not important. Matching rules for the individual contained keyedReference
elements are the same as above."
- Author:
- Jeff Faath
Method Summary |
static java.util.List<?> |
select(javax.persistence.EntityManager em,
FindQualifiers fq,
CategoryBag categoryBag,
java.lang.String parentKey,
java.util.List<?> keysIn)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FindBindingByCategoryGroupQuery
public FindBindingByCategoryGroupQuery()
select
public static java.util.List<?> select(javax.persistence.EntityManager em,
FindQualifiers fq,
CategoryBag categoryBag,
java.lang.String parentKey,
java.util.List<?> keysIn)
Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.