Revision 3613 trunk/applications/appCatalogYNomenclatorClient/src/es/gva/cit/catalogClient/CatalogClient.java

View differences:

CatalogClient.java
40 40
*   dac@iver.es
41 41
*/
42 42
package es.gva.cit.catalogClient;
43
import es.gva.cit.catalogClient.csw.drivers.CSWCatalogServiceDriver;
44
import es.gva.cit.catalogClient.drivers.ICatalogServiceDriver;
45
import es.gva.cit.catalogClient.querys.Query;
46
import es.gva.cit.catalogClient.srw.drivers.SRWCatalogServiceDriver;
47
import es.gva.cit.catalogClient.utils.comboServer.ServerData;
48
import es.gva.cit.catalogClient.z3950.drivers.Z3950CatalogServiceDriver;
43 49
import java.io.IOException;
44 50
import java.net.MalformedURLException;
45 51
import java.net.Socket;
......
47 53
import java.net.UnknownHostException;
48 54
import java.util.Collection;
49 55

  
50
import es.gva.cit.catalogClient.csw.drivers.CSWCatalogServiceDriver;
51
import es.gva.cit.catalogClient.drivers.ICatalogServiceDriver;
52
import es.gva.cit.catalogClient.querys.Query;
53
import es.gva.cit.catalogClient.srw.drivers.SRWCatalogServiceDriver;
54
import es.gva.cit.catalogClient.utils.comboServer.ServerData;
55
import es.gva.cit.catalogClient.z3950.drivers.Z3950CatalogServiceDriver;
56

  
57 56
/**
58 57
 * This class represents a catalogClient. It must be created to
59 58
 * use the catalog service
......
138 137
    } 
139 138

  
140 139
/**
141
 * This method implements the getCapabilities Operation
142 140
 * 
143 141
 * 
142
 * 
144 143
 * @return 
145 144
 */
146 145
    public boolean getCapabilities() {        
......
174 173
    
175 174
        return false;
176 175
    } 
177
    /**
178
     * 
179
     *
180
    * @param url Server URL
181
    * @param query It contains the values to do the query (title="XXX",abstract="YYY",...)
182
    * @param firstRecord Number of the first record to retrieve
183
    * @return Node array with the retrieved records
184
    */
185
    public Collection getRecords(URL url, Query query, int firstRecord){
176

  
177
/**
178
 * 
179
 * 
180
 * 
181
 * @return Node array with the retrieved records
182
 * @param url Server URL
183
 * @param query It contains the values to do the query (title="XXX",abstract="YYY",...)
184
 * @param firstRecord Number of the first record to retrieve
185
 */
186
    public Collection getRecords(URL url, Query query, int firstRecord) {        
186 187
    
187 188
        return getLnkICatalogServerDriver().getRecords(url,query,firstRecord);
188 189
           
189 190
            
190
    }
191
    } 
192

  
191 193
/**
192 194
 * This method is used to create a new Query
193 195
 * 

Also available in: Unified diff