org.apache.juddi.query
Class FindServiceByCombinedCategoryQuery

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

public class FindServiceByCombinedCategoryQuery
extends Object

Returns the list of service keys possessing the keyedReferences in the passed category bag. Output is restricted by list of service keys passed in. If null, all business services are searched. Output is produced by building the appropriate JPA query based on input and find qualifiers. From specification: From specification: "combineCategoryBags: this may only be used in the find_business and find_service calls. In the case of find_business, this qualifier makes the categoryBag entries for the full businessEntity element behave as though all categoryBag elements found at the businessEntity level and in all contained or referenced businessService elements and bindingTemplate elements were combined. Searching for a category will yield a positive match on a registered business if any of the categoryBag elements contained within the full businessEntity element (including the categoryBag elements within contained or referenced businessService elements or bindingTemplate elements) contains the filter criteria. In the case of find_service, this qualifier makes the categoryBag entries for the full businessService element behave as though all categoryBag elements found at the businessService level and in all contained or referenced elements in the bindingTemplate elements were combined. Searching for a category will yield a positive match on a registered service if any of the categoryBag elements contained within the full businessService element (including the categoryBag elements within contained or referenced bindingTemplate elements) contains the filter criteria. This find qualifier does not cause the keyedReferences in categoryBags to be combined with the keyedReferences in keyedReferenceGroups in categoryBags when performing the comparison. The keyedReferences are combined with each other, and the keyedReferenceGroups are combined with each other."

Author:
Jeff Faath, Tom Cunningham, Kurt Stam

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

Constructor Detail

FindServiceByCombinedCategoryQuery

public FindServiceByCombinedCategoryQuery()
Method Detail

select

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


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