Revert will revert all changes. Undo will revert a set of changes (the most recent group) but that won’t help unless the most recent group is only the delete action he does not want.
On 2016-03-21, 1:23 PM, "webobjects-dev-bounces+chill=gevityinc....@lists.apple.com on behalf of Klaus Berkling" <webobjects-dev-bounces+chill=gevityinc....@lists.apple.com on behalf of webobje...@berkling.us> wrote: > >> On Mar 21, 2016, at 1:17 PM, OC <o...@ocs.cz> wrote: >> >> Hello there, >> >> is there a trick to “undelete” an object in editing context? >> > >Does EOEditingContext.revert() do what you want? > >http://wocommunity.org/documents/javadoc/WebObjects/5.4.2/index.html?com%252Fwebobjects%252Feocontrol%252FEOSortOrdering.html > >Not sure if EOEditingContext.undo() will do it > >http://wocommunity.org/documents/javadoc/WebObjects/5.4.2/index.html?com%252Fwebobjects%252Feocontrol%252FEOSortOrdering.html > > > _______________________________________________ >Do not post admin requests to the list. They will be ignored. >Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) >Help/Unsubscribe/Update your Subscription: >https://lists.apple.com/mailman/options/webobjects-dev/chill%40gevityinc.com > >This email sent to ch...@gevityinc.com _______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com