X-Git-Url: https://scm.cri.minesparis.psl.eu/git/Plinn.git/blobdiff_plain/3c4367d8e03450e9a73e61f4247145d2b6c86a33..959d888c17d1403d2eeecc19bc4b5e2c8d1debf6:/interfaces/ContentHistory.py?ds=sidebyside diff --git a/interfaces/ContentHistory.py b/interfaces/ContentHistory.py deleted file mode 100755 index 2046ab4..0000000 --- a/interfaces/ContentHistory.py +++ /dev/null @@ -1,28 +0,0 @@ -from zope.interface import Interface - -class IContentHistory(Interface): - """ - Utility to manage historical entries of a content - """ - - def listEntries() : - """ - Return historical entries of the content - """ - - def getHistoricalRevisionByKey(key) : - """ - Return the object revision at state targeted by key. - """ - - def compare(leftkey, rightkey) : - """ - Return formated comparision of 2 revisions of content - """ - - def restore(key) : - """ - Restore the content by editing chosen versionned attributes. - example: for a Document, only the textual content will be restored. - Metadata or talkback stay unchanged. - """ \ No newline at end of file