[Checkins] SVN: zopyx.versioning/trunk/zopyx/versioning/interfaces.py added IVersionID

Andreas Jung andreas at andreas-jung.com
Fri Jul 2 08:53:39 EDT 2010


Log message for revision 114106:
  added IVersionID
  

Changed:
  U   zopyx.versioning/trunk/zopyx/versioning/interfaces.py

-=-
Modified: zopyx.versioning/trunk/zopyx/versioning/interfaces.py
===================================================================
--- zopyx.versioning/trunk/zopyx/versioning/interfaces.py	2010-07-02 12:37:03 UTC (rev 114105)
+++ zopyx.versioning/trunk/zopyx/versioning/interfaces.py	2010-07-02 12:53:38 UTC (rev 114106)
@@ -33,6 +33,11 @@
     # about items to be restored are part of the information stored in the
     # storage backend.
 
+class IVersionID(Interface):
+    
+    def getID():
+        """ Return a unique and stable ID for the object to be versioned """
+
 class IVersionStorage(Interface):
 
     # methods used for IVersionSupport



More information about the checkins mailing list