]> SALOME platform Git repositories - tools/siman.git/blobdiff - Workspace/Siman-Common/src/org/splat/service/DocumentTypeService.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 / DocumentTypeService.java
index 1033ece911fb483cccb8f723ab4f6d8653b6575d..349218a73a0ecb4fa03d48d8399890c9fc28d4c9 100644 (file)
@@ -29,14 +29,14 @@ public interface DocumentTypeService {
         * 
         * @return the list of all document types
         */
-       public List<DocumentType> selectAllTypes();
+       List<DocumentType> selectAllTypes();
 
        /**
         * Find all result document types.
         * 
         * @return the list of found types
         */
-       public List<DocumentType> selectResultTypes();
+       List<DocumentType> selectResultTypes();
 
        /**
         * Get document type by the given type name.
@@ -45,7 +45,7 @@ public interface DocumentTypeService {
         *            the type name
         * @return the found document type
         */
-       public DocumentType selectType(String name);
+       DocumentType selectType(String name);
 
        /**
         * Get document type by the given id.
@@ -54,7 +54,7 @@ public interface DocumentTypeService {
         *            the id
         * @return the found document type
         */
-       public DocumentType selectType(long index);
+       DocumentType selectType(long index);
 
        /**
         * Create a new document type.
@@ -69,7 +69,7 @@ public interface DocumentTypeService {
         * @throws MultiplyDefinedException
         *             if some property is defined several times
         */
-       public DocumentType createType(DocumentType.Properties tprop)
+       DocumentType createType(DocumentType.Properties tprop)
                        throws MissedPropertyException, InvalidPropertyException,
                        MultiplyDefinedException;
 
@@ -80,7 +80,7 @@ public interface DocumentTypeService {
         *            the step (study activity)
         * @return the list of found document types
         */
-       public List<DocumentType> selectTypesOf(ProjectSettingsService.Step step);
+       List<DocumentType> selectTypesOf(ProjectSettingsService.Step step);
 
        /**
         * Approve the document type.
@@ -89,5 +89,5 @@ public interface DocumentTypeService {
         *            the document type to approve
         * @return true if approval succeeded
         */
-       public boolean approve(DocumentType aType);
+       boolean approve(DocumentType aType);
 }