Revision 57741
Added by Ioannis Diplas over 4 years ago
PiWikServiceImpl.java | ||
---|---|---|
5 | 5 |
import eu.dnetlib.domain.data.Repository; |
6 | 6 |
import eu.dnetlib.repo.manager.domain.OrderByField; |
7 | 7 |
import eu.dnetlib.repo.manager.domain.OrderByType; |
8 |
import eu.dnetlib.repo.manager.shared.RepositoryServiceException;
|
|
8 |
import eu.dnetlib.repo.manager.domain.RepositoryServiceException;
|
|
9 | 9 |
import org.apache.commons.codec.digest.DigestUtils; |
10 | 10 |
import org.apache.log4j.Logger; |
11 | 11 |
import org.springframework.beans.factory.annotation.Autowired; |
... | ... | |
15 | 15 |
import org.springframework.http.HttpStatus; |
16 | 16 |
import org.springframework.http.ResponseEntity; |
17 | 17 |
import org.springframework.jdbc.core.JdbcTemplate; |
18 |
import org.springframework.jdbc.core.PreparedStatementSetter; |
|
19 | 18 |
import org.springframework.jdbc.core.RowMapper; |
20 |
import org.springframework.jdbc.core.namedparam.MapSqlParameterSource; |
|
21 |
import org.springframework.jdbc.core.namedparam.SqlParameterSource; |
|
22 | 19 |
import org.springframework.security.access.prepost.PreAuthorize; |
23 | 20 |
import org.springframework.security.core.context.SecurityContextHolder; |
24 | 21 |
import org.springframework.stereotype.Service; |
25 |
import org.springframework.web.bind.annotation.PathVariable; |
|
26 |
import org.springframework.web.bind.annotation.RequestBody; |
|
27 |
import org.springframework.web.bind.annotation.RequestParam; |
|
28 | 22 |
|
29 | 23 |
import javax.sql.DataSource; |
30 | 24 |
import java.io.IOException; |
31 | 25 |
import java.io.UnsupportedEncodingException; |
32 | 26 |
import java.net.URL; |
33 | 27 |
import java.net.URLEncoder; |
34 |
import java.sql.PreparedStatement; |
|
35 |
import java.sql.SQLException; |
|
36 | 28 |
import java.sql.Types; |
37 |
import java.util.Arrays; |
|
38 | 29 |
import java.util.List; |
39 | 30 |
import java.util.Map; |
40 |
import java.util.stream.Collectors; |
|
41 | 31 |
|
42 | 32 |
@Service("piwikService") |
43 | 33 |
public class PiWikServiceImpl implements PiWikService { |
Also available in: Unified diff
Updating interfaces to not include IsSerializable