]> SALOME platform Git repositories - tools/siman.git/blob - Workspace/Siman-WS/src/org/splat/ws_server/service/salome/SimanSalomeService.java
Salome HOME
9f7b7798f383f23d8b4955db1f4cb5749cb7e65e
[tools/siman.git] / Workspace / Siman-WS / src / org / splat / ws_server / service / salome / SimanSalomeService.java
1 package org.splat.ws_server.service.salome;
2
3 import javax.activation.DataHandler;
4
5
6 public interface SimanSalomeService {
7         
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
13      */
14
15         String createConfigFile(final Long studyId, final Long scenarioId,
16                         final Long userId);
17         
18         /**
19          * Get the server file on client.
20          * @param fileURL - the file URL
21          * @return the data handler
22          */
23         DataHandler getFile(final String fileURL);
24         
25         /**
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
30          **/
31         String /*DataHandler*/ putFile(final DataHandler dataHandler, final String vaultURL);
32 }