1 package org.splat.ws_server.service.salome;
3 import java.io.IOException;
5 import javax.activation.DataHandler;
8 public interface SimanSalomeService {
10 /** Create the siman-salome.conf file.
11 * @param studyId the study ID
12 * @param scenarioId the scenario ID
13 * @param userId the user ID
14 * @return the URL location of the siman-salome.conf
17 String createConfigFile(final Long studyId, final Long scenarioId,
21 * Get the server file on client.
22 * @param fileURL - the file URL
23 * @return the data handler
25 DataHandler getFile(final String fileURL);
28 * Put the file from client to server.
29 * @param dataHandler the data handler
30 * @param vaultURL the target URL in vault
31 * @throws IOException input/output error
33 void /*DataHandler*/ putFile(final DataHandler dataHandler, final String vaultURL);