#include <document_state.h>
◆ GetAuditMetadata()
virtual std::map< std::string, std::string > DocumentState::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
◆ GetClassificationResults()
Return a map of classification results.
- Parameters
-
classificationIds | a list of classification IDs. |
- Returns
- a list of classification results.
- Note
- return nullptr if no classification cycle executed.
◆ GetContentFormat()
virtual std::string DocumentState::GetContentFormat |
( |
| ) |
const |
|
pure virtual |
Gets the content format.
- Returns
- content format
◆ GetContentIdentifier()
virtual std::string DocumentState::GetContentIdentifier |
( |
| ) |
const |
|
pure virtual |
Gets the content description that describes the document. example for a file: [path\filename] example for an email: [Subject:Sender].
- Returns
- content description to be applied to the content.
- Note
- This value is used by auditing as a human-readable description of the content
◆ GetContentMetadata()
virtual std::vector< MetadataEntry > DocumentState::GetContentMetadata |
( |
const std::vector< std::string > & | names, |
|
|
const std::vector< std::string > & | namePrefixes ) const |
|
pure virtual |
Get the meta-data items from the content.
- Returns
- the metadata applied to the content.
- See also
- mip::MetadataEntry.
◆ GetContentMetadataVersion()
Gets the highest metadata version supported by the application for the tenant.
- Returns
- Content metadata version. If 0, metadata is un-versioned.
- Note
- If a file format supports multiple versions of metadata, this allows MIP to understand all metadata and report granular metadata changes on a per-version basis.
◆ GetDataState()
virtual DataState DocumentState::GetDataState |
( |
| ) |
const |
|
inlinevirtual |
Gets the state of the content while the application is interacting with it.
- Returns
- State of the content data
◆ GetLastModifiedTime()
virtual std::chrono::time_point< std::chrono::system_clock > DocumentState::GetLastModifiedTime |
( |
| ) |
const |
|
inlinevirtual |
Return a time point to the last time the document was modified.
- Returns
- the last modified time of the documents time point.
◆ GetProtectionDescriptor()
Get the Protection Descriptor.
- Returns
- the Protection Descriptor
The documentation for this class was generated from the following file: