Changeset 10533


Ignore:
Timestamp:
2005-08-19T11:43:10+12:00 (19 years ago)
Author:
mdewsnip
Message:

Updated the stubs to return boolean values indicating whether the action succeeded or failed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gli/src/org/greenstone/gatherer/remote/RemoteGreenstoneServer.java

    r10512 r10533  
    3838public class RemoteGreenstoneServer
    3939{
    40     static public void downloadCollection(String collection_name)
    41     {
    42     }
    43 
    44 
    45     static public void downloadCollectionConfigurations()
    46     {
    47     }
    48 
    49 
    50     static public void downloadCollectionFile(String collection_name, File collection_file)
    51     {
     40    static public boolean downloadCollection(String collection_name)
     41    {
     42    return true;
     43    }
     44
     45
     46    static public boolean downloadCollectionConfigurations()
     47    {
     48    return true;
     49    }
     50
     51
     52    static public boolean downloadCollectionFile(String collection_name, File collection_file)
     53    {
     54    return true;
    5255    }
    5356
     
    5962
    6063
    61     static public void deleteCollectionFile(String collection_name, String relative_file_path)
    62     {
    63     }
    64 
    65 
    66     static public void uploadCollectionFile(String collection_name, File collection_file)
    67     {
    68     }
    69 
    70 
    71     static public void uploadCollectionFiles(String collection_name, File[] collection_files)
    72     {
    73     }
     64    static public boolean deleteCollectionFile(String collection_name, String relative_file_path)
     65    {
     66    return true;
     67    }
     68
     69
     70    static public boolean uploadCollectionFile(String collection_name, File collection_file)
     71    {
     72    return true;
     73   }
     74
     75
     76    static public boolean uploadCollectionFiles(String collection_name, File[] collection_files)
     77    {
     78    return true;
     79   }
    7480
    7581
Note: See TracChangeset for help on using the changeset viewer.