Package com.saasovation.collaboration.domain.model.tenant

Examples of com.saasovation.collaboration.domain.model.tenant.Tenant


            String aDescription,
            ForumCommandResult aResult) {

        Forum forum =
                this.startNewForum(
                    new Tenant(aTenantId),
                    aCreatorId,
                    aModeratorId,
                    aSubject,
                    aDescription,
                    null);
View Full Code Here


            String aModeratorId,
            String aSubject,
            String aDescription,
            ForumCommandResult aResult) {

        Tenant tenant = new Tenant(aTenantId);

        String forumId =
                this.forumQueryService()
                    .forumIdOfExclusiveOwner(
                            aTenantId,
View Full Code Here

            String aForumSubject,
            String aForumDescription,
            String aDiscussionSubject,
            ForumCommandResult aResult) {

        Tenant tenant = new Tenant(aTenantId);

        String forumId =
                this.forumQueryService()
                    .forumIdOfExclusiveOwner(
                            aTenantId,
View Full Code Here

    }

    public void closeDiscussion(String aTenantId, String aDiscussionId) {
        Discussion discussion =
                this.discussionRepository()
                    .discussionOfId(new Tenant(aTenantId),
                            new DiscussionId(aDiscussionId));

        discussion.close();

        this.discussionRepository().save(discussion);
View Full Code Here

            String aBodyText,
            DiscussionCommandResult aDiscussionCommandResult) {

        Discussion discussion =
                this.discussionRepository()
                    .discussionOfId(new Tenant(aTenantId),
                            new DiscussionId(aDiscussionId));

        Author author =
                this.collaboratorService().authorFrom(new Tenant(aTenantId), anAuthorId);

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

        this.postRepository().save(post);
View Full Code Here

            String aBodyText,
            DiscussionCommandResult aDiscussionCommandResult) {

        Discussion discussion =
                this.discussionRepository()
                    .discussionOfId(new Tenant(aTenantId),
                            new DiscussionId(aDiscussionId));

        Author author =
                this.collaboratorService().authorFrom(new Tenant(aTenantId), anAuthorId);

        Post post =
                discussion.post(
                        this.forumIdentityService(),
                        new PostId(aReplyToPostId),
View Full Code Here

    }

    public void reopenDiscussion(String aTenantId, String aDiscussionId) {
        Discussion discussion =
                this.discussionRepository()
                    .discussionOfId(new Tenant(aTenantId),
                            new DiscussionId(aDiscussionId));

        discussion.reopen();

        this.discussionRepository().save(discussion);
View Full Code Here

TOP

Related Classes of com.saasovation.collaboration.domain.model.tenant.Tenant

Copyright © 2018 www.massapicom. 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.