Added new share api of service
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-gwt-service@92981 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
6b143e757f
commit
234baa17d4
|
@ -3874,7 +3874,7 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements
|
||||||
Long.valueOf(tabResource.getTrId().getId()));
|
Long.valueOf(tabResource.getTrId().getId()));
|
||||||
|
|
||||||
TabularResource tr = service.getTabularResource(serviceTR);
|
TabularResource tr = service.getTabularResource(serviceTR);
|
||||||
List<String> sharedWith = tr.getSharedWith();
|
List<String> sharedWith = tr.getSharedWithUsers();
|
||||||
ArrayList<Contacts> contacts = new ArrayList<Contacts>();
|
ArrayList<Contacts> contacts = new ArrayList<Contacts>();
|
||||||
for (String user : sharedWith) {
|
for (String user : sharedWith) {
|
||||||
Contacts cont = new Contacts(null, user, false);
|
Contacts cont = new Contacts(null, user, false);
|
||||||
|
|
Loading…
Reference in New Issue