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>
<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">
<item>Base</item>
<item>SimpleItem</item>
......
......@@ -37,7 +37,7 @@
</item>
<item>
<key> <string>factory</string> </key>
<value> <string>addXMLObject</string> </value>
<value> <string>addCategoryProperty</string> </value>
</item>
<item>
<key> <string>id</string> </key>
......@@ -59,6 +59,10 @@
<key> <string>portal_type</string> </key>
<value> <string>Base Type</string> </value>
</item>
<item>
<key> <string>type_class</string> </key>
<value> <string>CategoryProperty</string> </value>
</item>
</dictionary>
</pickle>
</record>
......
<workflow_chain>
<chain>
<type>Acquired Property</type>
<workflow>portal_type_class_interaction_workflow</workflow>
<workflow>dynamic_class_generation_interaction_workflow</workflow>
</chain>
<chain>
<type>Action Information</type>
......@@ -13,11 +13,11 @@
</chain>
<chain>
<type>Base Category</type>
<workflow>edit_workflow, portal_type_class_interaction_workflow</workflow>
<workflow>dynamic_class_generation_interaction_workflow, edit_workflow</workflow>
</chain>
<chain>
<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>
<type>Category</type>
......@@ -25,11 +25,11 @@
</chain>
<chain>
<type>Category Property</type>
<workflow>portal_type_class_interaction_workflow</workflow>
<workflow>dynamic_class_generation_interaction_workflow</workflow>
</chain>
<chain>
<type>Category Tool</type>
<workflow>portal_type_class_interaction_workflow</workflow>
<workflow>dynamic_class_generation_interaction_workflow</workflow>
</chain>
<chain>
<type>Distributed Ram Cache</type>
......@@ -41,7 +41,7 @@
</chain>
<chain>
<type>Dynamic Category Property</type>
<workflow>portal_type_class_interaction_workflow</workflow>
<workflow>dynamic_class_generation_interaction_workflow</workflow>
</chain>
<chain>
<type>Mapped Value</type>
......@@ -61,11 +61,11 @@
</chain>
<chain>
<type>Property Sheet</type>
<workflow>portal_type_class_interaction_workflow</workflow>
<workflow>dynamic_class_generation_interaction_workflow</workflow>
</chain>
<chain>
<type>Standard Property</type>
<workflow>portal_type_class_interaction_workflow</workflow>
<workflow>dynamic_class_generation_interaction_workflow</workflow>
</chain>
<chain>
<type>System Preference</type>
......
......@@ -95,7 +95,7 @@
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Reference</string> </value>
<value> <string>Name</string> </value>
</item>
</dictionary>
</value>
......
......@@ -85,7 +85,7 @@
<key> <string>left</string> </key>
<value>
<list>
<string>my_id</string>
<string>my_reference</string>
<string>my_constraint_base_category_list</string>
<string>my_constraint_portal_type_list</string>
</list>
......
......@@ -17,7 +17,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>my_id</string> </value>
<value> <string>my_reference</string> </value>
</item>
<item>
<key> <string>message_values</string> </key>
......@@ -90,7 +90,7 @@
</item>
<item>
<key> <string>title</string> </key>
<value> <string>ID</string> </value>
<value> <string>Name</string> </value>
</item>
</dictionary>
</value>
......
......@@ -93,7 +93,7 @@
<key> <string>left</string> </key>
<value>
<list>
<string>my_id</string>
<string>my_reference</string>
</list>
</value>
</item>
......
......@@ -17,7 +17,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>my_id</string> </value>
<value> <string>my_reference</string> </value>
</item>
<item>
<key> <string>message_values</string> </key>
......@@ -90,7 +90,7 @@
</item>
<item>
<key> <string>title</string> </key>
<value> <string>ID</string> </value>
<value> <string>Name</string> </value>
</item>
</dictionary>
</value>
......
......@@ -93,7 +93,7 @@
<key> <string>left</string> </key>
<value>
<list>
<string>my_title</string>
<string>my_reference</string>
<string>my_category_expression</string>
</list>
</value>
......
......@@ -12,12 +12,13 @@
<list>
<string>description</string>
<string>display_width</string>
<string>title</string>
</list>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>my_title</string> </value>
<value> <string>my_reference</string> </value>
</item>
<item>
<key> <string>message_values</string> </key>
......@@ -74,7 +75,7 @@
<dictionary>
<item>
<key> <string>description</string> </key>
<value> <string>Category title</string> </value>
<value> <string>Category name</string> </value>
</item>
<item>
<key> <string>display_width</string> </key>
......@@ -82,7 +83,7 @@
</item>
<item>
<key> <string>field_id</string> </key>
<value> <string>my_title</string> </value>
<value> <string>my_string_field</string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
......@@ -92,6 +93,10 @@
<key> <string>target</string> </key>
<value> <string>Click to edit the target</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Name</string> </value>
</item>
</dictionary>
</value>
</item>
......
......@@ -85,7 +85,7 @@
<key> <string>left</string> </key>
<value>
<list>
<string>my_id</string>
<string>my_reference</string>
<string>my_constraint_property_list</string>
</list>
</value>
......
......@@ -17,7 +17,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>my_id</string> </value>
<value> <string>my_reference</string> </value>
</item>
<item>
<key> <string>message_values</string> </key>
......@@ -90,7 +90,7 @@
</item>
<item>
<key> <string>title</string> </key>
<value> <string>ID</string> </value>
<value> <string>Name</string> </value>
</item>
</dictionary>
</value>
......
......@@ -95,7 +95,7 @@
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Reference</string> </value>
<value> <string>Name</string> </value>
</item>
</dictionary>
</value>
......
......@@ -20,7 +20,7 @@
</item>
<item>
<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>
<key> <string>groups</string> </key>
......@@ -30,7 +30,7 @@
</item>
<item>
<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>
<key> <string>manager_bypass</string> </key>
......@@ -38,7 +38,7 @@
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Portal Type Class Interaction Workflow</string> </value>
<value> <string>Dynamic class generation Interaction Workflow</string> </value>
</item>
</dictionary>
</pickle>
......
......@@ -28,7 +28,7 @@
<key> <string>after_script_name</string> </key>
<value>
<list>
<string>PortalTypeClass_resetDynamicDocuments</string>
<string>DynamicClassGeneration_resetDynamicDocuments</string>
</list>
</value>
</item>
......@@ -78,6 +78,10 @@
<tuple/>
</value>
</item>
<item>
<key> <string>temporary_document_disallowed</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
......
......@@ -28,7 +28,7 @@
<key> <string>after_script_name</string> </key>
<value>
<list>
<string>PortalTypeClass_resetDynamicDocuments</string>
<string>DynamicClassGeneration_resetDynamicDocuments</string>
</list>
</value>
</item>
......@@ -81,6 +81,10 @@
<tuple/>
</value>
</item>
<item>
<key> <string>temporary_document_disallowed</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
......
......@@ -28,7 +28,7 @@
<key> <string>after_script_name</string> </key>
<value>
<list>
<string>PortalTypeClass_resetDynamicDocuments</string>
<string>DynamicClassGeneration_resetDynamicDocuments</string>
</list>
</value>
</item>
......@@ -69,6 +69,7 @@
<value>
<list>
<string>Acquired Property</string>
<string>Category Property</string>
<string>Dynamic Category Property</string>
<string>Standard Property</string>
</list>
......@@ -80,6 +81,10 @@
<tuple/>
</value>
</item>
<item>
<key> <string>temporary_document_disallowed</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
......
......@@ -28,7 +28,7 @@
<key> <string>after_script_name</string> </key>
<value>
<list>
<string>PortalTypeClass_resetDynamicDocuments</string>
<string>DynamicClassGeneration_resetDynamicDocuments</string>
</list>
</value>
</item>
......@@ -79,6 +79,10 @@
<tuple/>
</value>
</item>
<item>
<key> <string>temporary_document_disallowed</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
......
......@@ -28,7 +28,7 @@
<key> <string>after_script_name</string> </key>
<value>
<list>
<string>PortalTypeClass_resetDynamicDocuments</string>
<string>DynamicClassGeneration_resetDynamicDocuments</string>
</list>
</value>
</item>
......@@ -80,6 +80,10 @@
<tuple/>
</value>
</item>
<item>
<key> <string>temporary_document_disallowed</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
......
......@@ -115,7 +115,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>PortalTypeClass_resetDynamicDocuments</string> </value>
<value> <string>DynamicClassGeneration_resetDynamicDocuments</string> </value>
</item>
<item>
<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
* use objectValues instead of searchFolder for portal_caches and portal_memcached's view.
......
1747
\ No newline at end of file
1748
\ 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 | SimpleItem
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
Alarm | edit_workflow
Base Category | dynamic_class_generation_interaction_workflow
Base Category | edit_workflow
Base Category | portal_type_class_interaction_workflow
Base Type | base_type_interaction_workflow
Base Type | portal_type_class_interaction_workflow
Category Property | portal_type_class_interaction_workflow
Category Tool | portal_type_class_interaction_workflow
Base Type | dynamic_class_generation_interaction_workflow
Category Property | dynamic_class_generation_interaction_workflow
Category Tool | dynamic_class_generation_interaction_workflow
Category | edit_workflow
Distributed Ram Cache | distributed_ram_cache_interaction_workflow
Document | edit_workflow
Dynamic Category Property | portal_type_class_interaction_workflow
Dynamic Category Property | dynamic_class_generation_interaction_workflow
Mapped Value | edit_workflow
Memcached Plugin | memcached_plugin_interaction_workflow
Predicate | rule_interaction_workflow
Preference | preference_workflow
Property Sheet | portal_type_class_interaction_workflow
Standard Property | portal_type_class_interaction_workflow
Property Sheet | dynamic_class_generation_interaction_workflow
Standard Property | dynamic_class_generation_interaction_workflow
System Preference | preference_workflow
\ No newline at end of file
base_type_interaction_workflow
distributed_ram_cache_interaction_workflow
dynamic_class_generation_interaction_workflow
edit_workflow
memcached_plugin_interaction_workflow
portal_type_class_interaction_workflow
preference_workflow
pricing_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