OXY-SYNC-DIRECTORY 1.0
OXY-SYNC-DIRECTORY Library Documentation
Loading...
Searching...
No Matches
oxy::directory::IUpdateDirectory Struct Referenceabstract

Interface for updating the metadata directory. More...

#include <api.hpp>

Public Member Functions

virtual void update (std::string const &identifier, std::vector< std::string > const &oids)=0
 Update the metadata records in the directory for a given customer identifier and a list of metadata IDs (OIDs).
virtual void update_all (std::string const &identifier)=0
 Update all the metadata records in the directory for a given customer identifier.

Detailed Description

Interface for updating the metadata directory.

This interface provides methods for updating the metadata directory based on customer identifier and metada IDs. Implementations of this interface should provide the actual update logic.

Member Function Documentation

◆ update()

virtual void oxy::directory::IUpdateDirectory::update ( std::string const & identifier,
std::vector< std::string > const & oids )
pure virtual

Update the metadata records in the directory for a given customer identifier and a list of metadata IDs (OIDs).

Parameters
identifierThe customer identifier
oidsThe list of metadata IDs to update

◆ update_all()

virtual void oxy::directory::IUpdateDirectory::update_all ( std::string const & identifier)
pure virtual

Update all the metadata records in the directory for a given customer identifier.

Parameters
identifierThe customer identifier