[10749] | 1 | .. _label-uc-contract-manage: |
---|
| 2 | |
---|
| 3 | Use-Case: Manage Contract Data |
---|
| 4 | *********************************************************************** |
---|
| 5 | |
---|
| 6 | Short Description |
---|
| 7 | ----------------------------------------------------------------------- |
---|
| 8 | |
---|
| 9 | A contract is modified by staff. |
---|
| 10 | |
---|
| 11 | Actor(s) |
---|
| 12 | ----------------------------------------------------------------------- |
---|
| 13 | |
---|
[10753] | 14 | Officer |
---|
[10749] | 15 | |
---|
| 16 | |
---|
| 17 | Trigger(s) |
---|
| 18 | ----------------------------------------------------------------------- |
---|
| 19 | |
---|
| 20 | - Imports (modifying existing data) |
---|
[10753] | 21 | - Web form(s) submitted by authorized user |
---|
[10749] | 22 | |
---|
| 23 | |
---|
| 24 | Result(s) |
---|
| 25 | ----------------------------------------------------------------------- |
---|
| 26 | |
---|
| 27 | - Contract data of the given contract is modified. |
---|
| 28 | |
---|
| 29 | - Any optional contract-add-ons can be booked for the new contract. |
---|
| 30 | |
---|
| 31 | |
---|
| 32 | Incoming Data |
---|
| 33 | ----------------------------------------------------------------------- |
---|
| 34 | |
---|
[10753] | 35 | - Contract ID, names and values of parameters to change |
---|
[10749] | 36 | |
---|
| 37 | Outgoing Data |
---|
| 38 | ----------------------------------------------------------------------- |
---|
| 39 | |
---|
[10753] | 40 | - Message about contract modification |
---|
| 41 | - (optional) Regarding customer is informed by email or SMS. |
---|
[10749] | 42 | - Log message |
---|
| 43 | |
---|
| 44 | |
---|
| 45 | Precondition(s) |
---|
| 46 | ----------------------------------------------------------------------- |
---|
| 47 | |
---|
| 48 | - Contract ID must exist. |
---|
| 49 | - Submitting user must be authorized to perform the operation. |
---|
| 50 | |
---|
| 51 | |
---|
| 52 | Postcondition(s) |
---|
| 53 | ----------------------------------------------------------------------- |
---|
| 54 | |
---|
| 55 | - The contractual parameters were checked for validity. |
---|
| 56 | |
---|
| 57 | |
---|
| 58 | Invariant(s) |
---|
| 59 | ----------------------------------------------------------------------- |
---|
| 60 | |
---|
| 61 | |
---|
| 62 | Essential Steps |
---|
| 63 | ----------------------------------------------------------------------- |
---|
| 64 | |
---|
| 65 | - System receives contract ID and any optional parameters |
---|
| 66 | specifying the data to change in the contract. |
---|
| 67 | - Data is validated. |
---|
| 68 | - If passed-in parameters are invalid, user is offered a possibility |
---|
| 69 | to fix the invalid data. |
---|
| 70 | - System updates the given contract. |
---|
| 71 | |
---|
| 72 | |
---|
| 73 | Open Issues |
---|
| 74 | ----------------------------------------------------------------------- |
---|
| 75 | |
---|
| 76 | |
---|
| 77 | |
---|
| 78 | Remarks |
---|
| 79 | ----------------------------------------------------------------------- |
---|
| 80 | |
---|
| 81 | |
---|
| 82 | .. raw:: latex |
---|
| 83 | |
---|
| 84 | \pagebreak[4] |
---|