View Javadoc
1 /* 2 * $Header: /cvsroot/ebxmlrr/ebxmlrr/src/share/com/sun/ebxml/registry/query/filter/RegistryEntryQueryProcessor.java,v 1.3 2002/02/23 03:17:40 nstojano Exp $ 3 */ 4 5 package com.sun.ebxml.registry.query.filter; 6 7 import com.sun.ebxml.registry.*; 8 9 import org.oasis.ebxml.registry.bindings.query.*; 10 import org.oasis.ebxml.registry.bindings.rs.*; 11 12 /*** 13 * Class Declaration for RegistryEntryQueryProcessor 14 * @see 15 * @author Nikola Stojanovic 16 */ 17 public class RegistryEntryQueryProcessor extends RegistryObjectQueryProcessor { 18 19 private RegistryEntryQueryType registryEntryQuery = null; 20 21 22 protected String getName() { 23 24 return "RegistryEntry"; 25 } 26 27 28 protected void setNativeQuery(RegistryObjectQueryType query) { 29 30 registryEntryQuery = (RegistryEntryQueryType)query; 31 super.setNativeQuery((RegistryObjectQueryType)registryEntryQuery); 32 } 33 34 35 protected void buildFilterClauses() throws RegistryException { 36 37 convertRegistryEntryFilter(); 38 super.buildFilterClauses(); 39 } 40 41 42 protected void buildQueryClauses() throws RegistryException { 43 44 super.buildQueryClauses(); 45 } 46 47 48 protected void buildBranchClauses() throws RegistryException { 49 50 super.buildBranchClauses(); 51 } 52 53 54 private void convertRegistryEntryFilter() throws RegistryException { 55 56 if (registryEntryQuery.getRegistryEntryFilter() != null) { 57 whereClause = filterProcessor.addNativeWhereClause(whereClause, registryEntryQuery.getRegistryEntryFilter()); 58 } 59 } 60 }

This page was automatically generated by Maven