Microsoft Information Protection (MIP) SDK for C++: Reference 1.15
Doxygen-generated documentation for MIP SDK written in C++
Loading...
Searching...
No Matches
FileExecutionState Class Reference

#include <src/api/mip/file/file_execution_state.h>

Public Member Functions

virtual const std::string GetApplicationScenarioId () const
 Return an identifier which correlates application events with the corresponding protection service REST requests.
 
virtual std::map< std::string, std::string > GetAuditMetadata () const
 Return a map of application specific audit key-value pairs.
 
virtual std::shared_ptr< ClassificationResultsGetClassificationResults (const std::shared_ptr< FileHandler > &, const std::vector< std::shared_ptr< ClassificationRequest > > &) const
 Return a map of classification results.
 
virtual DataState GetDataState () const
 Gets the state of the content while the application is interacting with it.
 

Detailed Description

Definition at line 44 of file file_execution_state.h.

Member Function Documentation

◆ GetApplicationScenarioId()

virtual const std::string FileExecutionState::GetApplicationScenarioId ( ) const
inlinevirtual

Return an identifier which correlates application events with the corresponding protection service REST requests.

Returns
An identifier (usually specified as a GUID)

Definition at line 87 of file file_execution_state.h.

87 {
88 return std::string();
89 }

◆ GetAuditMetadata()

virtual std::map< std::string, std::string > FileExecutionState::GetAuditMetadata ( ) const
inlinevirtual

Return a map of application specific audit key-value pairs.

Returns
a list of application specific audit metadata
Note
Registered Key:Value pairs Sender: Email Id for the sender Recipients: Represents a JSON array of recipients for an email LastModifiedBy: Email Id for the user who last modified the content LastModifiedDate: Date the content was last modified

Definition at line 78 of file file_execution_state.h.

78 {
79 return std::map<std::string, std::string>();
80 }

◆ GetClassificationResults()

virtual std::shared_ptr< ClassificationResults > FileExecutionState::GetClassificationResults ( const std::shared_ptr< FileHandler > & ,
const std::vector< std::shared_ptr< ClassificationRequest > > &  ) const
inlinevirtual

Return a map of classification results.

Parameters
fileHandler- the file handler of the used file
classificationIdsa list of classification IDs.
Returns
a list of classification results.

Definition at line 61 of file file_execution_state.h.

63 {
64 return nullptr;
65 }

◆ GetDataState()

virtual DataState FileExecutionState::GetDataState ( ) const
inlinevirtual

Gets the state of the content while the application is interacting with it.

Returns
State of the content data

Definition at line 51 of file file_execution_state.h.

51 {
52 return DataState::REST;
53 }
@ REST
Inactive data stored physically in databases/file/warehouses.

References REST.


The documentation for this class was generated from the following file: