Commit cacdc675 authored by Yoshinori Okuji's avatar Yoshinori Okuji

Big changes for supporting hot reindexing.

Most features in ZSQLCatalog are moved to SQLCatalog.
ZSQLCatalog may contain multiple SQL Catalogs.
ZSQLCatalog supports filtering without ERP5Catalog.
A workaround for non-CMF sites is added.
Exporting/Importing properties is supported in the form of XML.
Queued indexing is supported.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@2002 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 55db6c81
This diff is collapsed.
This diff is collapsed.
......@@ -17,14 +17,24 @@ import ZSQLCatalog, SQLCatalog
from ZClasses import createZClassForBase
createZClassForBase( ZSQLCatalog.ZCatalog , globals()
, 'ZCatalogBase', 'ZCatalog' )
, 'ZSQLCatalogBase', 'ZSQLCatalog' )
createZClassForBase( SQLCatalog.Catalog , globals()
, 'SQLCatalogBase', 'SQLCatalog' )
def initialize(context):
context.registerClass(
ZSQLCatalog.ZCatalog,
permission='Add ZCatalogs',
constructors=(ZSQLCatalog.manage_addZCatalogForm,
ZSQLCatalog.manage_addZCatalog),
constructors=(ZSQLCatalog.manage_addZSQLCatalogForm,
ZSQLCatalog.manage_addZSQLCatalog),
icon='www/ZCatalog.gif',
)
context.registerClass(
SQLCatalog.Catalog,
permission='Add ZCatalogs',
constructors=(SQLCatalog.manage_addSQLCatalogForm,
SQLCatalog.manage_addSQLCatalog),
icon='www/ZCatalog.gif',
)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment