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

Reads and writes lifecycle events to data storage. More...

#include <lifecycle_event_repository.hpp>

Collaboration diagram for lifecycle_event_repository:
Collaboration graph

Public Types

using context = ores::database::context
 

Public Member Functions

std::string sql ()
 
void write (context ctx, const domain::lifecycle_event &v)
 
void write (context ctx, const std::vector< domain::lifecycle_event > &v)
 
std::vector< domain::lifecycle_eventread_latest (context ctx)
 
std::vector< domain::lifecycle_eventread_latest (context ctx, const std::string &code)
 
std::vector< domain::lifecycle_eventread_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 lifecycle events by closing their temporal validity.
 

Detailed Description

Reads and writes lifecycle events to data storage.