Code Review
/
portal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
[PORTAL-16 PORTAL-18] Widget ms; staging
[portal.git]
/
ecomp-portal-BE-common
/
src
/
main
/
java
/
org
/
openecomp
/
portalapp
/
portal
/
service
/
BasicAuthAccountService.java
diff --git
a/ecomp-portal-BE-common/src/main/java/org/openecomp/portalapp/portal/service/BasicAuthAccountService.java
b/ecomp-portal-BE-common/src/main/java/org/openecomp/portalapp/portal/service/BasicAuthAccountService.java
index
011a648
..
4b4342d
100644
(file)
--- a/
ecomp-portal-BE-common/src/main/java/org/openecomp/portalapp/portal/service/BasicAuthAccountService.java
+++ b/
ecomp-portal-BE-common/src/main/java/org/openecomp/portalapp/portal/service/BasicAuthAccountService.java
@@
-6,42
+6,59
@@
import org.openecomp.portalapp.portal.domain.BasicAuthCredentials;
import org.openecomp.portalapp.portal.domain.EPEndpoint;
public interface BasicAuthAccountService {
import org.openecomp.portalapp.portal.domain.EPEndpoint;
public interface BasicAuthAccountService {
-
+
/**
/**
- * Saves Basic Authentication account for external systems
- * @param BasicAuthCredentials
+ * Saves Basic Authentication account for external systems
+ *
+ * @param newCredential
+ * BasicAuthCredentials
* @return Id of the newly created account
* @return Id of the newly created account
+ * @throws Exception
*/
Long saveBasicAuthAccount(BasicAuthCredentials newCredential) throws Exception;
*/
Long saveBasicAuthAccount(BasicAuthCredentials newCredential) throws Exception;
-
+
/**
/**
- * Saves Endpoint associated with a Basic Auth account
- * @param EPEndpoint
+ * Saves Endpoint associated with a Basic Auth account
+ *
+ * @param endpoint
+ * EPEndpoint
* @return Id of the newly created endpoint
* @return Id of the newly created endpoint
+ * @throws Exception
*/
Long saveEndpoints(EPEndpoint endpoint) throws Exception;
*/
Long saveEndpoints(EPEndpoint endpoint) throws Exception;
-
+
/**
/**
- * Saves Endpoint associated with a Basic Auth account
- * @param accountId, endpointId
+ * Saves Endpoint associated with a Basic Auth account
+ *
+ * @param accountId
+ * @param endpointId
+ * @throws Exception
*/
void saveEndpointAccount(Long accountId, Long endpointId) throws Exception;
*/
void saveEndpointAccount(Long accountId, Long endpointId) throws Exception;
-
+
/**
/**
- * Returns list of all BasicAuthCredentials in the sytem
+ * Returns list of all BasicAuthCredentials in the sytem
+ *
* @return List<BasicAuthCredentials>
* @return List<BasicAuthCredentials>
+ * @throws Exception
*/
List<BasicAuthCredentials> getAccountData() throws Exception;
*/
List<BasicAuthCredentials> getAccountData() throws Exception;
-
+
/**
* Deletes BasicAuthenticationAccount
/**
* Deletes BasicAuthenticationAccount
+ *
* @param accountId
* @param accountId
+ * @throws Exception
*/
void deleteEndpointAccout(Long accountId) throws Exception;
*/
void deleteEndpointAccout(Long accountId) throws Exception;
-
+
/**
* Updates BasicAuthenticationAccount
/**
* Updates BasicAuthenticationAccount
- * @param accountId, BasicAuthCredentials
+ *
+ * @param accountId
+ * @param newCredential
+ * BasicAuthCredentials
+ * @throws Exception
*/
void updateBasicAuthAccount(Long accountId, BasicAuthCredentials newCredential) throws Exception;
}
*/
void updateBasicAuthAccount(Long accountId, BasicAuthCredentials newCredential) throws Exception;
}