package org.splat.ws_server.service.salome;
+import java.io.IOException;
+
+import javax.activation.DataHandler;
+
public interface SimanSalomeService {
* @return the URL location of the siman-salome.conf
*/
- public String createConfigFile(final Long studyId, final Long scenarioId,
+ String createConfigFile(final Long studyId, final Long scenarioId,
final Long userId);
+
+ /**
+ * Get the server file on client.
+ * @param fileURL - the file URL
+ * @return the data handler
+ */
+ DataHandler getFile(final String fileURL);
+
+ /**
+ * Put the file from client to server.
+ * @param dataHandler the data handler
+ * @param vaultURL the target URL in vault
+ * @throws IOException input/output error
+ **/
+ void /*DataHandler*/ putFile(final DataHandler dataHandler, final String vaultURL);
}