diff options
author | Avinash S <avinash.s@huawei.com> | 2018-03-08 10:59:33 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-03-08 10:59:33 +0000 |
commit | 732d6faa4e30b136ca25374c219faef9a80f7901 (patch) | |
tree | 4ec0132b180d6822800fd32043a77d7ba247e693 /vnfmarket-be | |
parent | d1b552c5229e8219977a30b62fb6e0fc1cc606a2 (diff) | |
parent | 8738c88c6e868e1ddd30135ea46491b349781267 (diff) |
Merge "Remove un-used DB functions"
Diffstat (limited to 'vnfmarket-be')
-rw-r--r-- | vnfmarket-be/vnf-sdk-marketplace/src/main/java/org/onap/vnfsdk/marketplace/db/wrapper/BaseHandler.java | 28 |
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 { |