Use new REST API to show and add included groups in WebUI

Another step to port the group related screens of the WebUI to the new
REST API.

The old RPC to add included groups was removed as it is now not used
anymore.

Change-Id: I9b364c221609a50d694e9d3fad1d3a2fa8f58f8b
Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
This commit is contained in:
Edwin Kempin
2013-01-31 15:31:52 +01:00
committed by David Pursehouse
parent df8449be82
commit 6a09040248
8 changed files with 86 additions and 122 deletions

View File

@@ -39,9 +39,4 @@ public interface GroupAdminService extends RemoteJsonService {
@SignInRequired
void changeGroupOptions(AccountGroup.Id groupId, GroupOptions groupOptions,
AsyncCallback<VoidResult> callback);
@Audit
@SignInRequired
void addGroupInclude(AccountGroup.Id groupId, AccountGroup.UUID incGroupUUID,
String incGroupName, AsyncCallback<GroupDetail> callback);
}

View File

@@ -22,7 +22,6 @@ import java.util.List;
public class GroupDetail {
public AccountInfoCache accounts;
public GroupInfoCache groups;
public AccountGroup group;
public List<AccountGroupMember> members;
public List<AccountGroupIncludeByUuid> includes;
@@ -36,10 +35,6 @@ public class GroupDetail {
accounts = c;
}
public void setGroups(GroupInfoCache c) {
groups = c;
}
public void setGroup(AccountGroup g) {
group = g;
}