|
FOSSredder 0.5.0
|
#include <WorkspaceCommandService.h>
Public Member Functions | |
| WorkspaceCommandService (WorkspaceSession &session) | |
| Creates command service bound to one workspace session. | |
| ~WorkspaceCommandService () | |
| WorkspaceCommandService (const WorkspaceCommandService &)=delete | |
| WorkspaceCommandService & | operator= (const WorkspaceCommandService &)=delete |
| WorkspaceCommandService (WorkspaceCommandService &&) noexcept | |
| WorkspaceCommandService & | operator= (WorkspaceCommandService &&) noexcept |
| std::string | addActor (const core::ports::workspace::ActorCommand &command) |
| Adds actor and returns created id. | |
| void | updateActor (const core::ports::workspace::ActorCommand &command) |
| Updates actor identified by command id. | |
| void | deleteActor (const std::string &id) |
| Deletes actor by id. | |
| std::string | addProperty (const core::ports::workspace::PropertyCommand &command) |
| Adds property and returns created id. | |
| void | updateProperty (const core::ports::workspace::PropertyCommand &command) |
| Updates property identified by command id. | |
| void | deleteProperty (const std::string &id) |
| Deletes property by id. | |
| std::string | addContract (const core::ports::workspace::ContractCommand &command) |
| Adds contract and returns created id. | |
| void | updateContract (const core::ports::workspace::ContractCommand &command) |
| Updates contract identified by command id. | |
| void | deleteContract (const std::string &id) |
| Deletes contract by id. | |
| std::string | addStatement (const core::ports::workspace::StatementCommand &command) |
| Adds statement and returns created id. | |
| std::string | addStatementWithTransactions (const core::ports::workspace::StatementWithTransactionsCommand &command) |
| Adds statement and transactions in one workspace mutation. | |
| void | updateStatement (const core::ports::workspace::StatementCommand &command) |
| Updates statement identified by command id. | |
| void | deleteStatement (const std::string &id) |
| Deletes statement by id. | |
| std::string | addTransaction (const core::ports::workspace::TransactionCommand &command) |
| Adds transaction and returns created id. | |
| void | updateTransaction (const core::ports::workspace::TransactionCommand &command) |
| Updates transaction identified by command id. | |
| void | deleteTransaction (const std::string &id) |
| Deletes transaction by id. | |
| std::string | addAnalysis (const core::ports::workspace::AnalysisCommand &command) |
| Adds analysis and returns created id. | |
| void | updateAnalysis (const core::ports::workspace::AnalysisCommand &command) |
| Updates analysis identified by command id. | |
| void | deleteAnalysis (const std::string &id) |
| Deletes analysis by id. | |
| std::string | addAnnual (const core::ports::workspace::AnnualCommand &command) |
| Adds annual aggregate and returns created id. | |
| void | updateAnnual (const core::ports::workspace::AnnualCommand &command) |
| Updates annual aggregate identified by command id. | |
| void | deleteAnnual (const std::string &id) |
| Deletes annual aggregate by id. | |
| core::ports::workspace::ValidationResult | validate (const core::ports::workspace::ActorCommand &command) const |
| Validates actor command data without mutating state. | |
| core::ports::workspace::ValidationResult | validate (const core::ports::workspace::PropertyCommand &command) const |
| Validates property command data without mutating state. | |
| core::ports::workspace::ValidationResult | validate (const core::ports::workspace::ContractCommand &command) const |
| Validates contract command data without mutating state. | |
| core::ports::workspace::ValidationResult | validate (const core::ports::workspace::StatementCommand &command) const |
| Validates statement command data without mutating state. | |
| core::ports::workspace::ValidationResult | validate (const core::ports::workspace::TransactionCommand &command) const |
| Validates transaction command data without mutating state. | |
| core::ports::workspace::ValidationResult | validate (const core::ports::workspace::StatementWithTransactionsCommand &command) const |
| Validates statement batch command data without mutating state. | |
| core::ports::workspace::ValidationResult | validate (const core::ports::workspace::AnalysisCommand &command) const |
| Validates analysis command data without mutating state. | |
| core::ports::workspace::ValidationResult | validate (const core::ports::workspace::AnnualCommand &command) const |
| Validates annual command data without mutating state. | |
Definition at line 70 of file WorkspaceCommandService.h.
|
explicit |
Creates command service bound to one workspace session.
Definition at line 802 of file WorkspaceCommandService.cpp.

|
default |
|
delete |

|
defaultnoexcept |

|
nodiscard |
Adds actor and returns created id.
Definition at line 913 of file WorkspaceCommandService.cpp.


|
nodiscard |
Adds analysis and returns created id.
Definition at line 1069 of file WorkspaceCommandService.cpp.


|
nodiscard |
Adds annual aggregate and returns created id.
Definition at line 1107 of file WorkspaceCommandService.cpp.


|
nodiscard |
Adds contract and returns created id.
Definition at line 953 of file WorkspaceCommandService.cpp.


|
nodiscard |
Adds property and returns created id.
Definition at line 933 of file WorkspaceCommandService.cpp.


|
nodiscard |
Adds statement and returns created id.
Definition at line 987 of file WorkspaceCommandService.cpp.


|
nodiscard |
Adds statement and transactions in one workspace mutation.
Definition at line 994 of file WorkspaceCommandService.cpp.


|
nodiscard |
Adds transaction and returns created id.
Definition at line 1039 of file WorkspaceCommandService.cpp.


| void core::application::WorkspaceCommandService::deleteActor | ( | const std::string & | id | ) |
Deletes actor by id.
Definition at line 929 of file WorkspaceCommandService.cpp.


| void core::application::WorkspaceCommandService::deleteAnalysis | ( | const std::string & | id | ) |
Deletes analysis by id.
Definition at line 1103 of file WorkspaceCommandService.cpp.


| void core::application::WorkspaceCommandService::deleteAnnual | ( | const std::string & | id | ) |
Deletes annual aggregate by id.
Definition at line 1123 of file WorkspaceCommandService.cpp.


| void core::application::WorkspaceCommandService::deleteContract | ( | const std::string & | id | ) |
Deletes contract by id.
Definition at line 983 of file WorkspaceCommandService.cpp.


| void core::application::WorkspaceCommandService::deleteProperty | ( | const std::string & | id | ) |
Deletes property by id.
Definition at line 949 of file WorkspaceCommandService.cpp.


| void core::application::WorkspaceCommandService::deleteStatement | ( | const std::string & | id | ) |
Deletes statement by id.
Definition at line 1035 of file WorkspaceCommandService.cpp.


| void core::application::WorkspaceCommandService::deleteTransaction | ( | const std::string & | id | ) |
Deletes transaction by id.
Definition at line 1065 of file WorkspaceCommandService.cpp.


|
delete |

|
defaultnoexcept |

| void core::application::WorkspaceCommandService::updateActor | ( | const core::ports::workspace::ActorCommand & | command | ) |
Updates actor identified by command id.
Definition at line 920 of file WorkspaceCommandService.cpp.


| void core::application::WorkspaceCommandService::updateAnalysis | ( | const core::ports::workspace::AnalysisCommand & | command | ) |
Updates analysis identified by command id.
Definition at line 1085 of file WorkspaceCommandService.cpp.


| void core::application::WorkspaceCommandService::updateAnnual | ( | const core::ports::workspace::AnnualCommand & | command | ) |
Updates annual aggregate identified by command id.
Definition at line 1114 of file WorkspaceCommandService.cpp.


| void core::application::WorkspaceCommandService::updateContract | ( | const core::ports::workspace::ContractCommand & | command | ) |
Updates contract identified by command id.
Definition at line 967 of file WorkspaceCommandService.cpp.


| void core::application::WorkspaceCommandService::updateProperty | ( | const core::ports::workspace::PropertyCommand & | command | ) |
Updates property identified by command id.
Definition at line 940 of file WorkspaceCommandService.cpp.


| void core::application::WorkspaceCommandService::updateStatement | ( | const core::ports::workspace::StatementCommand & | command | ) |
Updates statement identified by command id.
Definition at line 1026 of file WorkspaceCommandService.cpp.


| void core::application::WorkspaceCommandService::updateTransaction | ( | const core::ports::workspace::TransactionCommand & | command | ) |
Updates transaction identified by command id.
Definition at line 1051 of file WorkspaceCommandService.cpp.


|
nodiscard |
Validates actor command data without mutating state.
Definition at line 843 of file WorkspaceCommandService.cpp.

|
nodiscard |
Validates analysis command data without mutating state.
Definition at line 884 of file WorkspaceCommandService.cpp.

|
nodiscard |
Validates annual command data without mutating state.
Definition at line 904 of file WorkspaceCommandService.cpp.

|
nodiscard |
Validates contract command data without mutating state.
Definition at line 855 of file WorkspaceCommandService.cpp.

|
nodiscard |
Validates property command data without mutating state.
Definition at line 849 of file WorkspaceCommandService.cpp.
|
nodiscard |
Validates statement command data without mutating state.
Definition at line 865 of file WorkspaceCommandService.cpp.
|
nodiscard |
Validates statement batch command data without mutating state.
Definition at line 875 of file WorkspaceCommandService.cpp.

|
nodiscard |
Validates transaction command data without mutating state.
Definition at line 871 of file WorkspaceCommandService.cpp.