From 3aec9d2ab7f373a12e052d5e2c1c59b2a19770dc Mon Sep 17 00:00:00 2001 From: st782s Date: Fri, 14 Jul 2017 14:19:22 -0400 Subject: [Portal 21] Role management This push includes continuation of the changes required to handle cetralized roles,user management Change-Id: I38e9dc946ff53ac61dd3b580c335f4ad52b372f7 Signed-off-by: st782s --- .../openecomp/portalsdk/core/service/UserProfileServiceImpl.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'ecomp-sdk/epsdk-core/src/main/java/org/openecomp/portalsdk/core/service/UserProfileServiceImpl.java') diff --git a/ecomp-sdk/epsdk-core/src/main/java/org/openecomp/portalsdk/core/service/UserProfileServiceImpl.java b/ecomp-sdk/epsdk-core/src/main/java/org/openecomp/portalsdk/core/service/UserProfileServiceImpl.java index 866318c5..93b87594 100644 --- a/ecomp-sdk/epsdk-core/src/main/java/org/openecomp/portalsdk/core/service/UserProfileServiceImpl.java +++ b/ecomp-sdk/epsdk-core/src/main/java/org/openecomp/portalsdk/core/service/UserProfileServiceImpl.java @@ -31,8 +31,10 @@ import org.openecomp.portalsdk.core.domain.Role; import org.openecomp.portalsdk.core.domain.User; import org.openecomp.portalsdk.core.domain.support.CollaborateList; import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; +@Service("userProfile") @Transactional public class UserProfileServiceImpl implements UserProfileService{ @@ -45,10 +47,6 @@ public class UserProfileServiceImpl implements UserProfileService{ return getDataAccessService().getList(User.class, null); } - public User getUser(String userId){ - return (User) getDataAccessService().getDomainObject(User.class, Long.parseLong(userId), null); - } - @SuppressWarnings("unchecked") public User getUserByLoginId(String loginId){ User user=null; -- cgit 1.2.3-korg