Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IAnnotationsService

Class for working with IAnnotations and IMarkupSets

Hierarchy

  • IAnnotationsService

Index

Methods

getAnnotationVisibility

getAnnotationVisibilityFromSession

getDefaultMarkupSetData

  • Retrieves the default IMarkupSet the user has access to based on the Order field

    Returns Promise<IMarkupSet>

    Promise that resolves to the default markup set

getMarkupSetAnnotations

getMarkupSetData

  • getMarkupSetData(refreshCache?: boolean): Promise<IMarkupSet[]>
  • Retrieves the available IMarkupSets the user has access to in the workspace

    Parameters

    • Optional refreshCache: boolean

    Returns Promise<IMarkupSet[]>

    Promise that resolves to an array of markup sets

getUserDefaultRedactionText

  • getUserDefaultRedactionText(): Promise<string>
  • Retrieves the default redaction text for the user

    Returns Promise<string>

    Promise that resolves to the default redaction text

getUserDefaultRedactionTextSize

setAnnotationVisibility

  • Sets the annotation visibility in sessionStorage and locally

    Parameters

    Returns void

setUserDefaultRedactionText

  • setUserDefaultRedactionText(text: string): void
  • Updates the user's default redaction text

    description

    This will make a "fire-and-forget" call to persist the user's default redaction text to the database

    Parameters

    • text: string

      New default redaction text

    Returns void

setUserDefaultRedactionTextSize