org.apache.juddi.query
Class FindEntityByPublisherQuery

java.lang.Object
  extended by org.apache.juddi.query.EntityQuery
      extended by org.apache.juddi.query.FindEntityByPublisherQuery

public class FindEntityByPublisherQuery
extends EntityQuery

Returns the list of "entity" keys possessing the publisher Id in the passed in UddiEntityPublisher Output is restricted by list of "entity" keys passed in. If null, all entities are searched. Output is produced by building the appropriate JPA query based on input and find qualifiers.

Author:
Jeff Faath

Field Summary
static String AUTHORIZED_NAME_FIELD
           
 
Fields inherited from class org.apache.juddi.query.EntityQuery
DEFAULT_MAXINCLAUSE, DEFAULT_MAXROWS, KEY_NAME
 
Constructor Summary
FindEntityByPublisherQuery(String entityName, String entityAlias, String keyName)
           
 
Method Summary
 void appendConditions(DynamicQuery qry, FindQualifiers fq, UddiEntityPublisher publisher)
           
 String getEntityAlias()
           
 String getEntityName()
           
 String getKeyName()
           
 String getSelectSQL()
           
 List<?> select(javax.persistence.EntityManager em, FindQualifiers fq, UddiEntityPublisher publisher, List<?> keysIn, DynamicQuery.Parameter... restrictions)
           
 
Methods inherited from class org.apache.juddi.query.EntityQuery
buildAlias, getPagedResult, getQueryResult
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

AUTHORIZED_NAME_FIELD

public static final String AUTHORIZED_NAME_FIELD
See Also:
Constant Field Values
Constructor Detail

FindEntityByPublisherQuery

public FindEntityByPublisherQuery(String entityName,
                                  String entityAlias,
                                  String keyName)
Method Detail

getEntityName

public String getEntityName()

getEntityAlias

public String getEntityAlias()

getKeyName

public String getKeyName()

getSelectSQL

public String getSelectSQL()

select

public List<?> select(javax.persistence.EntityManager em,
                      FindQualifiers fq,
                      UddiEntityPublisher publisher,
                      List<?> keysIn,
                      DynamicQuery.Parameter... restrictions)

appendConditions

public void appendConditions(DynamicQuery qry,
                             FindQualifiers fq,
                             UddiEntityPublisher publisher)


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