ORE Studio 0.0.4
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
party_id_scheme_repository Class Reference

Reads and writes party ID schemes to data storage. More...

#include <party_id_scheme_repository.hpp>

Collaboration diagram for party_id_scheme_repository:
Collaboration graph

Public Types

using context = ores::database::context
 

Public Member Functions

std::string sql ()
 
void write (context ctx, const domain::party_id_scheme &scheme)
 
void write (context ctx, const std::vector< domain::party_id_scheme > &schemes)
 
std::vector< domain::party_id_schemeread_latest (context ctx)
 
std::vector< domain::party_id_schemeread_latest (context ctx, const std::string &code)
 
std::vector< domain::party_id_schemeread_all (context ctx, const std::string &code)
 
void remove (context ctx, const std::string &code)
 
void remove (context ctx, const std::vector< std::string > &codes)
 Deletes party ID schemes by closing their temporal validity.
 

Detailed Description

Reads and writes party ID schemes to data storage.