Examples of forumId()


Examples of com.saasovation.collaboration.domain.model.forum.Discussion.forumId()

                discussionQueryService.discussionDataOfId(
                        discussion.tenant().id(), discussion.discussionId().id());

        assertNotNull(discussionData);
        assertEquals(discussion.discussionId().id(), discussionData.getDiscussionId());
        assertEquals(discussion.forumId().id(), discussionData.getForumId());
        assertEquals(discussion.tenant().id(), discussionData.getTenantId());
        assertEquals(discussion.author().emailAddress(), discussionData.getAuthorEmailAddress());
        assertEquals(discussion.author().identity(), discussionData.getAuthorIdentity());
        assertEquals(discussion.author().name(), discussionData.getAuthorName());
        assertEquals(discussion.subject(), discussionData.getSubject());
View Full Code Here

Examples of com.saasovation.collaboration.domain.model.forum.Discussion.forumId()

                discussionQueryService.discussionPostsDataOfId(
                        discussion.tenant().id(), discussion.discussionId().id());

        assertNotNull(discussionPostsData);
        assertEquals(discussion.discussionId().id(), discussionPostsData.getDiscussionId());
        assertEquals(discussion.forumId().id(), discussionPostsData.getForumId());
        assertEquals(discussion.tenant().id(), discussionPostsData.getTenantId());
        assertEquals(discussion.author().emailAddress(), discussionPostsData.getAuthorEmailAddress());
        assertEquals(discussion.author().identity(), discussionPostsData.getAuthorIdentity());
        assertEquals(discussion.author().name(), discussionPostsData.getAuthorName());
        assertEquals(discussion.subject(), discussionPostsData.getSubject());
View Full Code Here

Examples of com.saasovation.collaboration.domain.model.forum.Forum.forumId()

        }

        Collection<DiscussionData> discussionsData =
                discussionQueryService.allDiscussionsDataOfForum(
                        forum.tenant().id(),
                        forum.forumId().id());

        assertNotNull(discussionsData);
        assertFalse(discussionsData.isEmpty());
        assertEquals(discussions.length, discussionsData.size());
    }
View Full Code Here

Examples of com.saasovation.collaboration.domain.model.forum.Forum.forumId()

        DomainRegistry.forumRepository().save(forum);

        forumApplicationService
            .assignModeratorToForum(
                    forum.tenant().id(),
                    forum.forumId().id(),
                    "newModerator");

        forum = DomainRegistry
                    .forumRepository()
                    .forumOfId(
View Full Code Here

Examples of com.saasovation.collaboration.domain.model.forum.Forum.forumId()

        forum = DomainRegistry
                    .forumRepository()
                    .forumOfId(
                            forum.tenant(),
                            forum.forumId());

        assertNotNull(forum);
        assertEquals("newModerator", forum.moderator().identity());
    }
View Full Code Here

Examples of com.saasovation.collaboration.domain.model.forum.Forum.forumId()

        DomainRegistry.forumRepository().save(forum);

        forumApplicationService
            .changeForumDescription(
                    forum.tenant().id(),
                    forum.forumId().id(),
                    "A changed description.");

        forum = DomainRegistry
                    .forumRepository()
                    .forumOfId(
View Full Code Here

Examples of com.saasovation.collaboration.domain.model.forum.Forum.forumId()

        forum = DomainRegistry
                    .forumRepository()
                    .forumOfId(
                            forum.tenant(),
                            forum.forumId());

        assertNotNull(forum);
        assertEquals("A changed description.", forum.description());
    }
View Full Code Here

Examples of com.saasovation.collaboration.domain.model.forum.Forum.forumId()

        DomainRegistry.forumRepository().save(forum);

        forumApplicationService
            .changeForumSubject(
                    forum.tenant().id(),
                    forum.forumId().id(),
                    "A changed subject.");

        forum = DomainRegistry
                    .forumRepository()
                    .forumOfId(
View Full Code Here

Examples of com.saasovation.collaboration.domain.model.forum.Forum.forumId()

        forum = DomainRegistry
                    .forumRepository()
                    .forumOfId(
                            forum.tenant(),
                            forum.forumId());

        assertNotNull(forum);
        assertEquals("A changed subject.", forum.subject());
    }
View Full Code Here

Examples of com.saasovation.collaboration.domain.model.forum.Forum.forumId()

        assertFalse(forum.isClosed());

        DomainRegistry.forumRepository().save(forum);

        forumApplicationService.closeForum(forum.tenant().id(), forum.forumId().id());

        forum = DomainRegistry
                    .forumRepository()
                    .forumOfId(
                            forum.tenant(),
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.