1#ifndef UPE_CORE_API_APPLICATION_ACTION_STATE_H_
2#define UPE_CORE_API_APPLICATION_ACTION_STATE_H_
68 return std::vector<std::pair<std::string, std::string>>();
A file containing the Action base class and the ActionType enumerator.
ActionType
Different action types.
Definition action.h:46
LabelState
Definition application_action_state.h:17
constexpr const int kTimeZoneOffsetLocalTime
Return from GetContentTimeZoneUtcOffset() when the machine's local time is to be used as the content'...
Definition application_action_state.h:26
Definition application_action_state.h:28
virtual std::pair< bool, std::string > IsDowngradeJustified() const =0
Implementation should pass if justification to downgrade an existing label was given.
virtual ActionType GetSupportedActions() const =0
Gets a masked enum describing all the supported action types.
virtual int GetContentTimeZoneUtcOffset() const
Return the content's time zone as an offset from UTC, in seconds, or kTimeZoneOffsetLocalTime to use ...
Definition application_action_state.h:95
virtual AssignmentMethod GetNewLabelAssignmentMethod() const =0
Get the new label's assignment method.
virtual std::vector< std::pair< std::string, std::string > > GetNewLabelExtendedProperties() const
Return new label's extended properties.
Definition application_action_state.h:67
virtual std::shared_ptr< Label > GetNewLabel() const =0
Gets the sensitivity label ID that should be applied on the document.
virtual bool IsRecommendationEnabled() const =0
Get a bool that signifying recommend action will return. by default should be true unless user specif...
virtual LabelState GetNewLabelState() const =0
Gets the new label state.
A file Containing the common types used by the upe, file and protection modules.
AssignmentMethod
The assignment method of the label on the document. Whether the Assignment of the label was done auto...
Definition common_types.h:75
This file contains the Label class.