1 package org.splat.ws_server.service.salome;
3 import javax.activation.DataHandler;
6 * The SimanSalome WebService.
7 * @author Maria KRUCHININA
10 public interface SimanSalomeService {
12 /** Create the siman-salome.conf file.
13 * @param studyId the study ID
14 * @param scenarioId the scenario ID
15 * @param userId the user ID
16 * @return the URL location of the siman-salome.conf
19 String createConfigFile(final Long studyId, final Long scenarioId,
23 * Get the server file on client.
24 * @param fileURL - the file URL
25 * @return the data handler
27 DataHandler getFile(final String fileURL);
30 * Put the file from client to server.
31 * @param dataHandler the data handler
32 * @param fileName the name of the uploaded file
33 * @param userId the user ID
34 * @return the result URL in vault
36 String /*DataHandler*/ putFile(final DataHandler dataHandler, final String fileName, final Long userId);
40 * @param fileURL - the salome-siman.conf file URL
41 * @param userId the user ID
43 String checkIn(final String fileURL, final Long userId);