Back to index

plone3  3.1.7
_tools.py
Go to the documentation of this file.
00001 ##############################################################################
00002 #
00003 # Copyright (c) 2005 Zope Corporation and Contributors. All Rights Reserved.
00004 #
00005 # This software is subject to the provisions of the Zope Public License,
00006 # Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.
00007 # THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
00008 # WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
00009 # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
00010 # FOR A PARTICULAR PURPOSE.
00011 #
00012 ##############################################################################
00013 """ CMFDefault tool interfaces.
00014 
00015 $Id: _tools.py 38590 2005-09-24 15:24:32Z yuppie $
00016 """
00017 
00018 from Products.CMFCore.interfaces import IMembershipTool as BaseInterface
00019 
00020 
00021 class IMembershipTool(BaseInterface):
00022 
00023     """ Declare product-specific APIs for CMFDefault's tool.
00024     """
00025 
00026     def setMembersFolderById(id=''):
00027         """ Set the members folder object by its id.
00028 
00029         The members folder has to be in the same container as the membership
00030         tool. id is the id of an existing folder. If id is empty, member areas
00031         are disabled.
00032 
00033         Permission -- Manage portal
00034         """