|
FOSSredder 0.5.0
|
Implements import-draft ID resolution and catalog-state merge helpers. More...
#include "core/pch.h"#include "core/application/import/draft/DraftMatcher.h"#include "core/domain/policies/DraftMatchingPolicy.h"
Go to the source code of this file.
Namespaces | |
| namespace | core |
| namespace | core::application |
| namespace | core::application::importing |
| namespace | core::application::importing::draft |
Functions | |
| std::string | core::application::importing::draft::resolveActorId (const core::domain::catalog::WorkspaceCatalog &state, const std::string &text) |
| Resolves the best matching actor identifier for the provided text. | |
| std::string | core::application::importing::draft::resolveContractId (const core::domain::catalog::WorkspaceCatalog &state, const std::string &text) |
| Resolves the best matching contract identifier for the provided text. | |
| bool | core::application::importing::draft::contractIsFullyAllocatable (const core::domain::catalog::WorkspaceCatalog &state, const std::string &contractId) |
| Checks whether all transactions assigned to a contract are allocatable. | |
| core::domain::catalog::WorkspaceCatalog | core::application::importing::draft::mergeCatalogState (core::domain::catalog::WorkspaceCatalog primary, const core::domain::catalog::WorkspaceCatalog &secondary) |
| Merges two catalog states by keeping populated primary collections and filling gaps from a secondary state. | |
Implements import-draft ID resolution and catalog-state merge helpers.
Definition in file DraftMatcherResolution.cpp.