1 from zope
.interface
import Interface
3 class IContentHistory(Interface
):
5 Utility to manage historical entries of a content
10 Return historical entries of the content
13 def getHistoricalRevisionByKey(key
) :
15 Return the object revision at state targeted by key.
18 def compare(leftkey
, rightkey
) :
20 Return formated comparision of 2 revisions of content
25 Restore the content by editing chosen versionned attributes.
26 example: for a Document, only the textual content will be restored.
27 Metadata or talkback stay unchanged.