1 """A friendly criterion for ATTopic that matches the
2 SearchableSynonymousText index parameters.
3 """
4
5 from Products.CMFCore.permissions import View
6 from AccessControl import ClassSecurityInfo
7
8 from Products.ATContentTypes.criteria import registerCriterion
9 from Products.ATContentTypes.interfaces import IATTopicSearchCriterion
10 from Products.ATContentTypes.permission import ChangeTopics
11 from Products.ATContentTypes.criteria.simplestring import \
12 ATSimpleStringCriterion
13 from Products.ATContentTypes.criteria.simplestring import \
14 ATSimpleStringCriterionSchema
15
16 from platecom.ontocatalog import OntoCatalogMessageFactory as _
17
18 ATSynonymCriterionSchema = ATSimpleStringCriterionSchema
19
20
32
33
34 registerCriterion(ATSynonymCriterion, ['SynonymIndex'])
35