|
FOSSredder 0.5.0
|
#include <WorkspaceQueryService.h>
Public Member Functions | |
| WorkspaceQueryService (WorkspaceSession &session) | |
| Creates the query service for one workspace session. | |
| WorkspaceQueryService (const WorkspaceQueryService &)=delete | |
| WorkspaceQueryService & | operator= (const WorkspaceQueryService &)=delete |
| WorkspaceQueryService (WorkspaceQueryService &&) noexcept | |
| WorkspaceQueryService & | operator= (WorkspaceQueryService &&) noexcept |
| core::ports::workspace::WorkspaceSnapshot | workspaceSnapshot () const |
| Projects full workspace snapshot for port consumers. | |
| std::optional< core::ports::workspace::StatementDraftSnapshot > | statementDraftSnapshot (const std::string &draftId={}) const |
| Projects one statement draft snapshot. | |
| core::ports::workspace::WorkspaceIdentitySnapshot | actorIdentityByName (const std::string &name) const |
| Finds an actor identity by normalized name. | |
| core::ports::workspace::WorkspaceIdentitySnapshot | propertyIdentityByName (const std::string &name) const |
| Finds a property identity by normalized name. | |
| core::ports::workspace::WorkspaceIdentitySnapshot | contractIdentityBySignature (const std::string &name, const std::string &type, const std::vector< std::string > &actorIds, const std::vector< std::string > &propertyIds) const |
| Finds a contract identity by normalized signature. | |
| core::ports::workspace::TransactionCatalogSelection | transactionCatalogSelection (const core::ports::workspace::TransactionCatalogSelectionChange &change) const |
| Applies catalog consistency rules to a transaction form selection. | |
| std::string | nextContractName () const |
| Returns the next generated contract name. | |
| const std::string & | currentPath () const noexcept |
| Returns current workspace file path. | |
Definition at line 20 of file WorkspaceQueryService.h.
|
explicit |
Creates the query service for one workspace session.
Definition at line 117 of file WorkspaceQueryService.cpp.

|
delete |

|
defaultnoexcept |

|
nodiscard |
Finds an actor identity by normalized name.
Definition at line 141 of file WorkspaceQueryService.cpp.
|
nodiscard |
Finds a contract identity by normalized signature.
Definition at line 167 of file WorkspaceQueryService.cpp.
|
noexcept |
Returns current workspace file path.
Definition at line 133 of file WorkspaceQueryService.cpp.

|
nodiscard |
Returns the next generated contract name.
Definition at line 233 of file WorkspaceQueryService.cpp.
|
delete |

|
defaultnoexcept |

|
nodiscard |
Finds a property identity by normalized name.
Definition at line 154 of file WorkspaceQueryService.cpp.
|
nodiscard |
Projects one statement draft snapshot.
| draftId | Optional draft identifier. |
Definition at line 137 of file WorkspaceQueryService.cpp.

|
nodiscard |
Applies catalog consistency rules to a transaction form selection.
| change | Current selection plus the user-selected field change. |
Definition at line 197 of file WorkspaceQueryService.cpp.

|
nodiscard |
Projects full workspace snapshot for port consumers.
Definition at line 129 of file WorkspaceQueryService.cpp.

