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

#include <PortalRepository.hpp>

Inheritance diagram for PortalRepository:
Collaboration diagram for PortalRepository:

Public Member Functions

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

Member Function Documentation

◆ create()

auto PortalRepository::create ( const PortalDTO & object) -> bool
nodiscardoverridevirtual

◆ get()

auto PortalRepository::get ( size_t id) -> PortalDTO
nodiscardoverridevirtual

◆ getAll()

auto PortalRepository::getAll ( ) -> std::vector<PortalDTO>
nodiscard

◆ remove()

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

◆ update()

auto PortalRepository::update ( const PortalDTO & object) -> bool
nodiscardoverridevirtual

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