[Zope3-checkins]
SVN: Zope3/branches/jim-index/src/zope/app/catalog/interfaces.py
Removed ICatalogView, added updateObject(obj) to ICatalogEdit.
Gintautas Miliauskas
gintas at pov.lt
Sat Jun 12 06:50:31 EDT 2004
Log message for revision 25382:
Removed ICatalogView, added updateObject(obj) to ICatalogEdit.
-=-
Modified: Zope3/branches/jim-index/src/zope/app/catalog/interfaces.py
===================================================================
--- Zope3/branches/jim-index/src/zope/app/catalog/interfaces.py 2004-06-12 10:45:30 UTC (rev 25381)
+++ Zope3/branches/jim-index/src/zope/app/catalog/interfaces.py 2004-06-12 10:50:31 UTC (rev 25382)
@@ -17,14 +17,6 @@
"""
from zope.interface import Interface
-class ICatalogView(Interface):
- """Provides information about a catalog."""
-
- def getSubscribed():
- """Return 'True', if the catalog is subscribed to events, otherwise
- 'False'."""
-
-
class ICatalogQuery(Interface):
"Provides Catalog Queries"
@@ -35,23 +27,16 @@
class ICatalogEdit(Interface):
"""Allows one to manipulate the Catalog information."""
- def clearIndexes():
+ def clearIndexes():
"""Remove all index data."""
- def updateIndexes():
+ def updateIndexes():
"""Reindex all objects."""
- def subscribeEvents(update=True):
- """Start listening for events.
+ def updateObject(obj):
+ """Reindex the object in all indexes."""
- Starts listening to events for possible index updating. If 'update' is
- 'True', always reindex all objects.
- """
- def unsubscribeEvents():
- """Stop listening to events."""
-
-
-class ICatalog(ICatalogView, ICatalogQuery, ICatalogEdit):
+class ICatalog(ICatalogQuery, ICatalogEdit):
"""Marker to describe a catalog in content space."""
More information about the Zope3-Checkins
mailing list