Change Blog Paradigm to Short-Form

Removes teaser and makes body mandatory.

It also adds support for deleting blogs and
introduces a getAuthorStatus() method to the IdentityManager
that takes a running transaction.
This commit is contained in:
Torsten Grote
2016-06-20 16:00:05 -03:00
parent 5a9615265e
commit 30fe9f6e2a
13 changed files with 203 additions and 114 deletions

View File

@@ -12,8 +12,8 @@ import java.security.GeneralSecurityException;
public interface BlogPostFactory {
BlogPost createBlogPost(@NotNull GroupId groupId, @Nullable String title,
@NotNull String teaser, long timestamp, @Nullable MessageId parent,
long timestamp, @Nullable MessageId parent,
@NotNull LocalAuthor author, @NotNull String contentType,
@Nullable byte[] body)
@NotNull byte[] body)
throws FormatException, GeneralSecurityException;
}