The recently viewed records (currently returns up to 30). The result of calling [[BaseRecord.recentRecords]] or [[User.recentRecords]]. You can then [[get]] any of their [[BaseRecord]]s and perform relevant functions.

Hierarchy

  • RecentRecords

Constructors

Methods

  • This function adds a record to the recent records list. Returns true if the list actually changed.

    Parameters

    Returns boolean

    Example

    TODO
    
  • Removes all recent records from the recent records list.

    Returns void

    Example

    TODO
    
  • Gets an individual recent record by index in the recent records list.The most recent record is at index 0. The oldest recent record is at size() - 1.

    Parameters

    • index: number

      TODO

    Returns BaseRecord<any>

    Example

    TODO
    
  • Returns whether the list empty

    Returns boolean

    Example

    TODO
    
  • This function removes a record from the recent records list given the id of the record or any form entry belonging to the record. The result of the function is true if a matching record was found.

    Parameters

    • baseRecord: BaseRecord<any>

      BaseRecord to be removed.

    Returns boolean

    Example

    TODO
    
  • Gets the number of records in the recent records list

    Returns number

    Example

    TODO
    

Generated using TypeDoc