View Javadoc
1 /*** 2 * $Header: /cvsroot/ebxmlrr/jaxr/src/com/sun/xml/registry/client/browser/QueryPanel.java,v 1.14 2003/08/13 03:10:25 farrukh_najmi Exp $ 3 * 4 * 5 */ 6 package com.sun.xml.registry.client.browser; 7 8 import java.awt.*; 9 import java.awt.event.*; 10 import java.net.*; 11 import java.io.*; 12 import java.util.*; 13 import javax.swing.*; 14 import javax.xml.registry.*; 15 import javax.xml.registry.infomodel.*; 16 17 import com.sun.xml.registry.client.browser.conf.bindings.*; 18 import com.sun.xml.registry.client.browser.conf.bindings.types.*; 19 import org.oasis.ebxml.registry.bindings.rim.*; 20 21 /*** 22 * Base class for all Query related panels. 23 * 24 * @author <a href="mailto:Farrukh.Najmi@Sun.COM">Farrukh S. Najmi</a> 25 */ 26 public abstract class QueryPanel extends JPanel { 27 28 private FindParamsPanel findParamsPanel; 29 protected Configuration cfg = null; 30 protected com.sun.xml.registry.ebxml.util.QueryUtil qu = com.sun.xml.registry.ebxml.util.QueryUtil.getInstance(); 31 32 /*** 33 * Class Constructor. 34 */ 35 public QueryPanel(final FindParamsPanel findParamsPanel, Configuration cfg) { 36 this.cfg = cfg; 37 this.setBorder(javax.swing.BorderFactory.createTitledBorder("Search Criteria")); 38 } 39 40 protected abstract void processConfiguration(); 41 42 /*** 43 * Clears or resets the UI. 44 */ 45 public void clear() throws JAXRException { 46 } 47 48 /*** 49 * Invoke the find action. Delegates to parent. 50 */ 51 void find() { 52 findParamsPanel.find(); 53 } 54 55 /*** 56 * Execute the query using parameters defined by the fields in QueryPanel. 57 */ 58 abstract BulkResponse executeQuery(); 59 60 } 61 62 63 64

This page was automatically generated by Maven