Commit eaa36137 authored by Jean-Paul Smets's avatar Jean-Paul Smets

Added preference for classification.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@16729 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e4a5ee25
......@@ -33,27 +33,27 @@ class DocumentPreference:
_properties = (
{ 'id' : 'preferred_ooodoc_server_address',
'description' : 'address of a server for converting docs (ip or domain)',
'description' : 'Address of a server for converting docs (ip or domain)',
'type' : 'string',
'preference' : 1,
'mode' : '' },
{ 'id' : 'preferred_ooodoc_server_port_number',
'description' : 'port number of a server for converting docs',
'description' : 'Port number of a server for converting docs',
'type' : 'int',
'preference' : 1,
'mode' : '' },
{ 'id' : 'preferred_document_reference_regular_expression',
'description' : 'a regular expression to find and verify doc references',
'description' : 'A regular expression to find and verify doc references',
'type' : 'string',
'preference' : 1,
'mode' : '' },
{ 'id' : 'preferred_document_file_name_regular_expression',
'description' : 'a regular expression to parse file names',
'description' : 'A regular expression to parse file names',
'type' : 'string',
'preference' : 1,
'mode' : '' },
{ 'id' : 'preferred_document_reference_method_id',
'description' : 'function for parsing, finding and verifying doc reference',
'description' : 'Function for parsing, finding and verifying doc reference',
'type' : 'string',
'preference' : 1,
'mode' : '' },
......@@ -68,6 +68,11 @@ class DocumentPreference:
'type' : 'string',
'preference' : 1,
'mode' : '' },
{ 'id' : 'preferred_document_classification',
'description' : 'Preffered classification policy for newly created documents',
'type' : 'string',
'preference' : 1,
'mode' : '' },
# XXX-JPS. This is not a real property - it is somehow a hack.
# BG: I was advised by somebody from Nexedi (I think it was Jerome)
{ 'id' : 'preferred_document_ingestion_email_notification_selection',
......
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