Ignore:
Timestamp:
2009-04-22T15:52:31+12:00 (15 years ago)
Author:
ak19
Message:

Tentative changes for getting the collectiongroup construct to work with the RemoteGreenstoneServer

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gli/trunk/src/org/greenstone/gatherer/collection/CollectionManager.java

    r19041 r19197  
    906906
    907907    /** Returns the name of the loaded collection.
     908     *  Returns the "collectionGroupName/collectionName" or just the collectionName
     909     *  depending on whether the collection is part of a collection group or not.
    908910     */
    909911    static public String getLoadedCollectionName()
     
    911913    if (collection != null) {
    912914        return collection.getName();
     915    }
     916
     917    return null;
     918    }
     919
     920    /** @return the subname of any collection (stripped of any collection-group). */
     921    static public String getLoadedCollectionSubName()
     922    {
     923    if (collection != null) {
     924        return collection.getCollectionSubName();
    913925    }
    914926
     
    922934     * (\ or /, depending on the OS).
    923935     */
    924     static public String getLoadedColNameWithGroup(boolean url)
     936    static public String getLoadedGroupQualifiedCollectionName(boolean url)
    925937    {
    926938    if (collection != null) {
    927         return collection.getGroupWithName(url);
     939        return collection.getGroupQualifiedName(url);
    928940    }
    929941
Note: See TracChangeset for help on using the changeset viewer.