Revision 895035a2 gss/src/gr/ebs/gss/client/commands/NewFolderCommand.java
b/gss/src/gr/ebs/gss/client/commands/NewFolderCommand.java | ||
---|---|---|
21 | 21 |
import gr.ebs.gss.client.FolderPropertiesDialog; |
22 | 22 |
import gr.ebs.gss.client.GSS; |
23 | 23 |
import gr.ebs.gss.client.FileMenu.Images; |
24 |
import gr.ebs.gss.client.rest.ExecuteGet;
|
|
25 |
import gr.ebs.gss.client.rest.ExecuteMultipleGet;
|
|
24 |
import gr.ebs.gss.client.rest.GetCommand;
|
|
25 |
import gr.ebs.gss.client.rest.MultipleGetCommand;
|
|
26 | 26 |
import gr.ebs.gss.client.rest.resource.GroupResource; |
27 | 27 |
import gr.ebs.gss.client.rest.resource.GroupsResource; |
28 | 28 |
|
... | ... | |
91 | 91 |
} |
92 | 92 |
|
93 | 93 |
private void getGroups() { |
94 |
ExecuteGet<GroupsResource> gg = new ExecuteGet<GroupsResource>(GroupsResource.class, GSS.get().getCurrentUserResource().getGroupsPath()){
|
|
94 |
GetCommand<GroupsResource> gg = new GetCommand<GroupsResource>(GroupsResource.class, GSS.get().getCurrentUserResource().getGroupsPath()){
|
|
95 | 95 |
|
96 | 96 |
@Override |
97 | 97 |
public void onComplete() { |
98 | 98 |
GroupsResource res = getResult(); |
99 |
ExecuteMultipleGet<GroupResource> ga = new ExecuteMultipleGet<GroupResource>(GroupResource.class, res.getGroupPaths().toArray(new String[]{})){
|
|
99 |
MultipleGetCommand<GroupResource> ga = new MultipleGetCommand<GroupResource>(GroupResource.class, res.getGroupPaths().toArray(new String[]{})){
|
|
100 | 100 |
|
101 | 101 |
@Override |
102 | 102 |
public void onComplete() { |
Also available in: Unified diff