Commit f9c86401 authored by Arnaud Fontaine's avatar Arnaud Fontaine

* rename portal_type_class_interaction_workflow to dynamic_class_generation_interaction_workflow.

* use CategoryProperty document for Category Property portal type.
* use reference for the views of properties for ZODB Property Sheets instead of id or title.



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39410 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent dbc50fe4
<property_sheet_list> <property_sheet_list>
<portal_type id="Acquired Property">
<item>AcquiredProperty</item>
<item>SimpleItem</item>
<item>StandardProperty</item>
<item>TranslatableProperty</item>
</portal_type>
<portal_type id="Category Existence Constraint">
<item>CategoryExistenceConstraint</item>
<item>Predicate</item>
<item>SimpleItem</item>
</portal_type>
<portal_type id="Dynamic Category Property">
<item>DynamicCategoryProperty</item>
</portal_type>
<portal_type id="Property Existence Constraint">
<item>Predicate</item>
<item>PropertyExistenceConstraint</item>
<item>SimpleItem</item>
</portal_type>
<portal_type id="Standard Property">
<item>StandardProperty</item>
<item>TranslatableProperty</item>
</portal_type>
<portal_type id="Trash Bin"> <portal_type id="Trash Bin">
<item>Base</item> <item>Base</item>
<item>SimpleItem</item> <item>SimpleItem</item>
......
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
</item> </item>
<item> <item>
<key> <string>factory</string> </key> <key> <string>factory</string> </key>
<value> <string>addXMLObject</string> </value> <value> <string>addCategoryProperty</string> </value>
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
...@@ -59,6 +59,10 @@ ...@@ -59,6 +59,10 @@
<key> <string>portal_type</string> </key> <key> <string>portal_type</string> </key>
<value> <string>Base Type</string> </value> <value> <string>Base Type</string> </value>
</item> </item>
<item>
<key> <string>type_class</string> </key>
<value> <string>CategoryProperty</string> </value>
</item>
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
......
<workflow_chain> <workflow_chain>
<chain> <chain>
<type>Acquired Property</type> <type>Acquired Property</type>
<workflow>portal_type_class_interaction_workflow</workflow> <workflow>dynamic_class_generation_interaction_workflow</workflow>
</chain> </chain>
<chain> <chain>
<type>Action Information</type> <type>Action Information</type>
...@@ -13,11 +13,11 @@ ...@@ -13,11 +13,11 @@
</chain> </chain>
<chain> <chain>
<type>Base Category</type> <type>Base Category</type>
<workflow>edit_workflow, portal_type_class_interaction_workflow</workflow> <workflow>dynamic_class_generation_interaction_workflow, edit_workflow</workflow>
</chain> </chain>
<chain> <chain>
<type>Base Type</type> <type>Base Type</type>
<workflow>base_type_interaction_workflow, portal_type_class_interaction_workflow</workflow> <workflow>base_type_interaction_workflow, dynamic_class_generation_interaction_workflow</workflow>
</chain> </chain>
<chain> <chain>
<type>Category</type> <type>Category</type>
...@@ -25,11 +25,11 @@ ...@@ -25,11 +25,11 @@
</chain> </chain>
<chain> <chain>
<type>Category Property</type> <type>Category Property</type>
<workflow>portal_type_class_interaction_workflow</workflow> <workflow>dynamic_class_generation_interaction_workflow</workflow>
</chain> </chain>
<chain> <chain>
<type>Category Tool</type> <type>Category Tool</type>
<workflow>portal_type_class_interaction_workflow</workflow> <workflow>dynamic_class_generation_interaction_workflow</workflow>
</chain> </chain>
<chain> <chain>
<type>Distributed Ram Cache</type> <type>Distributed Ram Cache</type>
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
</chain> </chain>
<chain> <chain>
<type>Dynamic Category Property</type> <type>Dynamic Category Property</type>
<workflow>portal_type_class_interaction_workflow</workflow> <workflow>dynamic_class_generation_interaction_workflow</workflow>
</chain> </chain>
<chain> <chain>
<type>Mapped Value</type> <type>Mapped Value</type>
...@@ -61,11 +61,11 @@ ...@@ -61,11 +61,11 @@
</chain> </chain>
<chain> <chain>
<type>Property Sheet</type> <type>Property Sheet</type>
<workflow>portal_type_class_interaction_workflow</workflow> <workflow>dynamic_class_generation_interaction_workflow</workflow>
</chain> </chain>
<chain> <chain>
<type>Standard Property</type> <type>Standard Property</type>
<workflow>portal_type_class_interaction_workflow</workflow> <workflow>dynamic_class_generation_interaction_workflow</workflow>
</chain> </chain>
<chain> <chain>
<type>System Preference</type> <type>System Preference</type>
......
...@@ -95,7 +95,7 @@ ...@@ -95,7 +95,7 @@
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>Reference</string> </value> <value> <string>Name</string> </value>
</item> </item>
</dictionary> </dictionary>
</value> </value>
......
...@@ -85,7 +85,7 @@ ...@@ -85,7 +85,7 @@
<key> <string>left</string> </key> <key> <string>left</string> </key>
<value> <value>
<list> <list>
<string>my_id</string> <string>my_reference</string>
<string>my_constraint_base_category_list</string> <string>my_constraint_base_category_list</string>
<string>my_constraint_portal_type_list</string> <string>my_constraint_portal_type_list</string>
</list> </list>
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>my_id</string> </value> <value> <string>my_reference</string> </value>
</item> </item>
<item> <item>
<key> <string>message_values</string> </key> <key> <string>message_values</string> </key>
...@@ -90,7 +90,7 @@ ...@@ -90,7 +90,7 @@
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>ID</string> </value> <value> <string>Name</string> </value>
</item> </item>
</dictionary> </dictionary>
</value> </value>
......
...@@ -93,7 +93,7 @@ ...@@ -93,7 +93,7 @@
<key> <string>left</string> </key> <key> <string>left</string> </key>
<value> <value>
<list> <list>
<string>my_id</string> <string>my_reference</string>
</list> </list>
</value> </value>
</item> </item>
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>my_id</string> </value> <value> <string>my_reference</string> </value>
</item> </item>
<item> <item>
<key> <string>message_values</string> </key> <key> <string>message_values</string> </key>
...@@ -90,7 +90,7 @@ ...@@ -90,7 +90,7 @@
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>ID</string> </value> <value> <string>Name</string> </value>
</item> </item>
</dictionary> </dictionary>
</value> </value>
......
...@@ -93,7 +93,7 @@ ...@@ -93,7 +93,7 @@
<key> <string>left</string> </key> <key> <string>left</string> </key>
<value> <value>
<list> <list>
<string>my_title</string> <string>my_reference</string>
<string>my_category_expression</string> <string>my_category_expression</string>
</list> </list>
</value> </value>
......
...@@ -12,12 +12,13 @@ ...@@ -12,12 +12,13 @@
<list> <list>
<string>description</string> <string>description</string>
<string>display_width</string> <string>display_width</string>
<string>title</string>
</list> </list>
</value> </value>
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>my_title</string> </value> <value> <string>my_reference</string> </value>
</item> </item>
<item> <item>
<key> <string>message_values</string> </key> <key> <string>message_values</string> </key>
...@@ -74,7 +75,7 @@ ...@@ -74,7 +75,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>description</string> </key> <key> <string>description</string> </key>
<value> <string>Category title</string> </value> <value> <string>Category name</string> </value>
</item> </item>
<item> <item>
<key> <string>display_width</string> </key> <key> <string>display_width</string> </key>
...@@ -82,7 +83,7 @@ ...@@ -82,7 +83,7 @@
</item> </item>
<item> <item>
<key> <string>field_id</string> </key> <key> <string>field_id</string> </key>
<value> <string>my_title</string> </value> <value> <string>my_string_field</string> </value>
</item> </item>
<item> <item>
<key> <string>form_id</string> </key> <key> <string>form_id</string> </key>
...@@ -92,6 +93,10 @@ ...@@ -92,6 +93,10 @@
<key> <string>target</string> </key> <key> <string>target</string> </key>
<value> <string>Click to edit the target</string> </value> <value> <string>Click to edit the target</string> </value>
</item> </item>
<item>
<key> <string>title</string> </key>
<value> <string>Name</string> </value>
</item>
</dictionary> </dictionary>
</value> </value>
</item> </item>
......
...@@ -85,7 +85,7 @@ ...@@ -85,7 +85,7 @@
<key> <string>left</string> </key> <key> <string>left</string> </key>
<value> <value>
<list> <list>
<string>my_id</string> <string>my_reference</string>
<string>my_constraint_property_list</string> <string>my_constraint_property_list</string>
</list> </list>
</value> </value>
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>my_id</string> </value> <value> <string>my_reference</string> </value>
</item> </item>
<item> <item>
<key> <string>message_values</string> </key> <key> <string>message_values</string> </key>
...@@ -90,7 +90,7 @@ ...@@ -90,7 +90,7 @@
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>ID</string> </value> <value> <string>Name</string> </value>
</item> </item>
</dictionary> </dictionary>
</value> </value>
......
...@@ -95,7 +95,7 @@ ...@@ -95,7 +95,7 @@
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>Reference</string> </value> <value> <string>Name</string> </value>
</item> </item>
</dictionary> </dictionary>
</value> </value>
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
</item> </item>
<item> <item>
<key> <string>description</string> </key> <key> <string>description</string> </key>
<value> <string>Define interactions meaningful for portal type classes, new-style property sheets and their properties.</string> </value> <value> <string>Define interactions meaningful for portal type classes, ZODB property sheets and their properties.</string> </value>
</item> </item>
<item> <item>
<key> <string>groups</string> </key> <key> <string>groups</string> </key>
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>portal_type_class_interaction_workflow</string> </value> <value> <string>dynamic_class_generation_interaction_workflow</string> </value>
</item> </item>
<item> <item>
<key> <string>manager_bypass</string> </key> <key> <string>manager_bypass</string> </key>
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>Portal Type Class Interaction Workflow</string> </value> <value> <string>Dynamic class generation Interaction Workflow</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
<key> <string>after_script_name</string> </key> <key> <string>after_script_name</string> </key>
<value> <value>
<list> <list>
<string>PortalTypeClass_resetDynamicDocuments</string> <string>DynamicClassGeneration_resetDynamicDocuments</string>
</list> </list>
</value> </value>
</item> </item>
...@@ -78,6 +78,10 @@ ...@@ -78,6 +78,10 @@
<tuple/> <tuple/>
</value> </value>
</item> </item>
<item>
<key> <string>temporary_document_disallowed</string> </key>
<value> <int>1</int> </value>
</item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
<key> <string>after_script_name</string> </key> <key> <string>after_script_name</string> </key>
<value> <value>
<list> <list>
<string>PortalTypeClass_resetDynamicDocuments</string> <string>DynamicClassGeneration_resetDynamicDocuments</string>
</list> </list>
</value> </value>
</item> </item>
...@@ -81,6 +81,10 @@ ...@@ -81,6 +81,10 @@
<tuple/> <tuple/>
</value> </value>
</item> </item>
<item>
<key> <string>temporary_document_disallowed</string> </key>
<value> <int>1</int> </value>
</item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
<key> <string>after_script_name</string> </key> <key> <string>after_script_name</string> </key>
<value> <value>
<list> <list>
<string>PortalTypeClass_resetDynamicDocuments</string> <string>DynamicClassGeneration_resetDynamicDocuments</string>
</list> </list>
</value> </value>
</item> </item>
...@@ -69,6 +69,7 @@ ...@@ -69,6 +69,7 @@
<value> <value>
<list> <list>
<string>Acquired Property</string> <string>Acquired Property</string>
<string>Category Property</string>
<string>Dynamic Category Property</string> <string>Dynamic Category Property</string>
<string>Standard Property</string> <string>Standard Property</string>
</list> </list>
...@@ -80,6 +81,10 @@ ...@@ -80,6 +81,10 @@
<tuple/> <tuple/>
</value> </value>
</item> </item>
<item>
<key> <string>temporary_document_disallowed</string> </key>
<value> <int>1</int> </value>
</item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
<key> <string>after_script_name</string> </key> <key> <string>after_script_name</string> </key>
<value> <value>
<list> <list>
<string>PortalTypeClass_resetDynamicDocuments</string> <string>DynamicClassGeneration_resetDynamicDocuments</string>
</list> </list>
</value> </value>
</item> </item>
...@@ -79,6 +79,10 @@ ...@@ -79,6 +79,10 @@
<tuple/> <tuple/>
</value> </value>
</item> </item>
<item>
<key> <string>temporary_document_disallowed</string> </key>
<value> <int>1</int> </value>
</item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
<key> <string>after_script_name</string> </key> <key> <string>after_script_name</string> </key>
<value> <value>
<list> <list>
<string>PortalTypeClass_resetDynamicDocuments</string> <string>DynamicClassGeneration_resetDynamicDocuments</string>
</list> </list>
</value> </value>
</item> </item>
...@@ -80,6 +80,10 @@ ...@@ -80,6 +80,10 @@
<tuple/> <tuple/>
</value> </value>
</item> </item>
<item>
<key> <string>temporary_document_disallowed</string> </key>
<value> <int>1</int> </value>
</item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
......
...@@ -115,7 +115,7 @@ ...@@ -115,7 +115,7 @@
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>PortalTypeClass_resetDynamicDocuments</string> </value> <value> <string>DynamicClassGeneration_resetDynamicDocuments</string> </value>
</item> </item>
<item> <item>
<key> <string>warnings</string> </key> <key> <string>warnings</string> </key>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="InteractionDefinition" module="Products.ERP5.Interaction"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>actbox_category</string> </key>
<value> <string>workflow</string> </value>
</item>
<item>
<key> <string>actbox_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>actbox_url</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>activate_script_name</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>after_script_name</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>before_commit_script_name</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string>When an existing Category Property is changed on an existing property sheet, reload all the accessor holders.</string> </value>
</item>
<item>
<key> <string>guard</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>CategoryProperty_resetDynamicClasses</string> </value>
</item>
<item>
<key> <string>method_id</string> </key>
<value>
<list>
<string>setId</string>
</list>
</value>
</item>
<item>
<key> <string>once_per_transaction</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>portal_type_filter</string> </key>
<value>
<list>
<string>Category Property</string>
</list>
</value>
</item>
<item>
<key> <string>script_name</string> </key>
<value>
<list>
<string>PortalTypeClass_resetDynamicDocuments</string>
</list>
</value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>trigger_type</string> </key>
<value> <int>2</int> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
2010-10-21 arnaud.fontaine
* rename portal_type_class_interaction_workflow to dynamic_class_generation_interaction_workflow.
* use CategoryProperty document for Category Property portal type.
* use reference for the views of properties for ZODB Property Sheets instead of id or title.
2010-10-20 Kazuhiko 2010-10-20 Kazuhiko
* use objectValues instead of searchFolder for portal_caches and portal_memcached's view. * use objectValues instead of searchFolder for portal_caches and portal_memcached's view.
......
1747 1748
\ No newline at end of file \ No newline at end of file
Acquired Property | AcquiredProperty
Acquired Property | SimpleItem
Acquired Property | StandardProperty
Acquired Property | TranslatableProperty
Category Existence Constraint | CategoryExistenceConstraint
Category Existence Constraint | Predicate
Category Existence Constraint | SimpleItem
Dynamic Category Property | DynamicCategoryProperty
Property Existence Constraint | Predicate
Property Existence Constraint | PropertyExistenceConstraint
Property Existence Constraint | SimpleItem
Standard Property | StandardProperty
Standard Property | TranslatableProperty
Trash Bin | Base Trash Bin | Base
Trash Bin | SimpleItem Trash Bin | SimpleItem
Trash Bin | Task Trash Bin | Task
\ No newline at end of file
Acquired Property | portal_type_class_interaction_workflow Acquired Property | dynamic_class_generation_interaction_workflow
Action Information | base_type_interaction_workflow Action Information | base_type_interaction_workflow
Alarm | edit_workflow Alarm | edit_workflow
Base Category | dynamic_class_generation_interaction_workflow
Base Category | edit_workflow Base Category | edit_workflow
Base Category | portal_type_class_interaction_workflow
Base Type | base_type_interaction_workflow Base Type | base_type_interaction_workflow
Base Type | portal_type_class_interaction_workflow Base Type | dynamic_class_generation_interaction_workflow
Category Property | portal_type_class_interaction_workflow Category Property | dynamic_class_generation_interaction_workflow
Category Tool | portal_type_class_interaction_workflow Category Tool | dynamic_class_generation_interaction_workflow
Category | edit_workflow Category | edit_workflow
Distributed Ram Cache | distributed_ram_cache_interaction_workflow Distributed Ram Cache | distributed_ram_cache_interaction_workflow
Document | edit_workflow Document | edit_workflow
Dynamic Category Property | portal_type_class_interaction_workflow Dynamic Category Property | dynamic_class_generation_interaction_workflow
Mapped Value | edit_workflow Mapped Value | edit_workflow
Memcached Plugin | memcached_plugin_interaction_workflow Memcached Plugin | memcached_plugin_interaction_workflow
Predicate | rule_interaction_workflow Predicate | rule_interaction_workflow
Preference | preference_workflow Preference | preference_workflow
Property Sheet | portal_type_class_interaction_workflow Property Sheet | dynamic_class_generation_interaction_workflow
Standard Property | portal_type_class_interaction_workflow Standard Property | dynamic_class_generation_interaction_workflow
System Preference | preference_workflow System Preference | preference_workflow
\ No newline at end of file
base_type_interaction_workflow base_type_interaction_workflow
distributed_ram_cache_interaction_workflow distributed_ram_cache_interaction_workflow
dynamic_class_generation_interaction_workflow
edit_workflow edit_workflow
memcached_plugin_interaction_workflow memcached_plugin_interaction_workflow
portal_type_class_interaction_workflow
preference_workflow preference_workflow
pricing_interaction_workflow pricing_interaction_workflow
rule_interaction_workflow rule_interaction_workflow
......
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