]> SALOME platform Git repositories - tools/siman.git/blobdiff - Workspace/Siman-Common/src/org/splat/service/SimulationContextService.java
Salome HOME
Refactoring continues: UserService is created instead of UserDirectory. Database...
[tools/siman.git] / Workspace / Siman-Common / src / org / splat / service / SimulationContextService.java
index dc9cc3425405eaa73b44d991ede287e0c8af0508..a15cc17eb8dba7f8d5867ad40d5dfd866a1dfd6e 100644 (file)
@@ -88,7 +88,9 @@ public interface SimulationContextService {
 
        /**
         * Get simulation context types by example.
-        * @param sprop the example
+        * 
+        * @param sprop
+        *            the example
         * @return list of found context types
         */
        public List<SimulationContextType> selectTypesWhere(
@@ -96,7 +98,9 @@ public interface SimulationContextService {
 
        /**
         * Get a simulation context type by its name.
-        * @param name name of the context type
+        * 
+        * @param name
+        *            name of the context type
         * @return found context type
         */
        public SimulationContextType selectType(String name);
@@ -133,4 +137,19 @@ public interface SimulationContextService {
         */
        List<SimulationContext> getSimulationContextList();
 
+       /**
+        * Approve the simulation context type.
+        * 
+        * @param simCtxType
+        *            the type to approve
+        * @return true if approval succeeded
+        */
+       public boolean approve(SimulationContextType simCtxType);
+
+       /**
+        * @param simCtxType
+        * @return
+        */
+       public ProjectSettingsService.Step getAttachedStep(
+                       SimulationContextType simCtxType);
 }