Changeset 10562
- Timestamp:
- 2005-08-25T12:46:03+12:00 (19 years ago)
- 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 1116 1116 // If we're using a remote Greenstone server, delete the metadata file on the server 1117 1117 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); 1120 1119 } 1121 1120 } -
trunk/gli/src/org/greenstone/gatherer/remote/RemoteGreenstoneServer.java
r10558 r10562 39 39 public class RemoteGreenstoneServer 40 40 { 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; 43 44 } 44 45 … … 62 63 63 64 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; 73 74 } 74 75 … … 77 78 { 78 79 return true; 79 }80 } 80 81 81 82 … … 83 84 { 84 85 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 } 86 93 87 94
Note:
See TracChangeset
for help on using the changeset viewer.