Ir al final de los metadatos
Ir al inicio de los metadatos
UC-05a | CustomerManagement - Add customer |
---|
Versión | 1.0 |
Dependencies | None |
Preconditions | - User must be logged
- User must have ROLE_ADMINISTRATIVE_USER
|
Description | Functionality to add new customers |
Secuence | - User request to add a customer
- System returns customer creation form
- User add customer data.
- System requests for an initial user (default contact person)
- System saves created customer.
- User adds a new user (@see UC-06a UserManagement-addUser) with ROLE_USER as default contact person.
- UI offers to license products for new user (@see UC-07a LicenseManagement-addProductLicenses)
|
Postconditions | Audit fields must save who created that customer. |
Exceptions | System must reject customer creation if customer cif just exists. |
Comments | None |
UC-05b | CustomerManagement - Update customer |
---|
Versión | 1.0 |
Dependencies | None |
Preconditions | - User must be logged
- User must have ROLE_ADMINISTRATIVE_USER
|
Description | Functionality to update a customer |
Secuence | - User request to obtain a customer by primary key.
- System returns customer detailed model.
- User updates general customer information.
- System may offer the option to update the users associated to customer (@see UC-06b UserManagement-updateUser)
- System may offer the option to update the products licensed to current customer (@see UC-07b LicenseManagement-updateProductLicense)
- System save customer information.
|
Postconditions | Audit fields must save who modified that customer. |
Exceptions | System will raise and exception if primarey key does not exist. |
Comments | None |
UC-05c | CustomerManagement - Remove customer |
---|
Versión | 1.0 |
Dependencies | None |
Preconditions | - User must be logged
- User must have ROLE_ADMINISTRATIVE_USER
|
Description | Functionality to remove a customer |
Secuence | - User request to remove a customer by primary key.
- System will check for associated licenses and warn the user about:
- Number of licenses associated to the customer.
- Double check to remove that customer
- User accepts to remove the customer.
- System removes associated users (@see UC-06c UserManagement-removeUser)
- System removes customer licenses and keys (@see UC-07b LicenseManagement-removeLicense)
- System finally removes the customer.
|
Postconditions | None |
Exceptions | System will raise and exception if primary key does not exist. |
Comments | None |
UC-05d | CustomerManagement - Find customers |
---|
Versión | 1.0 |
Dependencies | None |
Preconditions | - User must be logged
- User could have ROLE_ADMINISTRATIVE_USER or or ROLE_PRODUCT_MANAGER
|
Description | Functionality to search for customers |
Secuence | - User request for a list of customers.
- System will query database using provided parameters:
- If user details are requested then it will be included in response
- If license details are requested then it will be included in response. License i18N fields must be returned in all the configured languages.
|
Postconditions | None |
Exceptions | None |
Comments | None |