77 virtual void createNew(
const std::string& filePath) = 0;
Declares deleted-id summaries reported after workspace mutations.
Internal mutable workspace session state for application services.
std::function< void(const core::domain::DeletionImpact &)> DeletionImpactCallback
virtual ~IStorageManager()=default
virtual void setAtomicStoreLoad(AtomicStoreLoad loadFn)=0
Configure the atomic load callback.
virtual void saveAs(const std::string &filePath, const core::application::workspace::WorkspaceSessionState &document)=0
Save the current application state to a specific file path.
virtual std::optional< std::string > loadLatestPath() const =0
Load the latest known path.
virtual void createNew(const std::string &filePath)=0
Create a new storage target.
virtual core::application::workspace::WorkspaceSessionState loadFrom(const std::string &filePath)=0
Load an application state from a file path.
std::function< core::application::workspace::WorkspaceSessionState(const std::string &dbPath)> AtomicStoreLoad
virtual const std::string & currentPath() const noexcept=0
Get the current storage path.
virtual void save(const core::application::workspace::WorkspaceSessionState &document)=0
Save the current application state.
std::function< core::domain::DeletionImpact(const std::string &dbPath, const core::application::workspace::WorkspaceSessionState &document)> AtomicStoreSave
Destroy the storage manager port.
virtual void setAtomicStoreSave(AtomicStoreSave saveFn)=0
Configure the atomic save callback.
virtual void setDeletionImpactCallback(DeletionImpactCallback cb)=0
Configure the deletion impact callback.
Lists entity identifiers removed by cascading workspace operations.