Last change
on this file since 3152 was
3152,
checked in by zidane, 13 years ago
|
fixes pep8
|
-
Property svn:eol-style set to
native
|
File size:
1.1 KB
|
Rev | Line | |
---|
[1593] | 1 | from zope import schema |
---|
| 2 | from zope.interface import Interface |
---|
| 3 | |
---|
| 4 | from zope.app.container.constraints import contains |
---|
| 5 | from zope.app.container.constraints import containers |
---|
| 6 | |
---|
[2538] | 7 | from Products.DCWorkflow.interfaces import IAfterTransitionEvent |
---|
[2841] | 8 | from plone.browserlayer.interfaces import ILocalBrowserLayerType |
---|
[2538] | 9 | |
---|
[3152] | 10 | from quintagroup.plonegooglesitemaps \ |
---|
| 11 | import qPloneGoogleSitemapsMessageFactory as _ |
---|
[1593] | 12 | |
---|
| 13 | # -*- extra stuff goes here -*- |
---|
| 14 | |
---|
[3152] | 15 | |
---|
[1593] | 16 | class ISitemap(Interface): |
---|
[2746] | 17 | """Search engine Sitemap content type.""" |
---|
| 18 | |
---|
[3152] | 19 | |
---|
[2746] | 20 | class INewsSitemapProvider(Interface): |
---|
| 21 | """Marker interface for News sitemap provider.""" |
---|
[2841] | 22 | |
---|
| 23 | |
---|
| 24 | class IGoogleSitemapsLayer(ILocalBrowserLayerType): |
---|
| 25 | """Marker interface that defines browser layer for the package.""" |
---|
[3002] | 26 | |
---|
[3152] | 27 | |
---|
[3002] | 28 | class 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.