Question
Consider the following required functionality of a print-on-demand service: The print-on-demand service provides customers the possibility to print posters, flyers, or books on demand. The
Consider the following required functionality of a print-on-demand service:
The print-on-demand service provides customers the possibility to print posters, flyers, or books on demand. The customer should be able to select a type of product (poster, flyer, or book), a de- sired quantity, and a paper type. In case a book has to be printed, additionally the customer can choose between hard cover and soft cover. Finally, the customer needs to provide a PDF file con- taining the desired content.
In order for the customer to be able to place an order, he or she must have an account. The cus- tomer can create an account by choosing a username/password combination. Furthermore, his or her address and credit card number can be linked to the account, which is required information when placing an order. Once a customer has provided the information for an order, the system checks if all required information is there, either given in the order (type of product, quantity, etc.), or in the account (address and payment information). If any information is lacking, the sys- tem will inform the customer that it needs to be added before the order can be placed. Once all information is in place, the order is placed, and the credit card information is sent to the bank for approval. If the bank approves the card, the order is finalized.
A printing agent is in charge of actually performing the printing. He or she inspects the provided PDF files of finalized orders. If a file does not meet the quality requirements, the customer will be informed about this, and the order is temporarily put on hold until the customer has provided a new PDF file.
Finally, the administrator monitors if at all times, sufficient paper and ink stock is present. Whenever the amount of paper or ink is running low, an order must be placed at the appropriate supplier (either the paper or ink supplier).
#5a (10 points): Create a Use Case Diagram for the print-on-demand service. Identify all use cases, actors, and link them, as appropriate. Identify any relationships among use cases.
#5b (5 points): Give a detailed description of a scenario of the use case for place an or- der. Use the following card as a template.
Use case: Place an Order Pre: User has account Trigger: Guarantee:
Main:
Alternatives: |
|
#5c (15 points): Based on the scenario description of use case for place an order, create a Sequence Diagram. Complete the diagram bellow.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started