[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/OFS/Container - IContainerLimit.py:1.1.2.5 IOrderedContainer.py:1.1.2.5

Guido van Rossum guido@python.org
Tue, 4 Jun 2002 14:59:50 -0400


Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS/Container
In directory cvs.zope.org:/tmp/cvs-serv1575/lib/python/Zope/App/OFS/Container

Modified Files:
      Tag: Zope-3x-branch
	IContainerLimit.py IOrderedContainer.py 
Log Message:
Whoever (not Jeremy :-) checks in files from Windows with the CRLF
markers still left in, please stop doing this.  It screws up the
checkouts for everyone else (including Windows users who use the
command line cvs tools).  Hint: some wincvs do this.



=== Zope3/lib/python/Zope/App/OFS/Container/IContainerLimit.py 1.1.2.4 => 1.1.2.5 ===
 """
   $Id$
-"""
-
-from Interface import Interface
-
-class IReadContainerLimit(Interface):
-
-
-    def getLimit():
-        """Get the maximal amount of possible objects in this container.
-        """
-
-
-    def isLimitReached():
-        """Returns a boolean describing whether the folder reached its maximal
-           amount of objects."""
-
-class IWriteContainerLimit(Interface):
-
-
-    def setLimit(limit):
-        """Set the maximal amount of possible objects in this container.
-        """
-
-class IContainerLimit(IReadContainerLimit, IWriteContainerLimit):
-    """This interface adds a specific functionality to a container by
-       specifying the limiting amount of objects in a container.
-
-       NOTE: This interface expects that the IReadContainer interface.
-    """
-    
-        
+"""
+
+from Interface import Interface
+
+class IReadContainerLimit(Interface):
+
+
+    def getLimit():
+        """Get the maximal amount of possible objects in this container.
+        """
+
+
+    def isLimitReached():
+        """Returns a boolean describing whether the folder reached its maximal
+           amount of objects."""
+
+class IWriteContainerLimit(Interface):
+
+
+    def setLimit(limit):
+        """Set the maximal amount of possible objects in this container.
+        """
+
+class IContainerLimit(IReadContainerLimit, IWriteContainerLimit):
+    """This interface adds a specific functionality to a container by
+       specifying the limiting amount of objects in a container.
+
+       NOTE: This interface expects that the IReadContainer interface.
+    """
+    
+        


=== Zope3/lib/python/Zope/App/OFS/Container/IOrderedContainer.py 1.1.2.4 => 1.1.2.5 ===
 # 
 ##############################################################################
-"""
+"""
   $Id$
-"""
-
-from Interface import Interface
-
-class IReadOrderedContainer(Interface):
-
-
-    def getObjectPosition(id):
-        """Get the position of the object having the id.
-        """
-    
-class IWriteOrderedContainer(Interface):
-
-
-    def moveObjectToPosition(id, position):
-        """Move an object having id to position.
-        """
-        
-
-    def moveObjectsUp(ids):
-        """Move the specified objects (via ids) one field up.
-        """
-
-    
-    def moveObjectsDown(ids):
-        """Move the specified objects (via ids) one field down.
-        """
-
-
-    def moveObjectsToTop(ids):
-        """Move the specified objects (via ids) to the top.
-        """
-
-
-    def moveObjectsToBottom(ids):
-        """Move the specified objects (via ids) to the bottom.
-        """
-
-
-class IOrderedContainer(IReadOrderedContainer, IWriteOrderedContainer):
-    """This interface adds functionality to containers that will allow
-       sorting of the contained items.
-       
-    """
-
+"""
+
+from Interface import Interface
+
+class IReadOrderedContainer(Interface):
+
+
+    def getObjectPosition(id):
+        """Get the position of the object having the id.
+        """
+    
+class IWriteOrderedContainer(Interface):
+
+
+    def moveObjectToPosition(id, position):
+        """Move an object having id to position.
+        """
+        
+
+    def moveObjectsUp(ids):
+        """Move the specified objects (via ids) one field up.
+        """
+
+    
+    def moveObjectsDown(ids):
+        """Move the specified objects (via ids) one field down.
+        """
+
+
+    def moveObjectsToTop(ids):
+        """Move the specified objects (via ids) to the top.
+        """
+
+
+    def moveObjectsToBottom(ids):
+        """Move the specified objects (via ids) to the bottom.
+        """
+
+
+class IOrderedContainer(IReadOrderedContainer, IWriteOrderedContainer):
+    """This interface adds functionality to containers that will allow
+       sorting of the contained items.
+       
+    """
+