Private Group List

This commit is contained in:
Torsten Grote
2016-09-29 18:39:37 -03:00
parent 3ea36bbd40
commit b09e30a95f
39 changed files with 945 additions and 61 deletions

View File

@@ -16,6 +16,9 @@ public interface PrivateGroupManager extends MessageTracker {
@NotNull
ClientId getClientId();
/** Removes a dissolved private group. */
void removePrivateGroup(GroupId g) throws DbException;
/** Stores (and sends) a local group message. */
void addLocalMessage(GroupMessage p) throws DbException;
@@ -33,6 +36,9 @@ public interface PrivateGroupManager extends MessageTracker {
@NotNull
Collection<PrivateGroup> getPrivateGroups() throws DbException;
/** Returns true if the private group has been dissolved. */
boolean isDissolved(GroupId g) throws DbException;
/** Returns the body of the group message with the given ID. */
@NotNull
String getMessageBody(MessageId m) throws DbException;