]> SALOME platform Git repositories - tools/siman.git/blobdiff - Workspace/Siman-Common/src/org/splat/service/ScenarioService.java
Salome HOME
Modifications done to respect PMD rules. Versioning a document is fixed. Validation...
[tools/siman.git] / Workspace / Siman-Common / src / org / splat / service / ScenarioService.java
index 025a6cb5e3e64e00f1089ee9b349e60d6b8363c7..84bf9c78c97fd4294ed24ba9c2a5c89f13933440 100644 (file)
@@ -43,7 +43,7 @@ public interface ScenarioService {
         * @throws MultiplyDefinedException
         *             if some property occurs several times
         */
-       public Study createStudy(Study.Properties sprop, Scenario.Properties oprop,
+       Study createStudy(Study.Properties sprop, Scenario.Properties oprop,
                        SimulationContext.Properties cprop) throws MissedPropertyException,
                        InvalidPropertyException, MultiplyDefinedException;
 
@@ -62,7 +62,7 @@ public interface ScenarioService {
         * @throws MultiplyDefinedException
         *             if some property occurs several times
         */
-       public Scenario addScenario(Study aStudy, Scenario.Properties sprop)
+       Scenario addScenario(Study aStudy, Scenario.Properties sprop)
                        throws MissedPropertyException, InvalidPropertyException,
                        MultiplyDefinedException;
 
@@ -81,7 +81,7 @@ public interface ScenarioService {
         * @throws MultiplyDefinedException
         *             if some property is defined several times
         */
-       public KnowledgeElement addKnowledgeElement(Scenario aScenario,
+       KnowledgeElement addKnowledgeElement(Scenario aScenario,
                        KnowledgeElement.Properties kprop) throws MissedPropertyException,
                        InvalidPropertyException, MultiplyDefinedException;
 
@@ -91,7 +91,7 @@ public interface ScenarioService {
         * @param aScenario
         *            the scenario to check in
         */
-       public void checkin(Scenario aScenario);
+       void checkin(Scenario aScenario);
 
        /**
         * Check out the scenario.
@@ -102,7 +102,7 @@ public interface ScenarioService {
         *            the current user
         * @return true if check out operation succeeded
         */
-       public boolean checkout(Scenario aScenario, User user);
+       boolean checkout(Scenario aScenario, User user);
 
        /**
         * Copy contents from other scenario up to its given step into the given scenario.
@@ -112,7 +112,7 @@ public interface ScenarioService {
         * @param lastep
         *            the last processed step of the source scenario
         */
-       public void copyContentsUpTo(Scenario scenario, Step lastep);
+       void copyContentsUpTo(Scenario scenario, Step lastep);
 
        /**
         * Check if the scenario is empty, i.d. no one of its steps doesn't contain any knowledge elements or documents.
@@ -121,7 +121,7 @@ public interface ScenarioService {
         *            the scenario to check
         * @return true if the scenario is empty
         */
-       public boolean isEmpty(Scenario scenario);
+       boolean isEmpty(Scenario scenario);
 
        /**
         * Remove a knowledge element from a scenario.
@@ -132,6 +132,6 @@ public interface ScenarioService {
         *            the knowledge element to remove
         * @return true if removal succeeded
         */
-       public boolean removeKnowledgeElement(Scenario scenario,
+       boolean removeKnowledgeElement(Scenario scenario,
                        KnowledgeElement kelm);
 }