|
ORE Studio 0.0.4
|
Service for managing party types. More...
#include <party_type_service.hpp>

Public Types | |
| using | context = ores::database::context |
Public Member Functions | |
| party_type_service (context ctx) | |
| std::vector< domain::party_type > | list_types () |
| std::optional< domain::party_type > | find_type (const std::string &code) |
| void | save_type (const domain::party_type &type) |
| void | save_types (const std::vector< domain::party_type > &types) |
| void | remove_type (const std::string &code) |
| void | remove_types (const std::vector< std::string > &codes) |
| std::vector< domain::party_type > | get_type_history (const std::string &code) |
Service for managing party types.