]> SALOME platform Git repositories - tools/siman.git/blobdiff - Workspace/Siman-Common/src/org/splat/service/DocumentTypeService.java
Salome HOME
Refactoring continues: UserService is created instead of UserDirectory. Database...
[tools/siman.git] / Workspace / Siman-Common / src / org / splat / service / DocumentTypeService.java
index 3875736ea141de8c1a9b0d5855e7e8f7b5be0339..1033ece911fb483cccb8f723ab4f6d8653b6575d 100644 (file)
@@ -19,7 +19,7 @@ import org.splat.service.technical.ProjectSettingsService;
 
 /**
  * Document type service interface.
- *
+ * 
  * @author <a href="mailto:roman.kozlov@opencascade.com">Roman Kozlov (RKV)</a>
  */
 public interface DocumentTypeService {
@@ -81,4 +81,13 @@ public interface DocumentTypeService {
         * @return the list of found document types
         */
        public List<DocumentType> selectTypesOf(ProjectSettingsService.Step step);
+
+       /**
+        * Approve the document type.
+        * 
+        * @param aType
+        *            the document type to approve
+        * @return true if approval succeeded
+        */
+       public boolean approve(DocumentType aType);
 }