主权项 |
1. A method for recovering a deleted calendar, the method comprising, at a computer system:
storing a first calendar of a first user including a plurality of event records in a database system, each of the plurality of event records comprising information about an event location, event attendees, and an event time; receiving a delete command to delete at least a portion of the first calendar; marking, in the database system, the at least a portion of the first calendar as deleted using one or more flags such that the at least a portion of the first calendar is not accessible to the first user; after marking the at least a portion of the first calendar as deleted:
receiving an update to a first event record of the at least a portion of the first calendar marked as deleted, the update received in response to a change made to a second event record of a second calendar of a second user, wherein the second event record corresponds to the first event record; andchanging the information of the first event record using the update such that the first event record includes changed information; receiving a recover command to recover the at least a portion of the first calendar; changing the one or more flags to indicate that the at least a portion of the first calendar is not deleted; and in response to a request to view the first event record, providing the first event record to the first user with the changed information. |