[CMF-checkins] CVS: Products/CMFCore - CatalogTool.py:1.36

Andrew Sawyers andrew@zope.com
Wed, 14 Aug 2002 11:16:13 -0400


Update of /cvs-repository/Products/CMFCore
In directory cvs.zope.org:/tmp/cvs-serv3232

Modified Files:
	CatalogTool.py 
Log Message:
*added Metadata colums for id and getId
*added Index for getId
*use of id in the catalog is depricated and may go away, use getId


=== Products/CMFCore/CatalogTool.py 1.35 => 1.36 ===
--- Products/CMFCore/CatalogTool.py:1.35	Sat Aug  3 22:31:30 2002
+++ Products/CMFCore/CatalogTool.py	Wed Aug 14 11:16:12 2002
@@ -108,6 +108,7 @@
     def enumerateIndexes( self ):
         #   Return a list of ( index_name, type ) pairs for the initial
         #   index set.
+        #   id is depricated and may go away, use getId!
         return ( ('Title', 'TextIndex')
                , ('Subject', 'KeywordIndex')
                , ('Description', 'TextIndex')
@@ -124,6 +125,7 @@
                , ('in_reply_to', 'FieldIndex')
                , ('meta_type', 'FieldIndex')
                , ('id', 'FieldIndex')
+               , ('getId', 'FieldIndex')
                , ('path', 'PathIndex')
                , ('portal_type', 'FieldIndex')
                )
@@ -131,6 +133,7 @@
     security.declarePublic( 'enumerateColumns' )
     def enumerateColumns( self ):
         #   Return a sequence of schema names to be cached.
+        #   id is depricated and may go away, use getId!
         return ( 'Subject'
                , 'Title'
                , 'Description'
@@ -147,6 +150,8 @@
                , 'EffectiveDate'
                , 'ExpiresDate'
                , 'ModificationDate'
+               , 'id'
+               , 'getId'
                , 'portal_type'
                )