[Zope-Checkins] CVS: Zope/lib/python/Products/OFSP/help - ObjectManager.py:1.12

Casey Duncan casey@zope.com
Wed, 27 Mar 2002 16:51:06 -0500


Update of /cvs-repository/Zope/lib/python/Products/OFSP/help
In directory cvs.zope.org:/tmp/cvs-serv10546/lib/python/Products/OFSP/help

Modified Files:
	ObjectManager.py 
Log Message:
Merging death (to index_html). Sorry about the previous noise. Note that the
new settings tab will have more stuff under it before 2.6 ships.


=== Zope/lib/python/Products/OFSP/help/ObjectManager.py 1.11 => 1.12 ===
         """
         Returns a child object given a child id. If there is no child
-        with the given id, returns None. This method makes it easy to
-        refer to children that have id with file extensions. For
+        with the given id, a KeyError is raised. This method makes it easy 
+        to refer to children that have id with file extensions. For
         example::
 
           page=folder['index.html']
@@ -147,4 +147,24 @@
         necessary.
 
         Permission -- 'Access contents information'
+        """
+        
+    def setBrowserDefaultId(id='', acquire=0):
+        """
+        Sets the id of the object or method used as the default method when
+        the object manager is published. If acquire is set then the default
+        method id will be acquired from the parent container.
+        
+        Permission -- 'Manage folderish settings'
+        """
+        
+    def getBrowserDefaultId(acquire=0):
+        """
+        Returns the id of the object or method used as the default when the
+        object manager is published. By default, this setting is acquired. If
+        the acquire argument is true, then the return value will be acquired 
+        from the parent if it is not set locally. Otherwise, None is returned 
+        if the default id is not set on this object manager.
+
+        Permission -- 'View'
         """