1 | .. _label-uc-customer-remove: |
---|
2 | |
---|
3 | Use-Case: Remove Customer |
---|
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 customer with all connected data is removed from the system. |
---|
18 | |
---|
19 | Actor(s) |
---|
20 | ----------------------------------------------------------------------- |
---|
21 | |
---|
22 | Staff member |
---|
23 | |
---|
24 | |
---|
25 | Trigger(s) |
---|
26 | ----------------------------------------------------------------------- |
---|
27 | |
---|
28 | - Imports (deleting existing data) |
---|
29 | - Web form(s) submitted by authorized user. |
---|
30 | |
---|
31 | |
---|
32 | Result(s) |
---|
33 | ----------------------------------------------------------------------- |
---|
34 | |
---|
35 | - A customer and all connected data was removed and archived. |
---|
36 | |
---|
37 | |
---|
38 | Incoming Data |
---|
39 | ----------------------------------------------------------------------- |
---|
40 | |
---|
41 | - Customer id, authorization data of submitting user |
---|
42 | |
---|
43 | Outgoing Data |
---|
44 | ----------------------------------------------------------------------- |
---|
45 | |
---|
46 | - Message about successful/failed changes. |
---|
47 | - Archive entry of data removed from system with extra info |
---|
48 | (when/who). |
---|
49 | - Log message |
---|
50 | |
---|
51 | |
---|
52 | Precondition(s) |
---|
53 | ----------------------------------------------------------------------- |
---|
54 | |
---|
55 | - Submitting user is authorized to do the requested modifications. |
---|
56 | |
---|
57 | |
---|
58 | Postcondition(s) |
---|
59 | ----------------------------------------------------------------------- |
---|
60 | |
---|
61 | Any entered data is valid. |
---|
62 | |
---|
63 | |
---|
64 | Invariant(s) |
---|
65 | ----------------------------------------------------------------------- |
---|
66 | |
---|
67 | |
---|
68 | Essential Steps |
---|
69 | ----------------------------------------------------------------------- |
---|
70 | |
---|
71 | - Sending user authorization is checked. |
---|
72 | - System receives infos about |
---|
73 | - what data fields of which user should be set to which values. |
---|
74 | - submitting user |
---|
75 | - Data is modified in system |
---|
76 | - User gets informed about operation success/fail. |
---|
77 | - if operation fails, possibility to change input data is offered |
---|
78 | |
---|
79 | |
---|
80 | Open Issues |
---|
81 | ----------------------------------------------------------------------- |
---|
82 | |
---|
83 | |
---|
84 | |
---|
85 | Remarks |
---|
86 | ----------------------------------------------------------------------- |
---|
87 | |
---|
88 | |
---|
89 | .. raw:: latex |
---|
90 | |
---|
91 | \pagebreak[4] |
---|