|
ORE Studio 0.0.4
|
Manages commands related to change reason categories. More...
#include <change_reason_categories_commands.hpp>

Static Public Member Functions | |
| static void | register_commands (cli::Menu &root_menu, comms::net::client_session &session) |
| Register change reason category-related commands. | |
| static void | process_get_categories (std::ostream &out, comms::net::client_session &session) |
| Process a get change reason categories request. | |
| static void | process_add_category (std::ostream &out, comms::net::client_session &session, std::string code, std::string description, std::string change_commentary) |
| Process an add change reason category request. | |
| static void | process_delete_category (std::ostream &out, comms::net::client_session &session, std::string code) |
| Process a delete change reason category request. | |
| static void | process_get_category_history (std::ostream &out, comms::net::client_session &session, std::string code) |
| Process a get category history request. | |
Manages commands related to change reason categories.
|
static |
Register change reason category-related commands.
Creates the change-reason-categories submenu and adds operations.
|
static |
Process a get change reason categories request.
Retrieves all change reason categories from the server.
| out | Output stream for results |
| session | Client session for connectivity. |

|
static |
Process an add change reason category request.
Creates a new change reason category with the provided details.
| out | Output stream for results |
| session | Client session for connectivity. |
| code | Unique category code (e.g., "static_data") |
| description | Human-readable description |
| change_commentary | Free-text commentary explaining the change |

|
static |
Process a delete change reason category request.
Deletes a category by its code. Requires authentication.
| out | Output stream for results |
| session | Client session for connectivity. |
| code | Code of the category to delete |

|
static |
Process a get category history request.
Retrieves the version history for a category by its code.
| out | Output stream for results |
| session | Client session for connectivity. |
| code | Code of the category |
