summaryrefslogtreecommitdiffstats
path: root/vnfmarket-be/vnf-sdk-marketplace
diff options
context:
space:
mode:
authorMurali-P <murali.p@huawei.com>2018-03-08 16:22:31 +0530
committerMurali-P <murali.p@huawei.com>2018-03-08 16:22:31 +0530
commit8738c88c6e868e1ddd30135ea46491b349781267 (patch)
tree741b400cf80cc8bb7e359a2ce5dab77436eabbfb /vnfmarket-be/vnf-sdk-marketplace
parent3cd0684a1a0072399560fbe3568800b5d1e03fb0 (diff)
Remove un-used DB functions
Code coverage is less than 50% Issue-ID: VNFSDK-159 Change-Id: I78bec6727db8185f242de92978c389d08d9ef228 Signed-off-by: Murali-P <murali.p@huawei.com>
Diffstat (limited to 'vnfmarket-be/vnf-sdk-marketplace')
-rw-r--r--vnfmarket-be/vnf-sdk-marketplace/src/main/java/org/onap/vnfsdk/marketplace/db/wrapper/BaseHandler.java28
1 files changed, 0 insertions, 28 deletions
diff --git a/vnfmarket-be/vnf-sdk-marketplace/src/main/java/org/onap/vnfsdk/marketplace/db/wrapper/BaseHandler.java b/vnfmarket-be/vnf-sdk-marketplace/src/main/java/org/onap/vnfsdk/marketplace/db/wrapper/BaseHandler.java
index 4f3a3a6f..0c5c542f 100644
--- a/vnfmarket-be/vnf-sdk-marketplace/src/main/java/org/onap/vnfsdk/marketplace/db/wrapper/BaseHandler.java
+++ b/vnfmarket-be/vnf-sdk-marketplace/src/main/java/org/onap/vnfsdk/marketplace/db/wrapper/BaseHandler.java
@@ -91,35 +91,7 @@ public abstract class BaseHandler<T extends BaseData> {
return datas;
}
- /**
- * union query.
- * @param filter filter
- * @param resouceType resource type
- * @return T list
- * @throws MarketplaceResourceException e1
- */
- @SuppressWarnings({"rawtypes", "unchecked"})
- public List<T> unionQuery(String filter) throws MarketplaceResourceException {
- logger.info("BaseHandler:start union query data.fliter:" + filter);
- List<T> datas = null;
- logger.info("BaseHandler:union query data end .info:" + MarketplaceDbUtil.objectToString(datas));
- return datas;
- }
- /**
- * union delete.
- * @param filter filter
- * @param resouceType resource type
- * @return int
- * @throws MarketplaceResourceException e1
- */
- @SuppressWarnings({"rawtypes", "unchecked"})
- public int unionDelete(String filter) throws MarketplaceResourceException {
- logger.info("BaseHandler:start delete query data.fliter:" + filter);
- int num=0;
- logger.info("BaseHandler:union delete data end .num:" + num);
- return num;
- }
@SuppressWarnings({"rawtypes", "unchecked"})
public void update(T data) throws MarketplaceResourceException {