Commit c282ad6f authored by Aurel's avatar Aurel

rename cache, core to content and user_interface to ui

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13138 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 21527b47
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>Products.ERP5Type.Document.CacheFactory</string>
<string>CacheFactory</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_count</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>_mt_index</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value>
</item>
<item>
<key> <string>_tree</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent>
</value>
</item>
<item>
<key> <string>cache_duration</string> </key>
<value> <int>36000</int> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>erp5_content_long</string> </value>
</item>
<item>
<key> <string>last_id</string> </key>
<value> <string>3</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Cache Factory</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Content Long</string> </value>
</item>
<item>
<key> <string>uid</string> </key>
<value>
<none/>
</value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>BTrees.Length</string>
<string>Length</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle> <int>0</int> </pickle>
</record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<tuple>
<tuple>
<string>BTrees.OOBTree</string>
<string>OOBTree</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<none/>
</pickle>
</record>
<record id="4" aka="AAAAAAAAAAQ=">
<pickle>
<tuple>
<tuple>
<string>BTrees.OOBTree</string>
<string>OOBTree</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<none/>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>Products.ERP5Type.Document.CacheFactory</string>
<string>CacheFactory</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_count</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>_mt_index</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value>
</item>
<item>
<key> <string>_tree</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent>
</value>
</item>
<item>
<key> <string>cache_duration</string> </key>
<value> <int>3600</int> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>erp5_content_medium</string> </value>
</item>
<item>
<key> <string>last_id</string> </key>
<value> <string>3</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Cache Factory</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Content Medium</string> </value>
</item>
<item>
<key> <string>uid</string> </key>
<value>
<none/>
</value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>BTrees.Length</string>
<string>Length</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle> <int>0</int> </pickle>
</record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<tuple>
<tuple>
<string>BTrees.OOBTree</string>
<string>OOBTree</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<none/>
</pickle>
</record>
<record id="4" aka="AAAAAAAAAAQ=">
<pickle>
<tuple>
<tuple>
<string>BTrees.OOBTree</string>
<string>OOBTree</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<none/>
</pickle>
</record>
</ZopeData>
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>erp5_user_interface</string> </value> <value> <string>erp5_content_short</string> </value>
</item> </item>
<item> <item>
<key> <string>last_id</string> </key> <key> <string>last_id</string> </key>
...@@ -54,7 +54,7 @@ ...@@ -54,7 +54,7 @@
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>Default User Interface</string> </value> <value> <string>Content Short</string> </value>
</item> </item>
<item> <item>
<key> <string>uid</string> </key> <key> <string>uid</string> </key>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>Products.ERP5Type.Document.CacheFactory</string>
<string>CacheFactory</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_count</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>_mt_index</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value>
</item>
<item>
<key> <string>_tree</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent>
</value>
</item>
<item>
<key> <string>cache_duration</string> </key>
<value> <int>36000</int> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>erp5_ui_long</string> </value>
</item>
<item>
<key> <string>last_id</string> </key>
<value> <string>3</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Cache Factory</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>User Interface Long</string> </value>
</item>
<item>
<key> <string>uid</string> </key>
<value>
<none/>
</value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>BTrees.Length</string>
<string>Length</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle> <int>0</int> </pickle>
</record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<tuple>
<tuple>
<string>BTrees.OOBTree</string>
<string>OOBTree</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<none/>
</pickle>
</record>
<record id="4" aka="AAAAAAAAAAQ=">
<pickle>
<tuple>
<tuple>
<string>BTrees.OOBTree</string>
<string>OOBTree</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<none/>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>Products.ERP5Type.Document.CacheFactory</string>
<string>CacheFactory</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_count</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>_mt_index</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value>
</item>
<item>
<key> <string>_tree</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent>
</value>
</item>
<item>
<key> <string>cache_duration</string> </key>
<value> <int>3600</int> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>erp5_ui_medium</string> </value>
</item>
<item>
<key> <string>last_id</string> </key>
<value> <string>3</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Cache Factory</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>User Interface Medium</string> </value>
</item>
<item>
<key> <string>uid</string> </key>
<value>
<none/>
</value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>BTrees.Length</string>
<string>Length</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle> <int>0</int> </pickle>
</record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<tuple>
<tuple>
<string>BTrees.OOBTree</string>
<string>OOBTree</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<none/>
</pickle>
</record>
<record id="4" aka="AAAAAAAAAAQ=">
<pickle>
<tuple>
<tuple>
<string>BTrees.OOBTree</string>
<string>OOBTree</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<none/>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>Products.ERP5Type.Document.CacheFactory</string>
<string>CacheFactory</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_count</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>_mt_index</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value>
</item>
<item>
<key> <string>_tree</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent>
</value>
</item>
<item>
<key> <string>cache_duration</string> </key>
<value> <int>300</int> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>erp5_ui_short</string> </value>
</item>
<item>
<key> <string>last_id</string> </key>
<value> <string>3</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Cache Factory</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>User Interface Short (Default)</string> </value>
</item>
<item>
<key> <string>uid</string> </key>
<value>
<none/>
</value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>BTrees.Length</string>
<string>Length</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle> <int>0</int> </pickle>
</record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<tuple>
<tuple>
<string>BTrees.OOBTree</string>
<string>OOBTree</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<none/>
</pickle>
</record>
<record id="4" aka="AAAAAAAAAAQ=">
<pickle>
<tuple>
<tuple>
<string>BTrees.OOBTree</string>
<string>OOBTree</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<none/>
</pickle>
</record>
</ZopeData>
...@@ -75,7 +75,7 @@ portal = context.getPortalObject()\n ...@@ -75,7 +75,7 @@ portal = context.getPortalObject()\n
portal.Localizer.changeLanguage(language_select)\n portal.Localizer.changeLanguage(language_select)\n
\n \n
# XXX should invalidate cached data specific to current user\n # XXX should invalidate cached data specific to current user\n
clearCache()\n clearCache(cache_factory_list=("erp5_ui_short",))\n
</string> </value> </string> </value>
</item> </item>
<item> <item>
......
...@@ -85,7 +85,7 @@ def getFieldDescription():\n ...@@ -85,7 +85,7 @@ def getFieldDescription():\n
return desc\n return desc\n
\n \n
getFieldDescription = CachingMethod(getFieldDescription, \\\n getFieldDescription = CachingMethod(getFieldDescription, \\\n
(\'getFieldDescription\', field.aq_parent.getId(), field.getId()), cache_factory=\'erp5_user_interface_long\')\n (\'getFieldDescription\', field.aq_parent.getId(), field.getId()), cache_factory=\'erp5_ui_long\')\n
\n \n
return getFieldDescription()\n return getFieldDescription()\n
</string> </value> </string> </value>
......
...@@ -104,7 +104,7 @@ def getModifiedObjectList(bt1, bt2):\n ...@@ -104,7 +104,7 @@ def getModifiedObjectList(bt1, bt2):\n
return bt1.preinstall(compare_to=bt2)\n return bt1.preinstall(compare_to=bt2)\n
\n \n
getModifiedObjectList = CachingMethod(getModifiedObjectList, id=\'BusinessTemplate_getModifiedObjectList\', \\\n getModifiedObjectList = CachingMethod(getModifiedObjectList, id=\'BusinessTemplate_getModifiedObjectList\', \\\n
cache_factory=\'erp5_user_interface_medium\')\n cache_factory=\'erp5_ui_medium\')\n
\n \n
if p.portal_templates.compareVersions(bt1.getVersion(), bt2.getVersion()) < 0:\n if p.portal_templates.compareVersions(bt1.getVersion(), bt2.getVersion()) < 0:\n
modified_object_list = getModifiedObjectList(bt2, bt1)\n modified_object_list = getModifiedObjectList(bt2, bt1)\n
......
...@@ -77,7 +77,7 @@ def getModifiedObjectList(context):\n ...@@ -77,7 +77,7 @@ def getModifiedObjectList(context):\n
\n \n
getModifiedObjectList = CachingMethod(getModifiedObjectList,\n getModifiedObjectList = CachingMethod(getModifiedObjectList,\n
id=\'BusinessTemplate_getModifiedObjectList\',\n id=\'BusinessTemplate_getModifiedObjectList\',\n
cache_factory=\'erp5_user_interface_medium\')\n cache_factory=\'erp5_ui_medium\')\n
\n \n
modified_object_list = getModifiedObjectList(context)\n modified_object_list = getModifiedObjectList(context)\n
keys = modified_object_list.keys()\n keys = modified_object_list.keys()\n
......
...@@ -87,7 +87,7 @@ def getModuleItemList(user=None, portal_path=None):\n ...@@ -87,7 +87,7 @@ def getModuleItemList(user=None, portal_path=None):\n
\n \n
getModuleItemList = CachingMethod(getModuleItemList, \n getModuleItemList = CachingMethod(getModuleItemList, \n
id=(\'ERP5Site_getModuleItemList\', context.Localizer.get_selected_language()),\n id=(\'ERP5Site_getModuleItemList\', context.Localizer.get_selected_language()),\n
cache_factory=\'erp5_user_interface_short\')\n cache_factory=\'erp5_ui_short\')\n
portal_path = context.getPortalObject().getPhysicalPath()\n portal_path = context.getPortalObject().getPhysicalPath()\n
return getModuleItemList(user=user, portal_path=portal_path)\n return getModuleItemList(user=user, portal_path=portal_path)\n
</string> </value> </string> </value>
......
...@@ -87,7 +87,7 @@ def getModifiedObjectList(bt):\n ...@@ -87,7 +87,7 @@ def getModifiedObjectList(bt):\n
return bt.preinstall(check_dependencies = check_dependencies)\n return bt.preinstall(check_dependencies = check_dependencies)\n
\n \n
getModifiedObjectList = CachingMethod(getModifiedObjectList, id=\'BusinessTemplate_getModifiedObjectList\', \\\n getModifiedObjectList = CachingMethod(getModifiedObjectList, id=\'BusinessTemplate_getModifiedObjectList\', \\\n
cache_factory=\'erp5_user_interface_medium\')\n cache_factory=\'erp5_ui_medium\')\n
\n \n
bt_objects = {}\n bt_objects = {}\n
\n \n
......
260 262
\ No newline at end of file \ No newline at end of file
portal_caches/erp5_core_long portal_caches/erp5_content_long
portal_caches/erp5_core_long/default_ram_cache portal_caches/erp5_content_long/default_ram_cache
portal_caches/erp5_core_medium portal_caches/erp5_content_medium
portal_caches/erp5_core_medium/default_ram_cache portal_caches/erp5_content_medium/default_ram_cache
portal_caches/erp5_core_short portal_caches/erp5_content_short
portal_caches/erp5_core_short/default_ram_cache portal_caches/erp5_content_short/default_ram_cache
portal_caches/erp5_user_interface_long portal_caches/erp5_ui_long
portal_caches/erp5_user_interface_long/default_ram_cache portal_caches/erp5_ui_long/default_ram_cache
portal_caches/erp5_user_interface_medium portal_caches/erp5_ui_medium
portal_caches/erp5_user_interface_medium/default_ram_cache portal_caches/erp5_ui_medium/default_ram_cache
portal_caches/erp5_user_interface_short portal_caches/erp5_ui_short
portal_caches/erp5_user_interface_short/default_ram_cache portal_caches/erp5_ui_short/default_ram_cache
portal_preferences/default_site_preference portal_preferences/default_site_preference
\ No newline at end of file
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