[Zope-Checkins] SVN: Zope/trunk/lib/python/Products/ZCatalog/IZCatalog.py updated interface

Andreas Jung andreas at andreas-jung.com
Wed Jul 21 01:45:38 EDT 2004


Log message for revision 26646:
  updated interface
  


Changed:
  U   Zope/trunk/lib/python/Products/ZCatalog/IZCatalog.py


-=-
Modified: Zope/trunk/lib/python/Products/ZCatalog/IZCatalog.py
===================================================================
--- Zope/trunk/lib/python/Products/ZCatalog/IZCatalog.py	2004-07-21 00:38:02 UTC (rev 26645)
+++ Zope/trunk/lib/python/Products/ZCatalog/IZCatalog.py	2004-07-21 05:45:38 UTC (rev 26646)
@@ -228,9 +228,25 @@
         queries (even across catalogs) and merge and sort the combined results.
         """
 
-    def refreshCatalog():
+    def refreshCatalog(clear=0, REQUEST=None, pghandler=None):
         """Reindex every object we can find, removing the unreachable
-        ones from the index.
+        ones from the index. 
+        
+        clear -- values: 1|0  clear the catalog before reindexing
+
+        REQUEST -- optional REQUEST object
+    
+        pghandler -- optional Progresshandler as defined in ProgressHandler.py 
+        (see also README.txt)     
         """
 
+    def reindexIndex(name, pghandler=None):
+        """Reindex a single index.
+
+        name -- id of index
+
+        pghandler -- optional Progresshandler as defined in ProgressHandler.py 
+        (see also README.txt)     
+        """
+
 __doc__ = IZCatalog.__doc__ + __doc__



More information about the Zope-Checkins mailing list