Base class for Deputy cases. Extended into DeputyCasePage to refer to an active case page. Used to represent case pages in a more serializable way.

Hierarchy (view full)

Constructors

Properties

Accessors

Methods

Constructors

Properties

pageId: number

The page ID of the case page.

title: Title

Title of the case page.

Accessors

Methods

  • Gets the case name by parsing the title.

    Returns string

    The case name, or null if the title was not a valid case page

  • Gets the case name by parsing the title.

    Parameters

    • Optionaltitle: TitleLike

      The title of the case page

    Returns string

    The case name, or null if the title was not a valid case page

  • Checks if the current page (or a supplied page) is a case page (subpage of the root page).

    Parameters

    • Optionaltitle: TitleLike

      The title of the page to check.

    Returns boolean

    true if the page is a case page.