32#ifndef API_MIP_UPE_EXECUTION_STATE_H_
33#define API_MIP_UPE_EXECUTION_STATE_H_
57 inline std::string
Sender() {
return "Sender"; }
130 return std::vector<std::pair<std::string, std::string>>();
140 const std::vector<std::string>& names,
141 const std::vector<std::string>& namePrefixes)
const = 0;
186 const std::vector<std::shared_ptr<ClassificationRequest>>& )
const {
202 return std::map<std::string, std::string>();
A file containing the Action base class and the ActionType enumerator.
ActionType
Different action types.
Interface for all the state needed to execute the engine.
virtual std::shared_ptr< ClassificationResults > GetClassificationResults(const std::vector< std::shared_ptr< ClassificationRequest > > &) const
Return a map of classification results.
virtual std::shared_ptr< Label > GetNewLabel() const =0
Gets the sensitivity label ID that should be applied on the document.
virtual std::vector< std::pair< std::string, std::string > > GetNewLabelExtendedProperties() const
Return new label's extended properties.
virtual std::pair< bool, std::string > IsDowngradeJustified() const =0
Implementation should pass if justification to downgrade an existing label was given.
virtual std::string GetApplicationScenarioId() const
Return an identifier which correlates application events with the corresponding audit or protection s...
virtual std::shared_ptr< ProtectionDescriptor > GetProtectionDescriptor() const =0
Get the Protection Descriptor.
virtual MetadataVersion GetContentMetadataVersion() const
Gets the highest metadata version supported by the application for the tenant.
virtual std::string GetContentFormat() const =0
Gets the content format.
virtual ActionType GetSupportedActions() const =0
Gets a masked enum describing all the supported action types.
virtual DataState GetDataState() const
Gets the state of the content while the application is interacting with it.
virtual AssignmentMethod GetNewLabelAssignmentMethod() const =0
Get the new label's assignment method.
virtual std::vector< MetadataEntry > GetContentMetadata(const std::vector< std::string > &names, const std::vector< std::string > &namePrefixes) const =0
Get the meta-data items from the content.
virtual std::string GetContentIdentifier() const =0
Gets the content description that describes the document.
virtual std::map< std::string, std::string > GetAuditMetadata() const
Return a map of application specific audit key-value pairs.
This file contains the ClassificationRequest class.
This file contains the ClassificationResult class.
A file Containing the common types used by the upe, file and protection modules.
AssignmentMethod
The assignment method of the label on the document.
DataState
Defines what state of the data is the application acting upon.
@ USE
Active data under constant change stored physically in databases/file/warehouses etc.
This file contains the Label class.
This file contains the MetadataEntry class.
Defines ProtectionDescriptor interface.