Project

General

Profile

« Previous | Next » 

Revision 61372

1. optimization in retrieval time of repositories/snippets of authenticated user
2. Marked with FIXME methods that need attention

View differences:

RepositoryService.java
16 16

  
17 17
    Country[] getCountries() ;
18 18

  
19
    List<Repository> getRepositories(List<String> ids) throws JSONException;
20

  
21
    List<Repository> getRepositories(List<String> ids, int page, int size) throws JSONException;
22

  
23
    List<RepositorySnippet> getRepositoriesSnippets(List<String> ids) throws Exception;
24

  
25
    List<RepositorySnippet> getRepositoriesSnippets(List<String> ids, int page, int size) throws Exception;
26

  
19 27
    List<RepositorySnippet> getRepositoriesByCountry(String country, String mode, Boolean managed) throws JSONException, IOException;
20 28

  
29
    List<Repository> getRepositoriesOfUser(String page, String size) throws JSONException, IOException;
30

  
21 31
    List<Repository> getRepositoriesOfUser(String userEmail,
22 32
                                           String page,
23 33
                                           String size) throws JSONException, IOException;
24 34

  
25
    List<RepositorySnippet> getRepositoriesSnippetOfUser(String userEmail, String page, String size) throws IOException, JSONException;
35
    List<RepositorySnippet> getRepositoriesSnippetOfUser(String page, String size) throws Exception;
26 36

  
37
    List<RepositorySnippet> getRepositoriesSnippetOfUser(String userEmail, String page, String size) throws Exception;
38

  
27 39
    RepositorySnippet getRepositorySnippetById(String id) throws JSONException, ResourceNotFoundException;
28 40
    Repository getRepositoryById(String id) throws JSONException, ResourceNotFoundException;
29 41

  

Also available in: Unified diff