]> SALOME platform Git repositories - tools/siman.git/blob - Workspace/Siman-WS/src/org/splat/ws_server/service/salome/SimanSalomeService.java
Salome HOME
Download and upload operations from server to client (from client to server) are...
[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 java.io.IOException;
4
5 import javax.activation.DataHandler;
6
7
8 public interface SimanSalomeService {
9         
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
15      */
16
17         String createConfigFile(final Long studyId, final Long scenarioId,
18                         final Long userId);
19         
20         /**
21          * Get the server file on client.
22          * @param fileURL - the file URL
23          * @return the data handler
24          */
25         DataHandler getFile(final String fileURL);
26         
27         /**
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
32          **/
33         void /*DataHandler*/ putFile(final DataHandler dataHandler, final String vaultURL);
34 }