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