All entities (requirements, measures, documents etc.) can be filtered. This filtering feature should be used to enable bulk editing.
This can be done as follows: A bulk edit route has all the necessary filter parameters to filter out the items to be edited. When the route is invoked by the client using the PATCH method, the server updates all the filtered items.
Updating works as follows. When the route is called, the client sends an object to the server that contains only the changes to be executed. These changes are then applied to the entities filtered out.
The following tasks are to be implemented as part of this issue:
[x] Define models for the objects to be sent to the bulk update routes.
[x] Create handler functions (endpoints) for bulk update routes.
All entities (requirements, measures, documents etc.) can be filtered. This filtering feature should be used to enable bulk editing.
This can be done as follows: A bulk edit route has all the necessary filter parameters to filter out the items to be edited. When the route is invoked by the client using the PATCH method, the server updates all the filtered items.
Updating works as follows. When the route is called, the client sends an object to the server that contains only the changes to be executed. These changes are then applied to the entities filtered out.
The following tasks are to be implemented as part of this issue: