Back to index

plone3  3.1.7
interfaces.py
Go to the documentation of this file.
00001 from zope.interface import Interface
00002 from zope.app.container.interfaces import IAdding
00003 
00004 class IContentRulesInfo(Interface):
00005     """Site-wide information about content rules
00006     """
00007     
00008     def show_rules_tab():
00009         """Determine whether or not the rules tab should be shown.
00010         """
00011 
00012 class IRuleAdding(IAdding):
00013     """Marker interface for rule add views.
00014     
00015     Rules' addviews should be registered for this.
00016     """
00017     
00018 class IRuleElementAdding(IAdding):
00019     """Marker interface for rule element (actions/conditions) add views.
00020     
00021     Rules' addviews should be registered for this.
00022     """
00023     
00024 class IRuleConditionAdding(IRuleElementAdding):
00025     pass
00026     
00027 class IRuleActionAdding(IRuleElementAdding):
00028     pass
00029 
00030 class IContentRulesForm(Interface):
00031     """Marker interface for forms that need content rules layout
00032     """