From d3ee3a2f05f2c5898f92891527c64ce7b055b34e Mon Sep 17 00:00:00 2001 From: "Sonsino, Ofir (os0695)" Date: Tue, 20 Nov 2018 16:59:17 +0200 Subject: Sonar code smells Change-Id: Ia43e9d0ff3de1b02d259c5bb05678b4cc6eb8b9b Issue-ID: SDC-1941 Signed-off-by: Sonsino, Ofir (os0695) --- .../org/openecomp/sdc/action/ActionManager.java | 30 ++++++++++------------ 1 file changed, 13 insertions(+), 17 deletions(-) (limited to 'openecomp-be/backend') diff --git a/openecomp-be/backend/openecomp-sdc-action-manager/src/main/java/org/openecomp/sdc/action/ActionManager.java b/openecomp-be/backend/openecomp-sdc-action-manager/src/main/java/org/openecomp/sdc/action/ActionManager.java index a16d8eb4c2..e5a1b6da43 100644 --- a/openecomp-be/backend/openecomp-sdc-action-manager/src/main/java/org/openecomp/sdc/action/ActionManager.java +++ b/openecomp-be/backend/openecomp-sdc-action-manager/src/main/java/org/openecomp/sdc/action/ActionManager.java @@ -21,7 +21,6 @@ package org.openecomp.sdc.action; -import org.openecomp.sdc.action.errors.ActionException; import org.openecomp.sdc.action.types.Action; import org.openecomp.sdc.action.types.ActionArtifact; import org.openecomp.sdc.action.types.OpenEcompComponent; @@ -33,37 +32,34 @@ import java.util.List; */ public interface ActionManager { - public Action createAction(Action action, String user) throws ActionException; + public Action createAction(Action action, String user); - public Action updateAction(Action action, String user) throws ActionException; + public Action updateAction(Action action, String user); - public void deleteAction(String actionInvariantUuId, String user) throws ActionException; + public void deleteAction(String actionInvariantUuId, String user); - public List getFilteredActions(String filterType, String filterValue) - throws ActionException; + public List getFilteredActions(String filterType, String filterValue); - public List getOpenEcompComponents() throws ActionException; + public List getOpenEcompComponents(); - public List getActionsByActionInvariantUuId(String invariantId) throws ActionException; + public List getActionsByActionInvariantUuId(String invariantId); - public Action getActionsByActionUuId(String actionUuId) throws ActionException; + public Action getActionsByActionUuId(String actionUuId); - public Action checkout(String invariantUuId, String user) throws ActionException; + public Action checkout(String invariantUuId, String user); - public void undoCheckout(String invariantUuId, String user) throws ActionException; + public void undoCheckout(String invariantUuId, String user); - public Action checkin(String invariantUuId, String user) throws ActionException; + public Action checkin(String invariantUuId, String user); - public Action submit(String invariantUuId, String user) throws ActionException; + public Action submit(String invariantUuId, String user); public ActionArtifact uploadArtifact(ActionArtifact data, String actionInvariantUuId, String user); - public ActionArtifact downloadArtifact(String actionUuId, String artifactUuId) - throws ActionException; + public ActionArtifact downloadArtifact(String actionUuId, String artifactUuId); - public void deleteArtifact(String actionInvariantUuId, String artifactUuId, String user) - throws ActionException; + public void deleteArtifact(String actionInvariantUuId, String artifactUuId, String user); public void updateArtifact(ActionArtifact data, String actionInvariantUuId, String user); } -- cgit 1.2.3-korg