2046ab44deb04f4842cfe4555e3d637e52359fbf
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.