Changeset 1759 in products


Ignore:
Timestamp:
Feb 16, 2010 9:23:05 PM (10 years ago)
Author:
mylan
Message:

Added GS catalogupdater import handler and XMLAdapter for catalogupdate.xml files in the GS profile

Location:
quintagroup.catalogupdater/trunk/quintagroup/catalogupdater
Files:
8 added
2 edited

Legend:

Unmodified
Added
Removed
  • quintagroup.catalogupdater/trunk/quintagroup/catalogupdater/configure.zcml

    r1754 r1759  
    22    xmlns="http://namespaces.zope.org/zope" 
    33    xmlns:five="http://namespaces.zope.org/five" 
     4    xmlns:genericsetup="http://namespaces.zope.org/genericsetup" 
    45    i18n_domain="quintagroup.catalogupdater"> 
     6 
     7    <include package=".exportimport" /> 
    58 
    69    <utility factory=".utility.CatalogUpdaterUtility" 
    710             name="catalog_updater" /> 
    811 
     12    <!-- Mark ZCatalog class with own interface for correct 
     13         working of GenericSetup import handler --> 
     14 
     15    <class class="Products.ZCatalog.ZCatalog.ZCatalog"> 
     16      <implements interface=".interfaces.IUpdatableCatalog" /> 
     17    </class> 
     18 
     19    <!-- register GenericSetup profile --> 
     20    <genericsetup:registerProfile 
     21      name="default" 
     22      title="quintagroup.catalogupdater" 
     23      directory="profiles/default" 
     24      description="Register Catalog Updater import step handler [quintagroup.catalogupdater]" 
     25      provides="Products.GenericSetup.interfaces.EXTENSION" 
     26      /> 
     27     
     28 
    929</configure>  
  • quintagroup.catalogupdater/trunk/quintagroup/catalogupdater/interfaces.py

    r1755 r1759  
    11from zope.interface import Interface 
     2 
     3class IUpdatableCatalog(Interface): 
     4    """ Marker interface for separate GenericSetup 
     5        exportimport handler 
     6    """ 
    27 
    38class ICatalogUpdater(Interface): 
Note: See TracChangeset for help on using the changeset viewer.