Examples of postId()


Examples of com.saasovation.collaboration.domain.model.forum.Post.postId()

        Post post = this.postAggregate(discussion);
        DomainRegistry.postRepository().save(post);

        PostData postData =
                postQueryService.postDataOfId(
                        post.tenant().id(), post.postId().id());

        assertNotNull(postData);
        assertEquals(post.postId().id(), postData.getPostId());
        assertEquals(post.discussionId().id(), postData.getDiscussionId());
        assertEquals(post.forumId().id(), postData.getForumId());
View Full Code Here

Examples of com.saasovation.collaboration.domain.model.forum.Post.postId()

        PostData postData =
                postQueryService.postDataOfId(
                        post.tenant().id(), post.postId().id());

        assertNotNull(postData);
        assertEquals(post.postId().id(), postData.getPostId());
        assertEquals(post.discussionId().id(), postData.getDiscussionId());
        assertEquals(post.forumId().id(), postData.getForumId());
        assertEquals(post.tenant().id(), postData.getTenantId());
        assertEquals(post.author().emailAddress(), postData.getAuthorEmailAddress());
        assertEquals(post.author().identity(), postData.getAuthorIdentity());
View Full Code Here

Examples of com.saasovation.collaboration.domain.model.forum.Post.postId()

        Post post = discussion.post(this.forumIdentityService(), author, aSubject, aBodyText);

        this.postRepository().save(post);

        aDiscussionCommandResult.resultingDiscussionId(aDiscussionId);
        aDiscussionCommandResult.resultingPostId(post.postId().id());
    }

    public void postToDiscussionInReplyTo(
            String aTenantId,
            String aDiscussionId,
View Full Code Here

Examples of com.saasovation.collaboration.domain.model.forum.Post.postId()

                        aBodyText);

        this.postRepository().save(post);

        aDiscussionCommandResult.resultingDiscussionId(aDiscussionId);
        aDiscussionCommandResult.resultingPostId(post.postId().id());
        aDiscussionCommandResult.resultingInReplyToPostId(aReplyToPostId);
    }

    public void reopenDiscussion(String aTenantId, String aDiscussionId) {
        Discussion discussion =
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.