Represents a document in a Laserfiche repository.

interface IDocument {
    creationTime?: Date;
    creator?: string;
    electronicDocumentSize?: number;
    entryType?: LfRepositoryClientV2.EntryType;
    extension?: string;
    fields?: LfRepositoryClientV2.Field[];
    folderPath?: string;
    fullPath?: string;
    id?: number;
    isCheckedOut?: boolean;
    isContainer?: boolean;
    isElectronicDocument?: boolean;
    isLeaf?: boolean;
    isRecord?: boolean;
    isUnderVersionControl?: boolean;
    lastModifiedTime?: Date;
    mimeType?: string;
    name?: string;
    pageCount?: number;
    parentId?: number;
    rowNumber?: number;
    templateFieldNames?: string[];
    templateId?: number;
    templateName?: string;
    volumeName?: string;
}

Hierarchy (view full)

Implemented by

Properties

creationTime?: Date

The creation time of the entry.

creator?: string

The name of the user that created this entry.

electronicDocumentSize?: number

The size of the electronic document attached to the represented document, if there is one, in bytes.

The type of the entry.

extension?: string

The extension for the document.

The fields assigned to this entry.

folderPath?: string

The path in the Laserfiche repository to the parent folder.

fullPath?: string

The full path in the Laserfiche repository to the entry.

id?: number

The ID of the entry.

isCheckedOut?: boolean

A boolean indicating if the represented document is checked out.

isContainer?: boolean

A boolean indicating if this entry is a container object; it can have other entries as children.

isElectronicDocument?: boolean

A boolean indicating if there is an electronic document attached to the represented document.

isLeaf?: boolean

A boolean indicating if this entry is a leaf object; it cannot have other entries as children.

isRecord?: boolean

A boolean indicating if the represented document is a record.

isUnderVersionControl?: boolean

A boolean indicating if the represented document is under version control.

lastModifiedTime?: Date

The last modification time of the entry.

mimeType?: string

The MIME type of the electronic document.

name?: string

The name of the entry.

pageCount?: number

The page count of the represented document.

parentId?: number

The ID of the parent entry.

rowNumber?: number

Row number assigned to this entry in the listing.

templateFieldNames?: string[]

The names of the fields assigned to the template assigned to this entry.

templateId?: number

The id of the template assigned to this entry.

templateName?: string

The name of the template assigned to this entry.

volumeName?: string

The name of the volume that this entry is associated with.