src/pyams_thesaurus/interfaces/thesaurus.py
changeset 13 5717572bf2a8
parent 7 6a22cec2899b
child 31 827feec71488
equal deleted inserted replaced
12:5f2f8657934b 13:5717572bf2a8
   178 
   178 
   179 class IThesaurusExtracts(IContainer):
   179 class IThesaurusExtracts(IContainer):
   180     """Thesaurus extracts container interface"""
   180     """Thesaurus extracts container interface"""
   181 
   181 
   182     contains(IThesaurusExtractInfo)
   182     contains(IThesaurusExtractInfo)
       
   183 
       
   184 
       
   185 class IThesaurusContextManager(Interface):
       
   186     """Thesaurus terms manager interface"""
       
   187 
       
   188     thesaurus_name = Choice(title=_("Thesaurus name"),
       
   189                             vocabulary='PyAMS thesaurus names',
       
   190                             required=False)
       
   191 
       
   192     extract_name = Choice(title=_("Thesaurus extract"),
       
   193                           vocabulary='PyAMS thesaurus extracts',
       
   194                           required=False)
       
   195 
       
   196 
       
   197 class IThesaurusContextManagerTarget(Interface):
       
   198     """Marker interface for tools managing thesaurus terms"""
       
   199 
       
   200