source: products/quintagroup.plonegooglesitemaps/branches/sitemap_date/quintagroup/plonegooglesitemaps/interfaces.py @ 3565

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

fixes pyflakes and pylint

  • Property svn:eol-style set to native
File size: 834 bytes
Line 
1from zope.interface import Interface
2
3from plone.browserlayer.interfaces import ILocalBrowserLayerType
4
5
6# -*- extra stuff goes here -*-
7
8
9class ISitemap(Interface):
10    """Search engine Sitemap content type."""
11
12
13class INewsSitemapProvider(Interface):
14    """Marker interface for News sitemap provider."""
15
16
17class IGoogleSitemapsLayer(ILocalBrowserLayerType):
18    """Marker interface that defines browser layer for the package."""
19
20
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.