X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=portal-BE%2Fsrc%2Fmain%2Fjava%2Forg%2Fonap%2Fportal%2Fdao%2Fep%2FEpWidgetCatalogParameterDao.java;fp=portal-BE%2Fsrc%2Fmain%2Fjava%2Forg%2Fonap%2Fportal%2Fdao%2Fep%2FEpWidgetCatalogParameterDao.java;h=0000000000000000000000000000000000000000;hb=9a391d0c4cca00a1cd448a6ce3fa755d42c8fd5d;hp=c5ec1248c9cda978a9ddcaa318f3959a92e7774d;hpb=2b436dba4b7c12e8c97f040753d0d5044d580b8d;p=portal.git diff --git a/portal-BE/src/main/java/org/onap/portal/dao/ep/EpWidgetCatalogParameterDao.java b/portal-BE/src/main/java/org/onap/portal/dao/ep/EpWidgetCatalogParameterDao.java deleted file mode 100644 index c5ec1248..00000000 --- a/portal-BE/src/main/java/org/onap/portal/dao/ep/EpWidgetCatalogParameterDao.java +++ /dev/null @@ -1,27 +0,0 @@ -package org.onap.portal.dao.ep; - -import java.util.List; -import java.util.Optional; -import org.onap.portal.domain.db.ep.EpWidgetCatalogParameter; -import org.springframework.data.jpa.repository.JpaRepository; -import org.springframework.data.jpa.repository.Modifying; -import org.springframework.data.jpa.repository.Query; -import org.springframework.data.repository.query.Param; -import org.springframework.stereotype.Repository; -import org.springframework.transaction.annotation.Transactional; - -@Repository -@Transactional -public interface EpWidgetCatalogParameterDao extends JpaRepository { - - @Query - Optional> retrieveByParamId(@Param("PARAMID") Long paramId); - - @Query - @Modifying - void deleteWidgetCatalogParameter(@Param("PARAMID") Long paramId); - - @Query - Optional> getUserParamById(@Param("WIDGETID") Long widgetId, - @Param("USERID") Long userId, @Param("PARAMID") Long paramId); -}