org.apache.juddi.query
Class FindBusinessByCategoryGroupQuery

java.lang.Object
  extended by org.apache.juddi.query.FindBusinessByCategoryGroupQuery

public class FindBusinessByCategoryGroupQuery
extends Object

Returns the list of business keys possessing the keyedReferenceGroups in the passed category bag. Output is restricted by list of business keys passed in. If null, all business entities are searched. Output is produced by building the appropriate JPA query based on input and find qualifiers. From specification: "This is a list of category references in the form of keyedReference elements and keyedReferenceGroup structures. The returned businessList contains businessInfo 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

Constructor Summary
FindBusinessByCategoryGroupQuery()
           
 
Method Summary
static List<?> select(javax.persistence.EntityManager em, FindQualifiers fq, CategoryBag categoryBag, List<?> keysIn)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FindBusinessByCategoryGroupQuery

public FindBusinessByCategoryGroupQuery()
Method Detail

select

public static List<?> select(javax.persistence.EntityManager em,
                             FindQualifiers fq,
                             CategoryBag categoryBag,
                             List<?> keysIn)


Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.