source: products/quintagroup.plonegooglesitemaps/trunk/quintagroup/plonegooglesitemaps/interfaces.py @ 3163

Last change on this file since 3163 was 3163, checked in by zidane, 13 years ago

fixes pyflakes and pylint

  • Property svn:eol-style set to native
File size: 834 bytes
RevLine 
[1593]1from zope.interface import Interface
2
[2841]3from plone.browserlayer.interfaces import ILocalBrowserLayerType
[2538]4
[1593]5
6# -*- extra stuff goes here -*-
7
[3152]8
[1593]9class ISitemap(Interface):
[2746]10    """Search engine Sitemap content type."""
11
[3152]12
[2746]13class INewsSitemapProvider(Interface):
14    """Marker interface for News sitemap provider."""
[2841]15
16
17class IGoogleSitemapsLayer(ILocalBrowserLayerType):
18    """Marker interface that defines browser layer for the package."""
[3002]19
[3152]20
[3002]21class IBlackoutFilter(Interface):
22    """Base interface for filter adapter."""
23
24    def filterOut(fdata, fargs):
25        """Filter out fdata by passed arguments in kwargs.
26            * fdata (list/tuple) - data for filtering
27              (list of catalog brains).
28            * fargs (string) - is key for filtering.
29           Return list/tuple like object without filtered out items.
30        """
Note: See TracBrowser for help on using the repository browser.