Bluestep JS Documentation
    Preparing search index...

    Class RecentRecords

    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.

    Index

    Constructors

    Methods

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

      Parameters

      Returns boolean

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

      Returns void

      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>

      TODO
      
    • Returns whether the list empty

      Returns boolean

      TODO
      
    • A [[Java.Optional]] of the most recent record.

      Returns Optional<BaseRecord<any>>

      TODO
      
    • An [[Java.Optional]] of the last recent record.

      Returns Optional<BaseRecord<any>>

      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

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

      Returns number

      TODO