Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SituationFeedbackDAO

Data access for OnmsSituationFeedback objects.

Hierarchy

Index

Constructors

constructor

Accessors

http

server

Methods

Protected getCount

  • getCount(data: any): number
  • A convenience method to make it easy for implementers to extract the count (or totalCount) values from response data.

    Parameters

    • data: any

    Returns number

getData

getFeedback

getTags

  • getTags(prefix: string): Promise<string[]>
  • Retrieve the tags for a given prefix

    Parameters

    • prefix: string

      the prefix associated with the tags

    Returns Promise<string[]>

Protected onSetServer

saveFeedback

Protected toDate

  • toDate(from: any): Moment | undefined
  • Convert the given value to a date, or undefined if it cannot be converted.

    Parameters

    • from: any

    Returns Moment | undefined

Protected toNumber

  • toNumber(from: any): number | undefined
  • Convert the given value to a number, or undefined if it cannot be converted.

    Parameters

    • from: any

    Returns number | undefined

Protected useJson

  • useJson(): boolean

Generated using TypeDoc