Options
All
  • Public
  • Public/Protected
  • All
Menu

The Document definition for a JournalEntryPage. Defines the data schema and common behaviours for a JournalEntryPage which are shared between both client and server.

mixes

JournalEntryPageData

memberof

documents

param data

Initial data from which to construct the JournalEntryPage.

param context

Construction context options.

Hierarchy

Index

Constructors

Methods

Properties

Accessors

Constructors

Methods

  • getUserLevel(user: any): any
  • Get the permission level that a specific User has over this Document, a value in CONST.DOCUMENT_OWNERSHIP_LEVELS.

    Parameters

    • user: any

      The User being tested

    Returns any

    A numeric permission level from CONST.DOCUMENT_OWNERSHIP_LEVELS or null

Properties

metadata: any = ...

Default metadata which applies to each instance of this Document type.

Accessors

  • get TYPES(): string[]
  • The allowed set of JournalEntryPageData types which may exist.

    Returns string[]