org.apache.juddi.query
Class FindTModelByCategoryGroupQuery

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

public class FindTModelByCategoryGroupQuery
extends java.lang.Object

Returns the list of tmodel keys possessing the keyedReferenceGroups in the passed category bag. Output is restricted by list of tmodel keys passed in. If null, all tmodels 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 tModelList contains tModelInfo elements whose associated tModels match 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
FindTModelByCategoryGroupQuery()
           
 
Method Summary
static java.util.List<?> select(javax.persistence.EntityManager em, FindQualifiers fq, CategoryBag categoryBag, java.util.List<?> keysIn)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FindTModelByCategoryGroupQuery

public FindTModelByCategoryGroupQuery()
Method Detail

select

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


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