1 | .. _label-uc-service-add: |
---|
2 | |
---|
3 | Use-Case: Add a service |
---|
4 | *********************************************************************** |
---|
5 | |
---|
6 | .. Description of a use case |
---|
7 | .. The description must be formulated as seen from system (not: actors) |
---|
8 | .. Describes those changes an (outside) actor can notice |
---|
9 | .. Short and abstract as possible, as long as necessary. |
---|
10 | .. Each use case must have at least one actor involved |
---|
11 | .. Each use case must have a trigger and a result |
---|
12 | |
---|
13 | |
---|
14 | Short Description |
---|
15 | ----------------------------------------------------------------------- |
---|
16 | |
---|
17 | A service is added. |
---|
18 | |
---|
19 | Actor(s) |
---|
20 | ----------------------------------------------------------------------- |
---|
21 | |
---|
22 | Staff |
---|
23 | |
---|
24 | |
---|
25 | Trigger(s) |
---|
26 | ----------------------------------------------------------------------- |
---|
27 | |
---|
28 | - Imports (adding existing data) |
---|
29 | - Web form(s) submitted by authorized user. |
---|
30 | |
---|
31 | |
---|
32 | Result(s) |
---|
33 | ----------------------------------------------------------------------- |
---|
34 | |
---|
35 | - A new service is available for customers/staff. |
---|
36 | |
---|
37 | - Contracts can be created from the new service. |
---|
38 | |
---|
39 | |
---|
40 | Incoming Data |
---|
41 | ----------------------------------------------------------------------- |
---|
42 | |
---|
43 | - Title |
---|
44 | - Description |
---|
45 | - Service terms (various data about what special options the new |
---|
46 | service provides, constraints, etc.). |
---|
47 | |
---|
48 | |
---|
49 | Outgoing Data |
---|
50 | ----------------------------------------------------------------------- |
---|
51 | |
---|
52 | - Message about service creation. |
---|
53 | - Log message |
---|
54 | |
---|
55 | |
---|
56 | Precondition(s) |
---|
57 | ----------------------------------------------------------------------- |
---|
58 | |
---|
59 | - Submitting user must be authorized to perform the operation. |
---|
60 | |
---|
61 | |
---|
62 | Postcondition(s) |
---|
63 | ----------------------------------------------------------------------- |
---|
64 | |
---|
65 | - The new service is able to create contracts. |
---|
66 | |
---|
67 | |
---|
68 | Invariant(s) |
---|
69 | ----------------------------------------------------------------------- |
---|
70 | |
---|
71 | |
---|
72 | Essential Steps |
---|
73 | ----------------------------------------------------------------------- |
---|
74 | |
---|
75 | - System receives customer ID, service ID and any optional parameters |
---|
76 | specifying the contract to create. |
---|
77 | - System creates a unique service ID. |
---|
78 | - Passed in terms, title, and description are validated. |
---|
79 | - If passed-in parameters are invalid, user is offered a possibility |
---|
80 | to fix the invalid data. |
---|
81 | - System creates the new service. |
---|
82 | |
---|
83 | |
---|
84 | Open Issues |
---|
85 | ----------------------------------------------------------------------- |
---|
86 | |
---|
87 | |
---|
88 | |
---|
89 | Remarks |
---|
90 | ----------------------------------------------------------------------- |
---|
91 | |
---|
92 | |
---|
93 | .. raw:: latex |
---|
94 | |
---|
95 | \pagebreak[4] |
---|