[Checkins] SVN: zopyx.versioning/trunk/zopyx/versioning/interfaces.py streamlined api

Andreas Jung andreas at andreas-jung.com
Wed Jun 30 10:02:20 EDT 2010


Log message for revision 114015:
  streamlined api
  

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-06-30 12:47:44 UTC (rev 114014)
+++ zopyx.versioning/trunk/zopyx/versioning/interfaces.py	2010-06-30 14:02:20 UTC (rev 114015)
@@ -51,13 +51,16 @@
     def retrieve(id, revision):
         """ Return 'version_data' for a given 'id' and 'revision' """
 
+    def remove(id):
+        """ Remove all revisions for a given object 'id' """
+
     def has_revision(id, revision):
         """ Check if there is a revison 'revision' for a given object 'id' """
 
     def remove_revision(id, revision):
         """ Remove a particular 'revision' for a given object 'id' """
 
-    def remove_all(id):
+    def remove(id):
         """ Remove all revisions for a given object 'id' """
 
     def list_revisions(id):



More information about the checkins mailing list