UC-01b | CategoryManagement - Update category |
---|
Versión | 1.0 |
Dependencies | None |
Preconditions | - User must be logged
- User must have ROLE_ADMINISTRATIVE_USER
|
Description | Functionality to update a category |
Secuence | - User request to obtain a category by primary key.
- System returns category detailed model.
- User updates general category information. User can updates I18n fields for the defined languages, add new languages or remove an existent one.
- System receives request and save it to storage. CATEGORY_KEY AND VISIBILITY field will be ignored.
- System may offer the option to update the products associated to category (@see UC-01f CategoryManagement-updateCategoryProducts)
|
Postconditions | Audit fields must save who modified that category. |
Exceptions | System will raise and exception if primarey key does not exist. |
Comments | Category KEYs are mandatory and primery keys and could not be modified once a category is created. |