org.apache.juddi.query
Class FindBusinessByCategoryQuery

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

public class FindBusinessByCategoryQuery
extends Object

Returns the list of business keys possessing the keyedReferences 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."

Author:
Jeff Faath

Constructor Summary
FindBusinessByCategoryQuery()
           
 
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

FindBusinessByCategoryQuery

public FindBusinessByCategoryQuery()
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.