hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
iroha::ametsuchi::PostgresCommandExecutor Class Reference

#include "postgres_command_executor.hpp"

Inheritance diagram for iroha::ametsuchi::PostgresCommandExecutor:
Inheritance graph
Collaboration diagram for iroha::ametsuchi::PostgresCommandExecutor:
Collaboration graph

Public Member Functions

 PostgresCommandExecutor (soci::session &transaction, std::shared_ptr< shared_model::interface::PermissionToString > perm_converter)
 
void setCreatorAccountId (const shared_model::interface::types::AccountIdType &creator_account_id) override
 
void doValidation (bool do_validation) override
 
CommandResult operator() (const shared_model::interface::AddAssetQuantity &command) override
 
CommandResult operator() (const shared_model::interface::AddPeer &command) override
 
CommandResult operator() (const shared_model::interface::AddSignatory &command) override
 
CommandResult operator() (const shared_model::interface::AppendRole &command) override
 
CommandResult operator() (const shared_model::interface::CreateAccount &command) override
 
CommandResult operator() (const shared_model::interface::CreateAsset &command) override
 
CommandResult operator() (const shared_model::interface::CreateDomain &command) override
 
CommandResult operator() (const shared_model::interface::CreateRole &command) override
 
CommandResult operator() (const shared_model::interface::DetachRole &command) override
 
CommandResult operator() (const shared_model::interface::GrantPermission &command) override
 
CommandResult operator() (const shared_model::interface::RemoveSignatory &command) override
 
CommandResult operator() (const shared_model::interface::RevokePermission &command) override
 
CommandResult operator() (const shared_model::interface::SetAccountDetail &command) override
 
CommandResult operator() (const shared_model::interface::SetQuorum &command) override
 
CommandResult operator() (const shared_model::interface::SubtractAssetQuantity &command) override
 
CommandResult operator() (const shared_model::interface::TransferAsset &command) override
 
- Public Member Functions inherited from iroha::ametsuchi::CommandExecutor
virtual ~CommandExecutor ()=default
 

Static Public Member Functions

static void prepareStatements (soci::session &sql)
 

Constructor & Destructor Documentation

iroha::ametsuchi::PostgresCommandExecutor::PostgresCommandExecutor ( soci::session &  transaction,
std::shared_ptr< shared_model::interface::PermissionToString perm_converter 
)

Member Function Documentation

void iroha::ametsuchi::PostgresCommandExecutor::doValidation ( bool  do_validation)
overridevirtual
CommandResult iroha::ametsuchi::PostgresCommandExecutor::operator() ( const shared_model::interface::AddAssetQuantity command)
overridevirtual

Implements iroha::ametsuchi::CommandExecutor.

Here is the call graph for this function:

CommandResult iroha::ametsuchi::PostgresCommandExecutor::operator() ( const shared_model::interface::AddPeer command)
overridevirtual

Implements iroha::ametsuchi::CommandExecutor.

Here is the call graph for this function:

CommandResult iroha::ametsuchi::PostgresCommandExecutor::operator() ( const shared_model::interface::AddSignatory command)
overridevirtual

Implements iroha::ametsuchi::CommandExecutor.

Here is the call graph for this function:

CommandResult iroha::ametsuchi::PostgresCommandExecutor::operator() ( const shared_model::interface::AppendRole command)
overridevirtual

Implements iroha::ametsuchi::CommandExecutor.

Here is the call graph for this function:

CommandResult iroha::ametsuchi::PostgresCommandExecutor::operator() ( const shared_model::interface::CreateAccount command)
overridevirtual

Implements iroha::ametsuchi::CommandExecutor.

Here is the call graph for this function:

CommandResult iroha::ametsuchi::PostgresCommandExecutor::operator() ( const shared_model::interface::CreateAsset command)
overridevirtual

Implements iroha::ametsuchi::CommandExecutor.

Here is the call graph for this function:

CommandResult iroha::ametsuchi::PostgresCommandExecutor::operator() ( const shared_model::interface::CreateDomain command)
overridevirtual

Implements iroha::ametsuchi::CommandExecutor.

Here is the call graph for this function:

CommandResult iroha::ametsuchi::PostgresCommandExecutor::operator() ( const shared_model::interface::CreateRole command)
overridevirtual

Implements iroha::ametsuchi::CommandExecutor.

Here is the call graph for this function:

CommandResult iroha::ametsuchi::PostgresCommandExecutor::operator() ( const shared_model::interface::DetachRole command)
overridevirtual

Implements iroha::ametsuchi::CommandExecutor.

Here is the call graph for this function:

CommandResult iroha::ametsuchi::PostgresCommandExecutor::operator() ( const shared_model::interface::GrantPermission command)
overridevirtual

Implements iroha::ametsuchi::CommandExecutor.

Here is the call graph for this function:

CommandResult iroha::ametsuchi::PostgresCommandExecutor::operator() ( const shared_model::interface::RemoveSignatory command)
overridevirtual

Implements iroha::ametsuchi::CommandExecutor.

Here is the call graph for this function:

CommandResult iroha::ametsuchi::PostgresCommandExecutor::operator() ( const shared_model::interface::RevokePermission command)
overridevirtual

Implements iroha::ametsuchi::CommandExecutor.

Here is the call graph for this function:

CommandResult iroha::ametsuchi::PostgresCommandExecutor::operator() ( const shared_model::interface::SetAccountDetail command)
overridevirtual

Implements iroha::ametsuchi::CommandExecutor.

Here is the call graph for this function:

CommandResult iroha::ametsuchi::PostgresCommandExecutor::operator() ( const shared_model::interface::SetQuorum command)
overridevirtual

Implements iroha::ametsuchi::CommandExecutor.

Here is the call graph for this function:

CommandResult iroha::ametsuchi::PostgresCommandExecutor::operator() ( const shared_model::interface::SubtractAssetQuantity command)
overridevirtual

Implements iroha::ametsuchi::CommandExecutor.

Here is the call graph for this function:

CommandResult iroha::ametsuchi::PostgresCommandExecutor::operator() ( const shared_model::interface::TransferAsset command)
overridevirtual

Implements iroha::ametsuchi::CommandExecutor.

Here is the call graph for this function:

void iroha::ametsuchi::PostgresCommandExecutor::prepareStatements ( soci::session &  sql)
static

Here is the call graph for this function:

void iroha::ametsuchi::PostgresCommandExecutor::setCreatorAccountId ( const shared_model::interface::types::AccountIdType creator_account_id)
overridevirtual

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