Commit 72a3fa47 authored by Jean-Paul Smets's avatar Jean-Paul Smets

Added md5 support and update_frequency category.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@15680 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 9feda708
...@@ -43,6 +43,11 @@ class Document: ...@@ -43,6 +43,11 @@ class Document:
'type' : 'string', 'type' : 'string',
'read_permission' : 'Manage properties', 'read_permission' : 'Manage properties',
'mode' : 'w' }, 'mode' : 'w' },
{ 'id' : 'content_md5',
'description' : 'A string which represents the md5 of the file',
'type' : 'string',
'read_permission' : 'Manage properties',
'mode' : 'w' },
) )
_categories = ('similar', 'predecessor', 'successor', 'contributor', 'classification', _categories = ('similar', 'predecessor', 'successor', 'contributor', 'classification',
...@@ -50,6 +55,8 @@ class Document: ...@@ -50,6 +55,8 @@ class Document:
'source_project', 'source_project',
# Source is defined in DMS documentation # Source is defined in DMS documentation
'source', 'source',
# Update frequency in case this document must be crawled regularly
'update_frequency',
# XXX-JPS where are these defined in documentation. Why ? # XXX-JPS where are these defined in documentation. Why ?
'destination', 'destination',
# XXX-JPS all the following properties should be configured on portal type # XXX-JPS all the following properties should be configured on portal type
......
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