[10749] | 1 | .. _label-uc-contract-remove: |
---|
| 2 | |
---|
| 3 | Use-Case: Remove a Contract |
---|
| 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 contract is removed from system. |
---|
| 18 | |
---|
| 19 | Actor(s) |
---|
| 20 | ----------------------------------------------------------------------- |
---|
| 21 | |
---|
| 22 | Staff |
---|
| 23 | |
---|
| 24 | |
---|
| 25 | Trigger(s) |
---|
| 26 | ----------------------------------------------------------------------- |
---|
| 27 | |
---|
| 28 | - Imports (removing existing data) |
---|
| 29 | - Web form(s) submitted by authorized user. |
---|
| 30 | |
---|
| 31 | |
---|
| 32 | Result(s) |
---|
| 33 | ----------------------------------------------------------------------- |
---|
| 34 | |
---|
| 35 | - Contract data of the given contract and all connected data (contract |
---|
| 36 | add-ons, etc.) was removed from the system. |
---|
| 37 | - All removed data is archived. |
---|
| 38 | |
---|
| 39 | |
---|
| 40 | Incoming Data |
---|
| 41 | ----------------------------------------------------------------------- |
---|
| 42 | |
---|
| 43 | - Contract ID |
---|
| 44 | |
---|
| 45 | Outgoing Data |
---|
| 46 | ----------------------------------------------------------------------- |
---|
| 47 | |
---|
| 48 | - Message about contract removal. |
---|
| 49 | - (optional) regarding customer is informed by email or SMS. |
---|
| 50 | - Log message |
---|
| 51 | - Archive entry. |
---|
| 52 | |
---|
| 53 | |
---|
| 54 | Precondition(s) |
---|
| 55 | ----------------------------------------------------------------------- |
---|
| 56 | |
---|
| 57 | - Contract ID must exist. |
---|
| 58 | - Submitting user must be authorized to perform the operation. |
---|
| 59 | |
---|
| 60 | |
---|
| 61 | Postcondition(s) |
---|
| 62 | ----------------------------------------------------------------------- |
---|
| 63 | |
---|
| 64 | |
---|
| 65 | Invariant(s) |
---|
| 66 | ----------------------------------------------------------------------- |
---|
| 67 | |
---|
| 68 | |
---|
| 69 | Essential Steps |
---|
| 70 | ----------------------------------------------------------------------- |
---|
| 71 | |
---|
| 72 | - System validates contract ID. |
---|
| 73 | - Removed data is archived. |
---|
| 74 | - System removes the given contract and connected items (transactions, |
---|
| 75 | contract-add-ons, etc.). |
---|
| 76 | - (optional) System informs regarding customer (email and/or SMS) |
---|
| 77 | |
---|
| 78 | |
---|
| 79 | Open Issues |
---|
| 80 | ----------------------------------------------------------------------- |
---|
| 81 | |
---|
| 82 | |
---|
| 83 | |
---|
| 84 | Remarks |
---|
| 85 | ----------------------------------------------------------------------- |
---|
| 86 | |
---|
| 87 | An ended contract is not the same as a removed contract. |
---|
| 88 | |
---|
| 89 | |
---|
| 90 | .. raw:: latex |
---|
| 91 | |
---|
| 92 | \pagebreak[4] |
---|