Changeset 10562


Ignore:
Timestamp:
2005-08-25T12:46:03+12:00 (19 years ago)
Author:
mdewsnip
Message:

Some stub changes to keep things happy, and removed the RemoteFileQueue class (no longer needed).

Location:
trunk/gli/src/org/greenstone/gatherer
Files:
1 deleted
2 edited

Legend:

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

    r10560 r10562  
    11161116        // If we're using a remote Greenstone server, delete the metadata file on the server
    11171117        if (Gatherer.isGsdlRemote) {
    1118         String relative_metadata_set_file_path = RemoteGreenstoneServer.getPathRelativeToDirectory(metadata_set_file.getAbsolutePath(), Gatherer.getGLIUserDirectoryPath());
    1119         RemoteGreenstoneServer.deleteCollectionFile(collection.getName(), relative_metadata_set_file_path);
     1118        RemoteGreenstoneServer.deleteCollectionFile(collection.getName(), metadata_set_file);
    11201119        }
    11211120    }
  • trunk/gli/src/org/greenstone/gatherer/remote/RemoteGreenstoneServer.java

    r10558 r10562  
    3939public class RemoteGreenstoneServer
    4040{
    41     static public void addJob(long id, FileNode[] source_nodes, FileNode target_node, byte type)
    42     {
     41    static public boolean deleteCollectionFile(String collection_name, File collection_file)
     42    {
     43    return true;
    4344    }
    4445
     
    6263
    6364
    64     static public String getPathRelativeToDirectory(String file_path, String directory_path)
    65     {
    66     return "";
    67     }
    68 
    69 
    70     static public boolean deleteCollectionFile(String collection_name, String relative_file_path)
    71     {
    72     return true;
     65    static public Boolean moveCollectionFile(String collection_name, File source_collection_file, File target_collection_file)
     66    {
     67    return null;
     68    }
     69
     70
     71    static public Boolean newCollectionDirectory(String collection_name, File new_collection_directory)
     72    {
     73    return null;
    7374    }
    7475
     
    7778    {
    7879    return true;
    79    }
     80    }
    8081
    8182
     
    8384    {
    8485    return true;
    85    }
     86    }
     87
     88
     89    static public Boolean uploadFilesIntoCollection(String collection_name, File[] source_files, File target_collection_directory)
     90    {
     91    return null;
     92    }
    8693
    8794
Note: See TracChangeset for help on using the changeset viewer.