View Javadoc
1 /* 2 * $Header: /cvsroot/ebxmlrr/ebxmlrr/src/share/com/sun/ebxml/registry/query/filter/ExtrinsicObjectQueryProcessor.java,v 1.5 2002/03/06 04:40: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 ExtrinsicObjectQueryProcessor 14 * @see 15 * @author Nikola Stojanovic 16 */ 17 public class ExtrinsicObjectQueryProcessor extends RegistryEntryQueryProcessor { 18 19 private ExtrinsicObjectQuery extrinsicObjectQuery = null; 20 21 22 protected String getName() { 23 24 return "ExtrinsicObject"; 25 } 26 27 28 protected void setNativeQuery(RegistryObjectQueryType query) { 29 30 extrinsicObjectQuery = (ExtrinsicObjectQuery)query; 31 super.setNativeQuery((RegistryObjectQueryType)extrinsicObjectQuery); 32 } 33 34 35 protected void buildFilterClauses() throws RegistryException { 36 37 convertExtrinsicObjectFilter(); 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 convertExtrinsicObjectFilter() throws RegistryException { 55 56 if (extrinsicObjectQuery.getExtrinsicObjectFilter() != null) { 57 whereClause = filterProcessor.addNativeWhereClause(whereClause, extrinsicObjectQuery.getExtrinsicObjectFilter()); 58 } 59 } 60 }

This page was automatically generated by Maven