[Zope-Checkins] CVS: Zope/lib/python/Products/ZCatalog - IZCatalog.py:1.4.2.3

Sidnei da Silva sidnei@x3ng.com.br
Mon, 9 Jun 2003 15:52:38 -0400


Update of /cvs-repository/Zope/lib/python/Products/ZCatalog
In directory cvs.zope.org:/tmp/cvs-serv5958

Modified Files:
      Tag: Zope-2_6-branch
	IZCatalog.py 
Log Message:
Updating IZCatalog interface, at Shane's request

=== Zope/lib/python/Products/ZCatalog/IZCatalog.py 1.4.2.2 => 1.4.2.3 ===
--- Zope/lib/python/Products/ZCatalog/IZCatalog.py:1.4.2.2	Tue Dec 10 11:05:55 2002
+++ Zope/lib/python/Products/ZCatalog/IZCatalog.py	Mon Jun  9 15:52:38 2003
@@ -161,7 +161,7 @@
 
           sort_order -- You can specify 'reverse' or 'descending'.
           Default behavior is to sort ascending.
-          
+
           sort_limit -- An optimization hint to tell the catalog how many
           results you are really interested in. Results in faster queries
           that use less memory.
@@ -196,5 +196,10 @@
     def __call__(REQUEST=None, **kw):
         """Search the catalog, the same way as 'searchResults'.
         """
-        
+
+    def refreshCatalog():
+        """Reindex every object we can find, removing the unreachable
+        ones from the index.
+        """
+
 __doc__ = IZCatalog.__doc__ + __doc__