[Zope3-checkins] CVS: Zope3/src/zope/app/interfaces/container - __init__.py:1.13

Chris McDonough chrism@zope.com
Mon, 23 Jun 2003 18:46:46 -0400


Update of /cvs-repository/Zope3/src/zope/app/interfaces/container
In directory cvs.zope.org:/tmp/cvs-serv30079/src/zope/app/interfaces/container

Modified Files:
	__init__.py 
Log Message:
Merge pluggable_authentication_service-branch to HEAD.

You can now use a pluggable authentication service in place of a simple authentication service.


=== Zope3/src/zope/app/interfaces/container/__init__.py 1.12 => 1.13 ===
--- Zope3/src/zope/app/interfaces/container/__init__.py:1.12	Mon Jun 23 13:17:07 2003
+++ Zope3/src/zope/app/interfaces/container/__init__.py	Mon Jun 23 18:46:15 2003
@@ -91,6 +91,16 @@
 class IContainer(IReadContainer, IWriteContainer):
     """Readable and writable content container."""
 
+class IOrderedContainer(IContainer):
+    """Containers whose contents are maintained in order
+    """
+
+    def updateOrder(order):
+        """Revise the order of keys, replacing the current ordering
+
+        Raise something(XXX) if the set of keys passed in is not complete.
+        """
+
 class IOptionalNamesContainer(IContainer):
     """Containers that will choose names for their items if no names are given
     """