Ignore:
Timestamp:
2010-06-23T15:44:44+12:00 (14 years ago)
Author:
ak19
Message:

Changes to get Fedora to work with Greenstone3: to let the Greenstone3 Reader Interface work with a Fedora Repository behind the scenes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • other-projects/gs3-webservices-java-client/trunk/src/GS3DemoClient/org/greenstone/gs3client/dlservices/GS3WebServicesQBRAPI.java

    r16051 r22298  
    590590     * @see <a href="http://wiki.greenstone.org/wiki/index.php/Greenstone3">The Greenstone 3 Developer's Manual - pages 48, 49</a>
    591591     * @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.
    594594     * @param docNodeIDs is the list of documentNodeIDs for which the
    595595     * structure ought to be retrieved.
    596596     * @param structure specifies what structure information needs to
    597597     * be retrieved. The values can be one or more of ancestors, parent,
    598      * siblings, children, descendents (NOTE SPELLING), entire.
     598     * siblings, children, descendants (NOTE SPELLING), entire.
    599599     * @param info - for specifying extra information to be retrieved.
    600600     * Possible values for info parameters are numSiblings, siblingPosition,
     
    620620     * @see <a href="http://wiki.greenstone.org/wiki/index.php/Greenstone3">The Greenstone 3 Developer's Manual - page 47</a>
    621621     * @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.
    624624     * @param docNodeIDs is the list of documentNodeIDs for which the
    625625     * structure ought to be retrieved.
     
    641641     * @see <a href="http://wiki.greenstone.org/wiki/index.php/Greenstone3">The Greenstone 3 Developer's Manual - page 47</a>
    642642     * @param collection is the name of the Collection whose
    643      * DocumentContentRetrieve is requested
     643     * DocumentContentRetrieve is requested.
    644644     * @param lang is the language of the display content in the response
    645645     * @param docNodeIDs is the list of documentNodeIDs for which the
     
    753753     * information is requested. Accepted values are ancestors, parent, siblings,
    754754     * children, descendants.
     755     * @param infoParams - the requested structural info. Can be numSiblings, siblingPosition,
     756     * numChildren
    755757    */
    756758    public String browse(String collection, String browseService, String lang,
    757             String[] classifierNodeIDs, String[] structureParams)
     759                 String[] classifierNodeIDs, String[] structureParams, String[] infoParams)
    758760    {
    759761        call.setOperationName( "browse" );
     
    764766        addArrayParam("classifierNodeIDs");
    765767        addArrayParam("structureParams");
     768        addArrayParam("infoParams");
    766769       
    767770        return invokeWith(new Object[] {collection, browseService, lang,
    768                 classifierNodeIDs, structureParams});
     771                        classifierNodeIDs, structureParams, infoParams});
    769772    }
    770773       
     
    821824            System.out.println("browse children of CL1-CL4:\n" +
    822825                    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"}));
    824827           
    825828            System.out.println("browse descendants of CL2.3:\n" +
     
    861864            System.out.println("retrieve all browse meta of CL1, CL2, CL2.1, CL3:\n" +
    862865                    ws.retrieveAllBrowseMetadata("gs2mgppdemo", "", "",
    863                     new String[]{"CL1", "CL2",
    864                     "CL2.1", "CL3"}));
     866                                     new String[]{"CL1", "CL2", "CL2.1", "CL3"}));
    865867           
    866868            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.