Changeset 22298 for other-projects/gs3-webservices-java-client/trunk/src/GS3DemoClient/org/greenstone/gs3client/dlservices/GS3WebServicesQBRAPI.java
- Timestamp:
- 2010-06-23T15:44:44+12:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
other-projects/gs3-webservices-java-client/trunk/src/GS3DemoClient/org/greenstone/gs3client/dlservices/GS3WebServicesQBRAPI.java
r16051 r22298 590 590 * @see <a href="http://wiki.greenstone.org/wiki/index.php/Greenstone3">The Greenstone 3 Developer's Manual - pages 48, 49</a> 591 591 * @param collection is the name of the Collection whose 592 * DocumentStructureRetrieve is requested 593 * @param lang is the language of the display content in the response 592 * DocumentStructureRetrieve is requested. 593 * @param lang is the language of the display content in the response. 594 594 * @param docNodeIDs is the list of documentNodeIDs for which the 595 595 * structure ought to be retrieved. 596 596 * @param structure specifies what structure information needs to 597 597 * be retrieved. The values can be one or more of ancestors, parent, 598 * siblings, children, descend ents (NOTE SPELLING), entire.598 * siblings, children, descendants (NOTE SPELLING), entire. 599 599 * @param info - for specifying extra information to be retrieved. 600 600 * Possible values for info parameters are numSiblings, siblingPosition, … … 620 620 * @see <a href="http://wiki.greenstone.org/wiki/index.php/Greenstone3">The Greenstone 3 Developer's Manual - page 47</a> 621 621 * @param collection is the name of the Collection whose 622 * DocumentMetadataRetrieve is requested 623 * @param lang is the language of the display content in the response 622 * DocumentMetadataRetrieve is requested. 623 * @param lang is the language of the display content in the response. 624 624 * @param docNodeIDs is the list of documentNodeIDs for which the 625 625 * structure ought to be retrieved. … … 641 641 * @see <a href="http://wiki.greenstone.org/wiki/index.php/Greenstone3">The Greenstone 3 Developer's Manual - page 47</a> 642 642 * @param collection is the name of the Collection whose 643 * DocumentContentRetrieve is requested 643 * DocumentContentRetrieve is requested. 644 644 * @param lang is the language of the display content in the response 645 645 * @param docNodeIDs is the list of documentNodeIDs for which the … … 753 753 * information is requested. Accepted values are ancestors, parent, siblings, 754 754 * children, descendants. 755 * @param infoParams - the requested structural info. Can be numSiblings, siblingPosition, 756 * numChildren 755 757 */ 756 758 public String browse(String collection, String browseService, String lang, 757 String[] classifierNodeIDs, String[] structureParams)759 String[] classifierNodeIDs, String[] structureParams, String[] infoParams) 758 760 { 759 761 call.setOperationName( "browse" ); … … 764 766 addArrayParam("classifierNodeIDs"); 765 767 addArrayParam("structureParams"); 768 addArrayParam("infoParams"); 766 769 767 770 return invokeWith(new Object[] {collection, browseService, lang, 768 classifierNodeIDs, structureParams});771 classifierNodeIDs, structureParams, infoParams}); 769 772 } 770 773 … … 821 824 System.out.println("browse children of CL1-CL4:\n" + 822 825 ws.browse("gs2mgppdemo", "ClassifierBrowse", "", 823 new String[]{"CL1", "CL2", "CL3", "CL4"}, new String[]{"children"} ));826 new String[]{"CL1", "CL2", "CL3", "CL4"}, new String[]{"children"}, new String[]{"numChildren"})); 824 827 825 828 System.out.println("browse descendants of CL2.3:\n" + … … 861 864 System.out.println("retrieve all browse meta of CL1, CL2, CL2.1, CL3:\n" + 862 865 ws.retrieveAllBrowseMetadata("gs2mgppdemo", "", "", 863 new String[]{"CL1", "CL2", 864 "CL2.1", "CL3"})); 866 new String[]{"CL1", "CL2", "CL2.1", "CL3"})); 865 867 866 868 System.out.println("retrieve Title, hastxt browse meta of CL1, CL2, CL2.1, CL3:\n" +
Note:
See TracChangeset
for help on using the changeset viewer.