X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=portal-BE%2Fsrc%2Fmain%2Fjava%2Forg%2Fonap%2Fportal%2Fservice%2FpersUserWidgetSel%2FEpPersUserWidgetSelService.java;fp=portal-BE%2Fsrc%2Fmain%2Fjava%2Forg%2Fonap%2Fportal%2Fservice%2FpersUserWidgetSel%2FEpPersUserWidgetSelService.java;h=307ef282d67ea01a0610d199d8ec3ae498ab4060;hb=f7966b9ae53834f9eb664b81ab2d0a3da3f7a9b5;hp=cd940d1c7262dff722325b16caa7a7eec6637bfd;hpb=500bd3b761971db9ff11d8583337799c7891185f;p=portal.git diff --git a/portal-BE/src/main/java/org/onap/portal/service/persUserWidgetSel/EpPersUserWidgetSelService.java b/portal-BE/src/main/java/org/onap/portal/service/persUserWidgetSel/EpPersUserWidgetSelService.java index cd940d1c..307ef282 100644 --- a/portal-BE/src/main/java/org/onap/portal/service/persUserWidgetSel/EpPersUserWidgetSelService.java +++ b/portal-BE/src/main/java/org/onap/portal/service/persUserWidgetSel/EpPersUserWidgetSelService.java @@ -2,6 +2,7 @@ package org.onap.portal.service.persUserWidgetSel; import org.onap.portal.domain.db.ep.EpPersUserWidgetSel; import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.context.annotation.EnableAspectJAutoProxy; import org.springframework.stereotype.Service; import java.util.ArrayList; @@ -9,24 +10,25 @@ import java.util.List; import java.util.Optional; @Service +@EnableAspectJAutoProxy public class EpPersUserWidgetSelService { private final EpPersUserWidgetSelDao epPersUserWidgetSelDao; @Autowired - public EpPersUserWidgetSelService(EpPersUserWidgetSelDao epPersUserWidgetSelDao) { + public EpPersUserWidgetSelService(final EpPersUserWidgetSelDao epPersUserWidgetSelDao) { this.epPersUserWidgetSelDao = epPersUserWidgetSelDao; } - public void deleteById(Long id) { + public void deleteById(final long id) { epPersUserWidgetSelDao.deleteById(id); } - public EpPersUserWidgetSel saveAndFlush(EpPersUserWidgetSel epPersUserWidgetSel) { + public EpPersUserWidgetSel saveAndFlush(final EpPersUserWidgetSel epPersUserWidgetSel) { return epPersUserWidgetSelDao.saveAndFlush(epPersUserWidgetSel); } - public Optional> getEpPersUserWidgetSelForUserIdAndWidgetId(Long id, Long widgetId) { + public Optional> getEpPersUserWidgetSelForUserIdAndWidgetId(final long id, final long widgetId) { return epPersUserWidgetSelDao.getEpPersUserWidgetSelForUserIdAndWidgetId(id, widgetId); } }