mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-14 19:59:05 +01:00
Create PrivateGroupManager Facade and stub implementation
This commit is contained in:
@@ -1,15 +1,14 @@
|
||||
package org.briarproject.api.blogs;
|
||||
|
||||
import org.briarproject.api.forum.Forum;
|
||||
import org.briarproject.api.clients.BaseGroup;
|
||||
import org.briarproject.api.identity.Author;
|
||||
import org.briarproject.api.sharing.Shareable;
|
||||
import org.briarproject.api.sync.Group;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
public class Blog extends Forum {
|
||||
public class Blog extends BaseGroup implements Shareable {
|
||||
|
||||
@NotNull
|
||||
private final String description;
|
||||
@NotNull
|
||||
private final Author author;
|
||||
|
||||
public Blog(@NotNull Group group, @NotNull String name,
|
||||
@@ -29,4 +28,9 @@ public class Blog extends Forum {
|
||||
public Author getAuthor() {
|
||||
return author;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(Object o) {
|
||||
return o instanceof Blog && super.equals(o);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user