[10749] | 1 | .. _label-uc-service-manage: |
---|
| 2 | |
---|
[10781] | 3 | Modify a Service |
---|
[10749] | 4 | *********************************************************************** |
---|
| 5 | |
---|
| 6 | Short Description |
---|
| 7 | ----------------------------------------------------------------------- |
---|
| 8 | |
---|
[10780] | 9 | A service is modified by staff. |
---|
[10749] | 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 | |
---|
[10780] | 27 | - Data (terms, title, description) of the given service is modified. |
---|
[10749] | 28 | |
---|
| 29 | |
---|
| 30 | Incoming Data |
---|
| 31 | ----------------------------------------------------------------------- |
---|
| 32 | |
---|
[10753] | 33 | - Service ID, names and values of parameters to change |
---|
[10749] | 34 | |
---|
| 35 | Outgoing Data |
---|
| 36 | ----------------------------------------------------------------------- |
---|
| 37 | |
---|
| 38 | - Message about service modification. |
---|
[10781] | 39 | - Regarding customers are informed by email or |
---|
[10749] | 40 | SMS. Regarding customers are those having a contract created by |
---|
| 41 | the modified service. |
---|
| 42 | - Log message |
---|
| 43 | |
---|
| 44 | |
---|
| 45 | Precondition(s) |
---|
| 46 | ----------------------------------------------------------------------- |
---|
| 47 | |
---|
| 48 | - Service ID must exist. |
---|
| 49 | - Submitting user must be authorized to perform the operation. |
---|
| 50 | |
---|
| 51 | |
---|
| 52 | Postcondition(s) |
---|
| 53 | ----------------------------------------------------------------------- |
---|
| 54 | |
---|
[10753] | 55 | - The new service data were checked for validity. Validation here is |
---|
[10749] | 56 | stricter than when adding a service. For instance it is not allowed |
---|
| 57 | to change terms for the past if there are already existing |
---|
| 58 | contracts created by this service. |
---|
| 59 | |
---|
| 60 | |
---|
| 61 | Invariant(s) |
---|
| 62 | ----------------------------------------------------------------------- |
---|
| 63 | |
---|
| 64 | |
---|
| 65 | Essential Steps |
---|
| 66 | ----------------------------------------------------------------------- |
---|
| 67 | |
---|
| 68 | - System receives service ID and any optional parameters |
---|
| 69 | specifying the data to change in the service. |
---|
| 70 | - Data is validated. |
---|
| 71 | - If passed-in parameters are invalid, user is offered a possibility |
---|
| 72 | to fix the invalid data. |
---|
| 73 | - System updates the given service. |
---|
| 74 | |
---|
| 75 | |
---|
| 76 | Open Issues |
---|
| 77 | ----------------------------------------------------------------------- |
---|
| 78 | |
---|
| 79 | |
---|
| 80 | |
---|
| 81 | Remarks |
---|
| 82 | ----------------------------------------------------------------------- |
---|
| 83 | |
---|
| 84 | |
---|
| 85 | .. raw:: latex |
---|
| 86 | |
---|
[10780] | 87 | \ |
---|