Ignore:
Timestamp:
2012-09-11T16:22:31+12:00 (12 years ago)
Author:
ak19
Message:

Uncommitted changes from ages back to fedoraGS3 classes to get greenstone to work as an interface to fedora repository backend.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • other-projects/gs3-webservices-java-client/trunk/src/GS3Fedora/org/greenstone/fedora/services/FedoraToGS3Interface.java

    r22300 r26171  
    296296    public String query(String collection, String service,
    297297            Map nameValParamsMap);
     298
     299   
     300    /** Given a URL that represents a fedoraPID, will look up the object.
     301     * If it exists, it will return the contents of the DC:Title of its datastream.
     302     * If it doesn't exist, it will return the URL as-is.
     303     * @param URL: the URL that (after modification) represents a fedoraPID to look up.
     304     * @param collection: the name of collection in which to search for the URL
     305     * representing a fedoraPID.
     306     * @return the string (representing a fedoraPID) stored in the DC:Title of the
     307     * URL-fedoraPID. If the URL-fedoraPID is not an object in the given collection,
     308     * then the parameter URL is returned.
     309    */
     310    public String getPIDforURL(String url, String collection);
    298311}
Note: See TracChangeset for help on using the changeset viewer.