[Zope-CVS] SVN: zversioning/trunk/src/versioning/interfaces.py
updated IIntrospectableRepository
Grégoire Weber
zope.org at incept.ch
Wed Oct 13 19:26:34 EDT 2004
Log message for revision 28143:
updated IIntrospectableRepository
Changed:
U zversioning/trunk/src/versioning/interfaces.py
-=-
Modified: zversioning/trunk/src/versioning/interfaces.py
===================================================================
--- zversioning/trunk/src/versioning/interfaces.py 2004-10-13 23:25:30 UTC (rev 28142)
+++ zversioning/trunk/src/versioning/interfaces.py 2004-10-13 23:26:32 UTC (rev 28143)
@@ -138,7 +138,11 @@
"""Additional methods providing more information versioned objects.
"""
- def getObject(obj, selector):
+ def getTicket(obj):
+ """Returns a unique ticket that remains stable across time.
+ """
+
+ def getVersion(obj, selector):
"""Returns the selected version of an object.
This method does not overwrite 'obj' (like 'revertToVersion'
@@ -146,18 +150,9 @@
XXX How exactly? Instead it returns the version as new object.
"""
- def getHistory(obj):
- """Returns the history of the selected object
- """
-
-
- # These are YAGNI
- def getVersionHistory(obj):
+ def listVersions(obj):
"""Returns all versions of the given object.
"""
- def getMetadataHistory(obj):
- """Returns the metadata of all versions of the given object.
- """
class IVersionableAspects(Interface) :
More information about the Zope-CVS
mailing list