Salome HOME
Compare method signature and DocToCompareDTO are added.
[tools/siman.git] / Workspace / Siman-Common / src / org / splat / service / StudyService.java
index a7353d6a1740477c1669e3e1aa2ab205c66adecb..aea1958fcd95c574d033a5e9ac2659a0780375a5 100644 (file)
@@ -23,6 +23,7 @@ import org.splat.exception.InvalidParameterException;
 import org.splat.kernel.InvalidPropertyException;
 import org.splat.kernel.MissedPropertyException;
 import org.splat.kernel.MultiplyDefinedException;
+import org.splat.service.dto.DocToCompareDTO;
 
 /**
  * This class defines all methods for creation, modification the study.
@@ -303,4 +304,13 @@ public interface StudyService {
         * @return true if succeeded, false if study doesn't have a description.
         */
        boolean removeDescription(final Long studyId) throws InvalidParameterException;
+       
+       /**
+        * Compare the studies and generate the file that contains the result chart.
+        * @param docsList the list of dtos each contains information: 
+        * StudyTitle, ScenarioTitle, PathToFile in vault. 
+        * 
+        * @return path to result file in the vault.
+        */
+       String compare (List<DocToCompareDTO> docsList);
 }