Ir al final de los metadatos
Ir al inicio de los metadatos
UC-03a | VersionManagement - Add version |
---|
Versión | 1.0 |
Dependencies | None |
Preconditions | - User must be logged
- User must have ROLE_PRODUCT_MANAGER
|
Description | Functionality to add new product versions |
Secuence | - User request to add a product
- System returns version creation form.
- User add general version information. I18N fields (release notes and links) will be provided for the prefered_language.
- UI offers to define new languages: One option it's to copy current texts to a new language or fill the empty fields.
- PubishDate and UploadDate will not be editable and will be empty when it's created.
- System receives request and save it to storage.
- System may offer the option to add artifacts to the product(@see UC-04e ArtifactManagement-uploadArtifact)
|
Postconditions | Audit fields must save who created that version. |
Exceptions | System must reject version if provided product KEY does not exist. |
Comments |
|
→ TODO
UC-03b | VersionManagement - Update product |
---|
Versión | 1.0 |
Dependencies | None |
Preconditions | - User must be logged
- User must have ROLE_ADMINISTRATIVE_USER
- User may require ROLE_PRODUCT_MANAGER
|
Description | Functionality to update a product |
Secuence | - User request to obtain a product by primary key.
- System returns product detailed model.
- User updates general product 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. PRODUCT_KEY AND VISIBILITY field will be ignored.
- Licensed product field may only be editable by productManagers. By default keeps unchanged.
|
Postconditions | Audit fields must save who modified that product. |
Exceptions | System will raise and exception if primarey key does not exist. |
Comments | Product KEYs are mandatory and primary keys and could not be modified once a product is created. |
UC-03c | VersionManagement - Remove product |
---|
Versión | 1.0 |
Dependencies | None |
Preconditions | - User must be logged
- User must have ROLE_ADMINISTRATIVE_USER
|
Description | Functionality to remove a product |
Secuence | - User request to remove a product by primary key.
- System will warn about the loose of data (versions and storage).
- User accepts to remove the product.
|
Postconditions | None |
Exceptions | System will raise and exception if primary key does not exist. |
Comments | None |
UC-03d | VersionManagement - Change product visibility |
---|
Versión | 1.0 |
Dependencies | None |
Preconditions | - User must be logged
- User must have ROLE_PRODUCT_MANAGER
|
Description | Functionality to update product visibility |
Secuence | - User request to change product visibility by primary key
- System will check the number of versions that are published:
- If visible = 0: Warn about that situation to the user
- System updates product.
|
Postconditions | Audit fields must save who modified the product |
Exceptions | System will raise and exception if primarey key does not exist. |
Comments | None |
UC-03e | VersionManagement - Find products |
---|
Versión | 1.0 |
Dependencies | None |
Preconditions | - User must be logged
- User could have ANY ROLE
|
Description | Functionality to search for categories |
Secuence | - User request for a list of products.
- System will query database using provided parameters. If version details are requested then it will be included in response. Product and versioni18N fields must be returned in all the configured languages.
|
Postconditions | None |
Exceptions | None |
Comments | None |