]> SALOME platform Git repositories - tools/siman.git/blobdiff - Workspace/Siman-Common/src/org/splat/service/StudyService.java
Salome HOME
Fix:
[tools/siman.git] / Workspace / Siman-Common / src / org / splat / service / StudyService.java
index 7185cef30fec027a98cec84eabe079459cda8652..7f8d1a5a955fa29cc69b69b7a9dc3de0df42885f 100644 (file)
@@ -17,17 +17,11 @@ import org.splat.dal.bo.som.SimulationContext;
 import org.splat.dal.bo.som.Study;
 import org.splat.dal.bo.som.ValidationCycle;
 import org.splat.dal.bo.som.Study.Properties;
-import org.splat.exception.IncompatibleDataException;
 import org.splat.exception.InvalidParameterException;
 import org.splat.kernel.InvalidPropertyException;
-import org.splat.kernel.MismatchException;
 import org.splat.kernel.MissedPropertyException;
 import org.splat.kernel.MultiplyDefinedException;
-import org.splat.service.dto.DocToCompareDTO;
-import org.splat.service.dto.DocumentDTO;
-import org.splat.service.dto.StudyFacadeDTO;
 import org.splat.service.dto.UserDTO;
-import org.splat.service.dto.StudyFacadeDTO.ScenarioDTO;
 
 /**
  * This class defines all methods for creation, modification the study.
@@ -313,20 +307,6 @@ public interface StudyService {
         */
        void removeStudyAsReference(Study aStudy);
 
-       /**
-        * Get studies, scenarios and publications available for comparison. <br>
-        * <b> DocumentDto.id are actually filled in with Publication ids.</b>
-        * 
-        * @param userId
-        *            id of the user to to whom visible studies will be returned.
-        * @return list of {@link StudyFacadeDTO} containing lists of {@link ScenarioDTO} containing list of {@link DocumentDTO}, corresponding
-        *         to to the publications available for comparison, with ids and titles filled in.
-        * @throws MismatchException
-        *             if some configurations considering postprocessing step are invalid.
-        */
-       List<StudyFacadeDTO> getComparableStudies(final long userId)
-                       throws MismatchException;
-
        /**
         * Get the description attribute related to the study (there supposed to be the only one such attribute in the database).
         * 
@@ -363,21 +343,6 @@ public interface StudyService {
        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.
-        * @param userName
-        *            the name of the user who compare the results.
-        * @throws IncompatibleDataException
-        *             if data is incompatible for "Compare the studies" functionality.
-        * 
-        * @return path to result file in the vault.
-        */
-       String compare(List<DocToCompareDTO> docsList, final String userName)
-                       throws IncompatibleDataException;
-
        /**
         * Get readers of a given study.
         *