Base group index on new class InternalGroup

To be able to add the members and sub-groups of a group to the group
index, we need a class which contains those additional details. For
this reason, we introduce a new class InternalGroup and base the
group index on it (instead of AccountGroup).

Change-Id: I88b1a0bf1bd06804069a2a3165e7664db7900903
This commit is contained in:
Alice Kober-Sotzek
2017-08-18 15:04:33 +02:00
parent e7f5e1975f
commit e23b34a206
25 changed files with 326 additions and 106 deletions

View File

@@ -48,6 +48,7 @@ public class GroupDescription {
AccountGroup.Id getId();
@Nullable
String getDescription();
AccountGroup.UUID getOwnerGroupUUID();

View File

@@ -51,6 +51,7 @@ public class GroupDescriptions {
}
@Override
@Nullable
public String getDescription() {
return group.getDescription();
}