|
ORE Studio 0.0.4
|
Service for managing party contact informations. More...
#include <party_contact_information_service.hpp>

Public Types | |
| using | context = ores::database::context |
Public Member Functions | |
| party_contact_information_service (context ctx) | |
| Constructs a party_contact_information_service with required repositories. | |
| std::vector< domain::party_contact_information > | list_party_contact_informations () |
| Lists all party contact informations. | |
| std::vector< domain::party_contact_information > | list_party_contact_informations_by_party (const boost::uuids::uuid &party_id) |
| Lists party contact informations for a specific party. | |
| std::optional< domain::party_contact_information > | find_party_contact_information (const boost::uuids::uuid &id) |
| Finds a party contact information by its ID. | |
| std::optional< domain::party_contact_information > | find_party_contact_information_by_code (const std::string &code) |
| Finds a party contact information by its code. | |
| void | save_party_contact_information (const domain::party_contact_information &party_contact_information) |
| Saves a party contact information (creates or updates). | |
| void | save_party_contact_informations (const std::vector< domain::party_contact_information > &party_contact_informations) |
| Saves multiple party contact informations (creates or updates). | |
| void | remove_party_contact_information (const boost::uuids::uuid &id) |
| Removes a party contact information. | |
| std::vector< domain::party_contact_information > | get_party_contact_information_history (const boost::uuids::uuid &id) |
| Gets the version history for a party contact information. | |
Service for managing party contact informations.
This service provides functionality for:
|
explicit |
Constructs a party_contact_information_service with required repositories.
| ctx | The database context. |
| void save_party_contact_information | ( | const domain::party_contact_information & | party_contact_information | ) |
Saves a party contact information (creates or updates).
| party_contact_information | The party contact information to save |
| void save_party_contact_informations | ( | const std::vector< domain::party_contact_information > & | party_contact_informations | ) |
Saves multiple party contact informations (creates or updates).
| party_contact_informations | The party contact informations to save |
| void remove_party_contact_information | ( | const boost::uuids::uuid & | id | ) |
Removes a party contact information.
| id | The ID of the party contact information to remove |
| std::vector< domain::party_contact_information > get_party_contact_information_history | ( | const boost::uuids::uuid & | id | ) |
Gets the version history for a party contact information.
| id | The party contact information ID |