Package com.saasovation.agilepm.domain.model.discussion

Examples of com.saasovation.agilepm.domain.model.discussion.DiscussionDescriptor


        if (anAvailability.isReady()) {
            throw new IllegalArgumentException("Cannot be created ready.");
        }

        DiscussionDescriptor descriptor =
                new DiscussionDescriptor(DiscussionDescriptor.UNDEFINED_ID);

        return new ProductDiscussion(descriptor, anAvailability);
    }
View Full Code Here


                        + aCommand.getTenantId()
                        + " and product id: "
                        + aCommand.getProductId());
            }

            product.initiateDiscussion(new DiscussionDescriptor(aCommand.getDiscussionId()));

            this.productRepository().save(product);

            ProcessId processId = ProcessId.existingProcessId(product.discussionInitiationId());
View Full Code Here

        if (anAvailability.isReady()) {
            throw new IllegalArgumentException("Cannot be created ready.");
        }

        DiscussionDescriptor descriptor =
                new DiscussionDescriptor(DiscussionDescriptor.UNDEFINED_ID);

        return new BacklogItemDiscussion(descriptor, anAvailability);
    }
View Full Code Here

        // eventually...
        ProcessId processId = ProcessId.newProcessId();
        backlogItem.startDiscussionInitiation(processId.id());

        // eventually...
        backlogItem.initiateDiscussion(new DiscussionDescriptor("CollabDiscussion45678"));

        expectedEvents(4);
        expectedEvent(BacklogItemDiscussionInitiated.class);

        assertEquals(processId.id(), backlogItem.discussionInitiationId());
View Full Code Here

        // eventually...
        ProcessId processId = ProcessId.newProcessId();
        product.startDiscussionInitiation(processId.id());

        // eventually...
        product.initiateDiscussion(new DiscussionDescriptor("CollabDiscussion12345"));

        expectedEvents(3);
        expectedEvent(ProductDiscussionInitiated.class);

        assertEquals(processId.id(), product.discussionInitiationId());
View Full Code Here

TOP

Related Classes of com.saasovation.agilepm.domain.model.discussion.DiscussionDescriptor

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.