org.apache.juddi.query
Class FindServiceByCategoryGroupQuery

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

public class FindServiceByCategoryGroupQuery
extends java.lang.Object

Returns the list of service keys possessing the keyedReferenceGroups in the passed category bag. Output is restricted by list of service keys passed in. If null, all services 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. The returned serviceList contains serviceInfo structures 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
FindServiceByCategoryGroupQuery()
           
 
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
 

Constructor Detail

FindServiceByCategoryGroupQuery

public FindServiceByCategoryGroupQuery()
Method Detail

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. All Rights Reserved.