droplet 1.1.0
A multipurpose Discord bot with the hacker in mind
Loading...
Searching...
No Matches
BlacklistRepository Class Reference

#include <BlacklistRepository.hpp>

Inheritance diagram for BlacklistRepository:
Collaboration diagram for BlacklistRepository:

Public Member Functions

auto create (const BlacklistDTO &object) -> bool override
 
auto remove (size_t id) -> bool override
 
auto get (size_t id) -> BlacklistDTO override
 
auto update (const BlacklistDTO &object) -> bool override
 
auto getAll () -> std::vector< BlacklistDTO >
 
- Public Member Functions inherited from IRepository< BlacklistDTO >

Member Function Documentation

◆ create()

auto BlacklistRepository::create ( const BlacklistDTO & object) -> bool
nodiscardoverridevirtual

◆ get()

auto BlacklistRepository::get ( size_t id) -> BlacklistDTO
nodiscardoverridevirtual

◆ getAll()

auto BlacklistRepository::getAll ( ) -> std::vector<BlacklistDTO>
nodiscard

◆ remove()

auto BlacklistRepository::remove ( size_t id) -> bool
nodiscardoverridevirtual

◆ update()

auto BlacklistRepository::update ( const BlacklistDTO & object) -> bool
nodiscardoverridevirtual

The documentation for this class was generated from the following files: