Changeset 21835 for other-projects/gs3-webservices-java-client/trunk/src/GS3DemoClient/org/greenstone
- Timestamp:
- 2010-03-26T18:37:14+13:00 (14 years ago)
- Location:
- other-projects/gs3-webservices-java-client/trunk/src/GS3DemoClient/org/greenstone/gs3client
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
other-projects/gs3-webservices-java-client/trunk/src/GS3DemoClient/org/greenstone/gs3client/GS3JavaClient.java
r15731 r21835 736 736 JEditorPane information = new JEditorPane(); 737 737 information.setEditable(false); 738 738 information.setContentType("text/html"); 739 739 information.setText(collDataEl.info()); 740 740 … … 929 929 * to be retrieved. */ 930 930 public void doBrowse(ClassifierData classifier) { 931 String[] classifierNames = { classifier.name }; 931 932 String response = dlAPIA.retrieveBrowseStructure( 932 this.colName, this.serviceName, classifier .name);933 this.colName, this.serviceName, classifierNames); 933 934 934 935 browseResponseObject.clear(); -
other-projects/gs3-webservices-java-client/trunk/src/GS3DemoClient/org/greenstone/gs3client/dlservices/DigitalLibraryServicesAPIA.java
r21812 r21835 201 201 * classifierID (including the structures of document descendents of 202 202 * the classifier). 203 * @param classifierID is of the form CL# where the number (#) marks204 * out structured sections like CL1.1.3 or CL2203 * @param classifierIDs - each ID is of the form CL# where the number (#) 204 * marks out structured sections like CL1.1.3 or CL2 205 205 * @param collection is the name of the collection 206 206 * @param service is the name of the browse service (=ClassifierBrowse usually) 207 207 */ 208 208 public String retrieveBrowseStructure( 209 String collection, String service, String classifierID);209 String collection, String service, String[] classifierIDs); 210 210 211 211 /** @return a String representing Greenstone3 -
other-projects/gs3-webservices-java-client/trunk/src/GS3DemoClient/org/greenstone/gs3client/dlservices/FedoraServicesAPIA.java
r21812 r21835 121 121 } 122 122 123 /** @return a String representing Greenstone3 Document MetadataRetrieve XML123 /** @return a String representing Greenstone3 DocumentStructureRetrieve XML 124 124 * containing the document structure of the documents indicated by docIDs: 125 125 * this means all their descendents … … 131 131 } 132 132 133 /** @return a String representing Greenstone3 Document MetadataRetrieve XML133 /** @return a String representing Greenstone3 DocumentStructureRetrieve XML 134 134 * containing the document structure of the document indicated by docID: 135 135 * this means all its descendents … … 142 142 143 143 // UNUSED by the client, but still a very useful method: 144 /** @return a String representing Greenstone3 Document MetadataRetrieve XML144 /** @return a String representing Greenstone3 DocumentStructureRetrieve XML 145 145 * containing a view of the document structure of the documents denoted by 146 146 * docs where only the requested documents and their direct children are … … 153 153 } 154 154 155 /** @return a String representing Greenstone3 Document MetadataRetrieve XML155 /** @return a String representing Greenstone3 DocumentStructureRetrieve XML 156 156 * containing a view of the document structure of the document denoted by 157 157 * docID where only the document and its direct children are returned. … … 167 167 * classifierID (including the structures of document descendents of 168 168 * the classifier). 169 * @param classifierID is of the form CL# where the number (#) marks170 * out structured sections like CL1.1.3 or CL2169 * @param classifierIDs - each ID is of the form CL# where the number (#) 170 * marks out structured sections like CL1.1.3 or CL2 171 171 * @param collection is the name of the collection 172 172 * @param service is the name of the browse service (=ClassifierBrowse usually) 173 173 */ 174 174 public String retrieveBrowseStructure( 175 String collection, String service, String classifierID)175 String collection, String service, String[] classifierIDs) 176 176 { 177 return this.browse(collection, classifierID );177 return this.browse(collection, classifierIDs); 178 178 } 179 179 … … 194 194 } 195 195 196 /** @return a String representing Greenstone3 XML for a query process197 * response returning the results for the query denoted by parameter198 * nameValParamsMap.199 * @param nameValParamsMap is a Map of name and value pairs for all the200 * query field data values. The names match the field names that201 * describeCollectionService() would have returned for the query service.202 * @param collection is the name of the collection203 * @param service is the name of the query service204 * This method is only ever called when any of the services in the digital205 * library described themselves as type=query. Therefore any digital206 * libraries that have no query services, can just return emtpy message207 * strings (or even "") since this method will never be called on them208 * anyway. */209 public String query(String collection, String service,210 Map nameValParamsMap)211 {212 return super.query(collection, service, nameValParamsMap);213 }214 196 } -
other-projects/gs3-webservices-java-client/trunk/src/GS3DemoClient/org/greenstone/gs3client/dlservices/GS3ServicesAPIA.java
r15379 r21835 356 356 * classifierID (including the structures of document descendants of 357 357 * the classifier). 358 * @param classifierID is of the form CL# where the number (#) marks359 * out structured sections like CL1.1.3 or CL2358 * @param classifierIDs - each ID is of the form CL# where the number (#) 359 * marks out structured sections like CL1.1.3 or CL2 360 360 * @param collection is the name of the collection 361 361 * @param service is the name of the browse service (=ClassifierBrowse usually) 362 362 */ 363 363 public String retrieveBrowseStructure( 364 String collection, String service, String classifierID)364 String collection, String service, String[] classifierIDs) 365 365 { 366 String[] classifierIDs = { classifierID };367 366 return this.browseDescendants(collection, service, 368 367 language, classifierIDs );
Note:
See TracChangeset
for help on using the changeset viewer.