summaryrefslogtreecommitdiffstats
path: root/ecomp-sdk/epsdk-core/src/main/java/org/onap/portalsdk/core/service/DataAccessService.java
diff options
context:
space:
mode:
authorst782s <statta@research.att.com>2017-11-06 16:05:26 -0500
committerst782s <statta@research.att.com>2017-11-07 14:03:14 -0500
commit418d7273d6d8f6fed2698df89c9910be8498a677 (patch)
treea022deb5da7a12c7f2c5e9c49b042bf76eca1b0a /ecomp-sdk/epsdk-core/src/main/java/org/onap/portalsdk/core/service/DataAccessService.java
parentf11362ef34d550f8adff2067a136f660c1959e5e (diff)
Release new SDK Version
Issue: PORTAL-19, PORTAL-135 Includes SDK 2.1 release updates deprecating certain methods to address vulnerabilities Change-Id: Ibf105a0cf3c7d7e89eb05862c54aadfacf575d97 Signed-off-by: st782s <statta@research.att.com>
Diffstat (limited to 'ecomp-sdk/epsdk-core/src/main/java/org/onap/portalsdk/core/service/DataAccessService.java')
-rw-r--r--ecomp-sdk/epsdk-core/src/main/java/org/onap/portalsdk/core/service/DataAccessService.java21
1 files changed, 21 insertions, 0 deletions
diff --git a/ecomp-sdk/epsdk-core/src/main/java/org/onap/portalsdk/core/service/DataAccessService.java b/ecomp-sdk/epsdk-core/src/main/java/org/onap/portalsdk/core/service/DataAccessService.java
index 8eacefa9..f2863e06 100644
--- a/ecomp-sdk/epsdk-core/src/main/java/org/onap/portalsdk/core/service/DataAccessService.java
+++ b/ecomp-sdk/epsdk-core/src/main/java/org/onap/portalsdk/core/service/DataAccessService.java
@@ -60,10 +60,31 @@ public interface DataAccessService {
void saveDomainObject(DomainVo domainObject, Map additionalParams);
// generic get list method(s)
+ /**
+ * @deprecated
+ * This method may be vulnerable to SQL Injection attacks depending on the usage and is being deprecated. Please use
+ * getList(Class<?> domainClass, ProjectionList projectionsList, List<Criterion> restrictionsList,
+ List<Order> orderByList) method instead
+ */
+ @Deprecated
List getList(Class domainClass, Map additionalParams);
+ /**
+ * @deprecated
+ * This method may be vulnerable to SQL Injection attacks depending on the usage and is being deprecated. Please use
+ * getList(Class<?> domainClass, ProjectionList projectionsList, List<Criterion> restrictionsList,
+ List<Order> orderByList) method instead
+ */
+ @Deprecated
List getList(Class domainClass, String filter, String orderBy, Map additionalParams);
+ /**
+ * @deprecated
+ * This method may be vulnerable to SQL Injection attacks depending on the usage and is being deprecated. Please use
+ * getList(Class<?> domainClass, ProjectionList projectionsList, List<Criterion> restrictionsList,
+ List<Order> orderByList) method instead
+ */
+ @Deprecated
List getList(Class domainClass, String filter, int fromIndex, int toIndex, String orderBy,
Map additionalParams);