Commit 508afb28 authored by Aurel's avatar Aurel

make setCriterion and setCriterionPropertyList public method on temp object


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@20881 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 801f6e25
......@@ -359,7 +359,8 @@ class TempDocumentConstructor(DocumentConstructor):
# Make some methods public.
for method_id in ('reindexObject', 'recursiveReindexObject',
'activate', 'setUid', 'setTitle', 'getTitle',
'edit', 'setProperty', 'getUid'):
'edit', 'setProperty', 'getUid', 'setCriterion',
'setCriterionPropertyList'):
setattr(TempDocument, '%s__roles__' % method_id, None)
self.klass = TempDocument
......
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