[Zope3-checkins] CVS: Zope3/src/zope/app/component - globalinterfaceservice.py:1.7

Philipp von Weitershausen philikon@philikon.de
Wed, 9 Apr 2003 12:35:07 -0400


Update of /cvs-repository/Zope3/src/zope/app/component
In directory cvs.zope.org:/tmp/cvs-serv31319/component

Modified Files:
	globalinterfaceservice.py 
Log Message:
Moved IInterfaceService to its rightful place
(zope.app.interfaces.component.interfacesservice).


=== Zope3/src/zope/app/component/globalinterfaceservice.py 1.6 => 1.7 ===
--- Zope3/src/zope/app/component/globalinterfaceservice.py:1.6	Fri Mar 21 16:03:01 2003
+++ Zope3/src/zope/app/component/globalinterfaceservice.py	Wed Apr  9 12:35:06 2003
@@ -15,43 +15,9 @@
 $Id$
 """
 
-from zope.interface import Interface
 from zope.component.exceptions import ComponentLookupError
 
-class IInterfaceService(Interface):
-    """Service that keeps track of used interfaces
-    """
-
-    def getInterface(id):
-        """Return the interface registered for the given id
-
-        A ComponentLookupError is raised if the interface can't be found.
-        """
-
-    def queryInterface(id, default=None):
-        """Return the interface registered for the given id
-
-        The default is returned if the interface can't be found.
-        """
-
-    def searchInterface(search_string='', base=None):
-        """Return the interfaces that match the search criteria
-
-        If a search string is given, only interfaces that contain the
-        string in their documentation will be returned.
-
-        If base is given, only interfaces that equal or extend base
-        will be returned.
-
-        """
-
-    def searchInterfaceIds(search_string='', base=None):
-        """Return the ids of the interfaces that match the search criteria.
-
-        See searchInterface
-
-        """
-
+from zope.app.interfaces.component.interfaceservice import IInterfaceService
 from zope.app.interfaces.component.globalinterfaceservice \
         import IGlobalInterfaceService