6 #ifndef IROHA_POSTGRES_WSV_COMMAND_HPP 7 #define IROHA_POSTGRES_WSV_COMMAND_HPP 43 const std::string &key,
44 const std::string &val)
override;
50 shared_model::interface::types::PublicKeyHexStringView signatory)
54 shared_model::interface::types::PublicKeyHexStringView signatory)
58 shared_model::interface::types::PublicKeyHexStringView signatory)
61 shared_model::interface::types::PublicKeyHexStringView signatory)
71 &permittee_account_id,
77 &permittee_account_id,
90 #endif // IROHA_POSTGRES_WSV_COMMAND_HPP Definition: account.hpp:20
WsvCommandResult insertAccountSignatory(const shared_model::interface::types::AccountIdType &account_id, shared_model::interface::types::PublicKeyHexStringView signatory) override
Definition: postgres_wsv_command.cpp:260
PostgresWsvCommand(soci::session &sql)
Definition: postgres_wsv_command.cpp:36
Grantable
Definition: permissions.hpp:75
WsvCommandResult setAccountKV(const shared_model::interface::types::AccountIdType &account_id, const shared_model::interface::types::AccountIdType &creator_account_id, const std::string &key, const std::string &val) override
Definition: postgres_wsv_command.cpp:380
WsvCommandResult insertAsset(const shared_model::interface::Asset &asset) override
Definition: postgres_wsv_command.cpp:204
Definition: permissions.hpp:102
Definition: domain.hpp:19
WsvCommandResult insertSignatory(shared_model::interface::types::PublicKeyHexStringView signatory) override
Definition: postgres_wsv_command.cpp:246
Definition: result_fwd.hpp:27
Definition: ledger_state.hpp:14
WsvCommandResult updateAccount(const shared_model::interface::Account &account) override
Definition: postgres_wsv_command.cpp:363
WsvCommandResult deleteAccountRole(const shared_model::interface::types::AccountIdType &account_id, const shared_model::interface::types::RoleIdType &role_name) override
Definition: postgres_wsv_command.cpp:67
WsvCommandResult upsertAccountAsset(const shared_model::interface::AccountAsset &asset) override
Definition: postgres_wsv_command.cpp:223
WsvCommandResult deleteAccountSignatory(const shared_model::interface::types::AccountIdType &account_id, shared_model::interface::types::PublicKeyHexStringView signatory) override
Definition: postgres_wsv_command.cpp:279
Definition: wsv_command.hpp:51
Definition: block_query.hpp:15
std::string AccountIdType
Type of account id.
Definition: types.hpp:38
WsvCommandResult insertAccountRole(const shared_model::interface::types::AccountIdType &account_id, const shared_model::interface::types::RoleIdType &role_name) override
Definition: postgres_wsv_command.cpp:49
WsvCommandResult insertAccount(const shared_model::interface::Account &account) override
Definition: postgres_wsv_command.cpp:180
WsvCommandResult insertRole(const shared_model::interface::types::RoleIdType &role_name) override
Definition: postgres_wsv_command.cpp:38
WsvCommandResult deleteAccountGrantablePermission(const shared_model::interface::types::AccountIdType &permittee_account_id, const shared_model::interface::types::AccountIdType &account_id, shared_model::interface::permissions::Grantable permission) override
Definition: postgres_wsv_command.cpp:146
Definition: postgres_wsv_command.hpp:17
WsvCommandResult insertDomain(const shared_model::interface::Domain &domain) override
Definition: postgres_wsv_command.cpp:346
WsvCommandResult deleteSignatory(shared_model::interface::types::PublicKeyHexStringView signatory) override
Definition: postgres_wsv_command.cpp:298
WsvCommandResult deletePeer(const shared_model::interface::Peer &peer) override
Definition: postgres_wsv_command.cpp:329
WsvCommandResult insertPeer(const shared_model::interface::Peer &peer) override
Definition: postgres_wsv_command.cpp:314
WsvCommandResult insertRolePermissions(const shared_model::interface::types::RoleIdType &role_id, const shared_model::interface::RolePermissionSet &permissions) override
Definition: postgres_wsv_command.cpp:86
Definition: account_asset.hpp:20
std::string RoleIdType
Type of role (i.e admin, user)
Definition: types.hpp:54
WsvCommandResult insertAccountGrantablePermission(const shared_model::interface::types::AccountIdType &permittee_account_id, const shared_model::interface::types::AccountIdType &account_id, shared_model::interface::permissions::Grantable permission) override
Definition: postgres_wsv_command.cpp:112
WsvCommandResult setTopBlockInfo(const TopBlockInfo &top_block_info) const override
Definition: postgres_wsv_command.cpp:412