Versiones comparadas

Clave

  • Se ha añadido esta línea.
  • Se ha eliminado esta línea.
  • El formato se ha cambiado.

...

UC-02c

ProductManagement - Remove product

Versión1.0
DependenciesNone
Preconditions
  • User must be logged
  • User must have ROLE_ADMINISTRATIVE_USER
DescriptionFunctionality to remove a product
Secuence
  1. User request to remove a product by primary key.
  2. System will warn about the loose of data (versions and storage).
  3. User accepts to remove the product.
PostconditionsNone
Exceptions

System will raise and exception if primary key does not exist.

CommentsNone


UC-02d

ProductManagement - Change

category

product visibility

Versión1.0
DependenciesNone
Preconditions
  • User must be logged
  • User must have ROLE_PRODUCT_MANAGER
DescriptionFunctionality to update category product visibility
Secuence
  1. User request to change category product visibility of category by primary key
  2. System will check the number of products versions that belongs to that category that are visiblepublished:
    1. If visible = 0: Warn about that situation to the user
  3. System updates categoryproduct.
  4. System may offer the option to update the products visibility (@see UC-02b ProductManagement-updateProduct)
PostconditionsAudit fields must save who modified the categoryproduct
Exceptions

System will raise and exception if primarey key does not exist.

CommentsNone


UC-02e

ProductManagement - Find

categories

products

Versión1.0
DependenciesNone
Preconditions
  • User must be logged
  • User could have ANY ROLE
DescriptionFunctionality to search for categories
Secuence
  1. User request for a list of categoriesproducts.
  2. System will query database using provided parameters. If product version details are requested then it will be included in response. Product and category i18N versioni18N fields must be returned in all the configured languages.
PostconditionsNone
Exceptions

None

CommentsNone

UC-02f

ProductManagement - Update category products

Versión1.0
DependenciesNone
Preconditions
  • User must be logged
  • User must have ROLE_ADMINISTRATIVE_USER
DescriptionFunctionality to update products associated to a category
Secuence
  1. User request for a category-products update.
  2. System will return a detailed category with the current associated products and a list of the rest of available products.
  3. User may add/remove products from the list
  4. System will receive a list of the new products that will belong to this category: 
    1. Products removed maybe updated removing the category from them.
    2. Products added to the list must be associated now to the current Category.
  5. System will check the number of products that belongs now to that category that are visible:If visible = 0: Warn about that situation to the user.
PostconditionsNone
Exceptions

None

CommentsNone

...