Class SituationFeedbackDAO

Data access for [[OnmsSituationFeedback]] objects.

Hierarchy

  • BaseDAO
    • SituationFeedbackDAO

Constructors

Accessors

Methods

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

    Parameters

    • data: any
    • Optionalstatus: number

    Returns number

  • Retrieve the tags for a given prefix

    Parameters

    • prefix: string

      the prefix associated with the tags

    Returns Promise<string[]>

  • Convert the given value to a date, or undefined if it cannot be converted.

    Parameters

    • from: any

    Returns Moment

    use Util.toDate instead.

  • Convert the given value to a number, or undefined if it cannot be converted.

    Parameters

    • from: any

    Returns number

    use Util.toNumber instead.

  • Whether or not to use JSON when making ReST requests.

    Returns boolean