Interface ChangeContext

    • Method Detail

      • dontBumpLastUpdatedOn

        void dontBumpLastUpdatedOn()
        Don't bump the value of Change.getLastUpdatedOn().

        If called, don't bump the timestamp before storing to ReviewDb. Only has an effect in ReviewDb, and the only usage should be to match the behavior of NoteDb. Specifically, in NoteDb the timestamp is updated if and only if the change meta graph is updated, and is not updated when only drafts are modified.

      • deleteChange

        void deleteChange()
        Instruct BatchUpdate to delete this change.

        If called, all other updates are ignored.

      • getChange

        default Change getChange()
        Returns:
        change corresponding to getNotes().