blob: 80f8bb2af0f1a9d6ad95de7c6665f1d38fdf72cb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
package org.openecomp.portalsdk.core.service;
import org.openecomp.portalsdk.core.domain.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.transaction.annotation.Transactional;
@Transactional
public class UserServiceImpl implements UserService {
@Autowired
private DataAccessService dataAccessService;
@Override
public User getUser(String id) {
return (User) dataAccessService.getDomainObject(User.class, Long.parseLong(id), null);
}
@Override
public User userMapper(String response) throws Exception {
throw new UnsupportedOperationException("method cannot be used");
}
}
|