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

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

fixes pep8

  • Property svn:eol-style set to native
File size: 1.1 KB
Line 
1from zope import schema
2from zope.interface import Interface
3
4from zope.app.container.constraints import contains
5from zope.app.container.constraints import containers
6
7from Products.DCWorkflow.interfaces import IAfterTransitionEvent
8from plone.browserlayer.interfaces import ILocalBrowserLayerType
9
10from quintagroup.plonegooglesitemaps \
11    import qPloneGoogleSitemapsMessageFactory as _
12
13# -*- extra stuff goes here -*-
14
15
16class ISitemap(Interface):
17    """Search engine Sitemap content type."""
18
19
20class INewsSitemapProvider(Interface):
21    """Marker interface for News sitemap provider."""
22
23
24class IGoogleSitemapsLayer(ILocalBrowserLayerType):
25    """Marker interface that defines browser layer for the package."""
26
27
28class IBlackoutFilter(Interface):
29    """Base interface for filter adapter."""
30
31    def filterOut(fdata, fargs):
32        """Filter out fdata by passed arguments in kwargs.
33            * fdata (list/tuple) - data for filtering
34              (list of catalog brains).
35            * fargs (string) - is key for filtering.
36           Return list/tuple like object without filtered out items.
37        """
Note: See TracBrowser for help on using the repository browser.