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