Salome HOME
Modifications done to respect PMD rules. Versioning a document is fixed. Validation...
[tools/siman.git] / Workspace / Siman-Common / src / org / splat / service / StepService.java
index 35a8ad057671d0da2f5cf1a04962e3c6f6cfd714..bc93b46bddadf6233b091aa6f211c640019c72ce 100644 (file)
@@ -47,7 +47,7 @@ public interface StepService {
         * @throws IOException
         *             if a file system error occurs
         */
-       public Publication createDocument(Step aStep, Document.Properties dprop)
+       Publication createDocument(Step aStep, Document.Properties dprop)
                        throws MissedPropertyException, InvalidPropertyException,
                        MultiplyDefinedException, IOException;
 
@@ -66,7 +66,7 @@ public interface StepService {
         * @throws NotApplicableException
         *             if the document is undefined
         */
-       public Publication assignDocument(Step aStep, Document.Properties dprop)
+       Publication assignDocument(Step aStep, Document.Properties dprop)
                        throws MissedPropertyException, InvalidPropertyException,
                        NotApplicableException;
 
@@ -91,7 +91,7 @@ public interface StepService {
         * @throws MismatchException
         *             if the document is not applicable to the given study step
         */
-       public Publication versionDocument(Step aStep, Publication base,
+       Publication versionDocument(Step aStep, Publication base,
                        Document.Properties dprop) throws MissedPropertyException,
                        InvalidPropertyException, MultiplyDefinedException, IOException,
                        MismatchException;
@@ -111,7 +111,7 @@ public interface StepService {
         * @throws MultiplyDefinedException
         *             if some property is defined several times
         */
-       public SimulationContext addSimulationContext(Step aStep,
+       SimulationContext addSimulationContext(Step aStep,
                        SimulationContext.Properties dprop) throws MissedPropertyException,
                        InvalidPropertyException, MultiplyDefinedException;
 
@@ -124,7 +124,7 @@ public interface StepService {
         *            the simulation context to add
         * @return the added simulation context
         */
-       public SimulationContext addSimulationContext(Step firstStep,
+       SimulationContext addSimulationContext(Step firstStep,
                        SimulationContext context);
 
        /**
@@ -136,7 +136,7 @@ public interface StepService {
         *            the simulation context to remove
         * @return true if removal succeeded
         */
-       public boolean removeSimulationContext(Step aStep, SimulationContext context);
+       boolean removeSimulationContext(Step aStep, SimulationContext context);
 
        /**
         * Add a document publication to the given step.
@@ -147,7 +147,7 @@ public interface StepService {
         *            the document publication to add
         * @return true if publication succeeded
         */
-       public boolean add(Step aStep, Publication newdoc);
+       boolean add(Step aStep, Publication newdoc);
 
        /**
         * Remove a document publication from the given step.
@@ -158,7 +158,7 @@ public interface StepService {
         *            the document publication to remove
         * @return true if removing of the publication succeeded
         */
-       public boolean remove(Step aStep, Publication oldoc);
+       boolean remove(Step aStep, Publication oldoc);
 
        /**
         * Remove a document from the given step.
@@ -169,7 +169,7 @@ public interface StepService {
         *            the document publication
         * @return true if removing of the document succeeded
         */
-       public boolean removeDocument(Step aStep, Publication doctag);
+       boolean removeDocument(Step aStep, Publication doctag);
 
        /**
         * Get document types which are applicable for the given study step (activity).
@@ -178,5 +178,5 @@ public interface StepService {
         *            the study step
         * @return the list of document types
         */
-       public List<DocumentType> getValidDocumentTypes(Step aStep);
+       List<DocumentType> getValidDocumentTypes(Step aStep);
 }