/
Use Cases - UC-08 News

Use Cases - UC-08 News

UC-08a

NewsManagement - Add a news entry

Versión1.0
DependenciesNone
Preconditions
  • User must be logged
  • User must have ROLE_PROD_MANAGER
DescriptionFunctionality to add news entries
Secuence
  1. User request to add a news entry
  2. System returns news creation form
  3. User provides news title and body in multiple languages.
  4. User adds a list of related tags.
  5. System receives request and save it to storage.
PostconditionsAudit fields must save who created that news entry.
Exceptions--
Comments--

UC-08b

NewsManagement - Update a news entry

Versión1.0
DependenciesNone
Preconditions
  • User must be logged
  • User must have ROLE_PROD_MANAGER
DescriptionFunctionality to update a category
Secuence
  1. User request to obtain a news entry by primary key.
  2. System returns news entry.
  3. User updates news information. User can updates titles, bodies or tags.
  4. System receives request and save it to storage.
PostconditionsAudit fields must save who modified that news entry.
Exceptions

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

Comments--


UC-08c

NewsManagement - Remove news entry

Versión1.0
DependenciesNone
Preconditions
  • User must be logged
  • User must have ROLE_ADMINISTRATIVE
DescriptionFunctionality to remove a news entry
Secuence
  1. User request to remove a news entry by primary key.
  2. System removes the news entry.
Postconditions--
Exceptions

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

CommentsNone


UC-08d

CategoryManagement - Find news

Versión1.0
DependenciesNone
Preconditions
  • User can be anonymous
DescriptionFunctionality to search for news 
Secuence
  1. User request for a list of news.
  2. System will query database using provided parameters. If includeBodies are requested then it will be included in response DTO.
PostconditionsNone
Exceptions

None

CommentsNone

UC-08e

NewsManagement - Get news entry

Versión1.0
DependenciesNone
Preconditions
  • User can be anonymous
DescriptionFunctionality to retrieve a news entry
Secuence
  1. User request to obtain a news entry from database
  2. System recovers news entry from database and returns to it including body data:
    1. Json Quilljs model
    2. Output HTML Body
PostconditionsNone
Exceptions

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

CommentsNone

Avvale 2024