[Zope3-checkins] CVS: Zope3/src/zope/app/interfaces/services - folder.py:1.2
Jim Fulton
jim@zope.com
Sun, 23 Mar 2003 12:14:12 -0500
Update of /cvs-repository/Zope3/src/zope/app/interfaces/services
In directory cvs.zope.org:/tmp/cvs-serv5993/src/zope/app/interfaces/services
Modified Files:
folder.py
Log Message:
added a site-management folder api to get the conguration manager
=== Zope3/src/zope/app/interfaces/services/folder.py 1.1 => 1.2 ===
--- Zope3/src/zope/app/interfaces/services/folder.py:1.1 Sun Mar 23 11:45:44 2003
+++ Zope3/src/zope/app/interfaces/services/folder.py Sun Mar 23 12:13:42 2003
@@ -30,6 +30,17 @@
"""
+ def getConfigurationManager():
+ """get a configuration manager
+
+ Find a configuration manager. Clients can get the
+ configuration manager without knowing it's name. Normally,
+ folders have one configuration manager. If there is more than
+ one, this method willl return one; which one is undefined.
+
+ An error is raised if no configuration manager can be found.
+ """
+
class ISiteManagementFolderAdding(IAdding):
"""A special package that is not content but is similar to a folder.