Interface DocumentContentInterface

A Document content.

The document content is retrieved from an id-card request, please refer to IdCardGetterInterface and InstanceMetadataInterface.


Data Retrievers

interface DocumentContentInterface {
    getDocumentContent(): tDocContent;
    getDocumentId(): string;
    getDocumentSecurityTags(): string[];
    getDocumentType(): MetadataDocumentType;
    getNonIndexedContent(): string[];
}

Methods

  • Gets the id of the document.

    Returns string

    The id of the document.

  • Gets the security tags of the document.

    Please refer to DataSessionInterface for an explanation of the tag system.

    Returns string[]

    The security tags of the document.

  • Gets the non-indexed content of the document.

    Tells the fields of the instance metadata document that are either:

    The name of the attribute is the path (concatenated with .) and optionally a number (if the type is an array), or gt, gte, lt, lte for range values.

    Such metadata cannot be used in filters.

    Returns string[]

    The name of metadata than cannot be used in filters.