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 an officer. |
---|
10 | |
---|
11 | Actor(s) |
---|
12 | ----------------------------------------------------------------------- |
---|
13 | |
---|
14 | Officer |
---|
15 | |
---|
16 | |
---|
17 | Trigger(s) |
---|
18 | ----------------------------------------------------------------------- |
---|
19 | |
---|
20 | - Imports (modifying existing data) |
---|
21 | - Web form(s) submitted by authorized user |
---|
22 | |
---|
23 | |
---|
24 | Result(s) |
---|
25 | ----------------------------------------------------------------------- |
---|
26 | |
---|
27 | - Contract data of the given contract is modified. |
---|
28 | |
---|
29 | - Any optional supplementary contract can be booked for the new contract. |
---|
30 | |
---|
31 | |
---|
32 | Incoming Data |
---|
33 | ----------------------------------------------------------------------- |
---|
34 | |
---|
35 | - Contract ID, names and values of parameters to change |
---|
36 | |
---|
37 | Outgoing Data |
---|
38 | ----------------------------------------------------------------------- |
---|
39 | |
---|
40 | - Message about contract modification |
---|
41 | - (optional) Regarding customer is informed by email or SMS. |
---|
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 | \ |
---|