1 package org.splat.ws_server.service.salome;
3 import javax.activation.DataHandler;
6 public interface SimanSalomeService {
8 /** Create the siman-salome.conf file.
9 * @param studyId the study ID
10 * @param scenarioId the scenario ID
11 * @param userId the user ID
12 * @return the URL location of the siman-salome.conf
15 String createConfigFile(final Long studyId, final Long scenarioId,
19 * Get the server file on client.
20 * @param fileURL - the file URL
21 * @return the data handler
23 DataHandler getFile(final String fileURL);
26 * Put the file from client to server.
27 * @param dataHandler the data handler
28 * @param vaultURL the target URL in vault
29 * @return the result URL in vault
31 String /*DataHandler*/ putFile(final DataHandler dataHandler, final String vaultURL);