Commit 155b1696 authored by Aurel's avatar Aurel

add catalog_object_list method

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@7474 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 5f5825fe
<catalog_method>
<item key="_is_catalog_list_method_archive" type="int">
<value>1</value>
</item>
<item key="_is_uncatalog_method_archive" type="int">
<value>0</value>
</item>
<item key="_is_clear_method_archive" type="int">
<value>0</value>
</item>
<item key="_is_filtered_archive" type="int">
<value>0</value>
</item>
<item key="_filter_expression_archive" type="str">
<value></value>
</item>
<item key="_filter_type_archive" type="tuple">
</item>
</catalog_method>
\ No newline at end of file
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>Products.ZSQLMethods.SQL</string>
<string>SQL</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_arg</string> </key>
<value>
<object>
<klass>
<global name="Args" module="Shared.DC.ZRDB.Aqueduct"/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key> <string>_data</string> </key>
<value>
<dictionary>
<item>
<key> <string>causality_state</string> </key>
<value>
<dictionary/>
</value>
</item>
<item>
<key> <string>event_state</string> </key>
<value>
<dictionary/>
</value>
</item>
<item>
<key> <string>getCorporateRegistrationCode</string> </key>
<value>
<dictionary/>
</value>
</item>
<item>
<key> <string>getCreationDate</string> </key>
<value>
<dictionary/>
</value>
</item>
<item>
<key> <string>getDescription</string> </key>
<value>
<dictionary/>
</value>
</item>
<item>
<key> <string>getDestinationReference</string> </key>
<value>
<dictionary/>
</value>
</item>
<item>
<key> <string>getEan13Code</string> </key>
<value>
<dictionary/>
</value>
</item>
<item>
<key> <string>getFloatIndex</string> </key>
<value>
<dictionary/>
</value>
</item>
<item>
<key> <string>getGroupingReference</string> </key>
<value>
<dictionary/>
</value>
</item>
<item>
<key> <string>getIntIndex</string> </key>
<value>
<dictionary/>
</value>
</item>
<item>
<key> <string>getModificationDate</string> </key>
<value>
<dictionary/>
</value>
</item>
<item>
<key> <string>getParentUid</string> </key>
<value>
<dictionary/>
</value>
</item>
<item>
<key> <string>getPath</string> </key>
<value>
<dictionary/>
</value>
</item>
<item>
<key> <string>getPortalType</string> </key>
<value>
<dictionary/>
</value>
</item>
<item>
<key> <string>getReference</string> </key>
<value>
<dictionary/>
</value>
</item>
<item>
<key> <string>getRelativeUrl</string> </key>
<value>
<dictionary/>
</value>
</item>
<item>
<key> <string>getSimulationState</string> </key>
<value>
<dictionary/>
</value>
</item>
<item>
<key> <string>getSimulationStateTitle</string> </key>
<value>
<dictionary/>
</value>
</item>
<item>
<key> <string>getSourceReference</string> </key>
<value>
<dictionary/>
</value>
</item>
<item>
<key> <string>getStringIndex</string> </key>
<value>
<dictionary/>
</value>
</item>
<item>
<key> <string>getTitle</string> </key>
<value>
<dictionary/>
</value>
</item>
<item>
<key> <string>hasCellContent</string> </key>
<value>
<dictionary/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value>
<dictionary/>
</value>
</item>
<item>
<key> <string>invoice_state</string> </key>
<value>
<dictionary/>
</value>
</item>
<item>
<key> <string>meta_type</string> </key>
<value>
<dictionary/>
</value>
</item>
<item>
<key> <string>opportunity_state</string> </key>
<value>
<dictionary/>
</value>
</item>
<item>
<key> <string>payment_state</string> </key>
<value>
<dictionary/>
</value>
</item>
<item>
<key> <string>security_uid</string> </key>
<value>
<dictionary/>
</value>
</item>
<item>
<key> <string>uid</string> </key>
<value>
<dictionary/>
</value>
</item>
<item>
<key> <string>validation_state</string> </key>
<value>
<dictionary/>
</value>
</item>
<item>
<key> <string>validation_state_title</string> </key>
<value>
<dictionary/>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>_keys</string> </key>
<value>
<list>
<string>uid</string>
<string>security_uid</string>
<string>getPath</string>
<string>getRelativeUrl</string>
<string>getParentUid</string>
<string>id</string>
<string>getDescription</string>
<string>getTitle</string>
<string>meta_type</string>
<string>getPortalType</string>
<string>opportunity_state</string>
<string>getCorporateRegistrationCode</string>
<string>getEan13Code</string>
<string>getSimulationState</string>
<string>getSimulationStateTitle</string>
<string>causality_state</string>
<string>invoice_state</string>
<string>validation_state</string>
<string>validation_state_title</string>
<string>payment_state</string>
<string>event_state</string>
<string>getReference</string>
<string>getGroupingReference</string>
<string>getSourceReference</string>
<string>getDestinationReference</string>
<string>getStringIndex</string>
<string>getIntIndex</string>
<string>getFloatIndex</string>
<string>hasCellContent</string>
<string>getCreationDate</string>
<string>getModificationDate</string>
</list>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key> <string>allow_simple_one_argument_traversal</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>arguments_src</string> </key>
<value> <string>uid\r\n
security_uid\r\n
getPath\r\n
getRelativeUrl\r\n
getParentUid\r\n
id\r\n
getDescription\r\n
getTitle\r\n
meta_type\r\n
getPortalType\r\n
opportunity_state\r\n
getCorporateRegistrationCode\r\n
getEan13Code\r\n
getSimulationState\r\n
getSimulationStateTitle\r\n
causality_state\r\n
invoice_state\r\n
validation_state\r\n
validation_state_title\r\n
payment_state\r\n
event_state\r\n
getReference\r\n
getGroupingReference\r\n
getSourceReference\r\n
getDestinationReference\r\n
getStringIndex\r\n
getIntIndex\r\n
getFloatIndex\r\n
hasCellContent\r\n
getCreationDate\r\n
getModificationDate</string> </value>
</item>
<item>
<key> <string>cache_time_</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>class_file_</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>class_name_</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>connection_hook</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>connection_id</string> </key>
<value> <string>erp5_sql_connection</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>z_catalog_object_list</string> </value>
</item>
<item>
<key> <string>max_cache_</string> </key>
<value> <int>100</int> </value>
</item>
<item>
<key> <string>max_rows_</string> </key>
<value> <int>1000</int> </value>
</item>
<item>
<key> <string>src</string> </key>
<value> <string encoding="cdata"><![CDATA[
REPLACE INTO\n
catalog\n
VALUES\n
<dtml-in prefix="loop" expr="_.range(_.len(uid))">\n
(\n
<dtml-sqlvar expr="uid[loop_item]" type="int">, \n
<dtml-sqlvar expr="security_uid[loop_item]" type="int">,\n
<dtml-sqlvar expr="getPath[loop_item]" type="string">,\n
<dtml-sqlvar expr="getRelativeUrl[loop_item]" type="string">,\n
<dtml-sqlvar expr="getParentUid[loop_item]" type="int">,\n
<dtml-sqlvar expr="id[loop_item]" type="string" optional>,\n
<dtml-sqlvar expr="getDescription[loop_item]" type="string" optional>,\n
<dtml-sqlvar expr="getTitle[loop_item]" type="string" optional>,\n
<dtml-sqlvar expr="meta_type[loop_item]" type="string" optional>,\n
<dtml-sqlvar expr="getPortalType[loop_item]" type="string" optional>,\n
<dtml-sqlvar expr="opportunity_state[loop_item]" type="string" optional>,\n
<dtml-sqlvar expr="getCorporateRegistrationCode[loop_item]" type="string" optional>,\n
<dtml-sqlvar expr="getEan13Code[loop_item]" type="string" optional>,\n
<dtml-sqlvar expr="validation_state[loop_item]" type="string" optional>,\n
<dtml-sqlvar expr="validation_state_title[loop_item]" type="string" optional>,\n
<dtml-sqlvar expr="getSimulationState[loop_item]" type="string" optional>,\n
<dtml-sqlvar expr="getSimulationStateTitle[loop_item]" type="string" optional>,\n
<dtml-sqlvar expr="causality_state[loop_item]" type="string" optional>,\n
<dtml-sqlvar expr="invoice_state[loop_item]" type="string" optional>,\n
<dtml-sqlvar expr="payment_state[loop_item]" type="string" optional>,\n
<dtml-sqlvar expr="event_state[loop_item]" type="string" optional>,\n
<dtml-sqlvar expr="getReference[loop_item]" type="string" optional>,\n
<dtml-sqlvar expr="getGroupingReference[loop_item]" type="string" optional>,\n
<dtml-sqlvar expr="getSourceReference[loop_item]" type="string" optional>,\n
<dtml-sqlvar expr="getDestinationReference[loop_item]" type="string" optional>,\n
<dtml-sqlvar expr="getStringIndex[loop_item]" type="string" optional>,\n
<dtml-sqlvar expr="getIntIndex[loop_item]" type="int" optional>,\n
<dtml-sqlvar expr="getFloatIndex[loop_item]" type="float" optional>,\n
<dtml-sqlvar expr="hasCellContent[loop_item]" type="int" optional>,\n
<dtml-sqlvar expr="getCreationDate[loop_item]" type="datetime" optional>,\n
<dtml-sqlvar expr="getModificationDate[loop_item]" type="datetime" optional>\n
)\n
<dtml-if sequence-end><dtml-else>,</dtml-if>\n
</dtml-in>\n
]]></string> </value>
</item>
<item>
<key> <string>template</string> </key>
<value>
<object>
<klass>
<global name="SQL" module="Shared.DC.ZRDB.DA"/>
</klass>
<none/>
<state>
<dictionary>
<item>
<key> <string>__name__</string> </key>
<value> <string encoding="cdata"><![CDATA[
<string>
]]></string> </value>
</item>
<item>
<key> <string>_vars</string> </key>
<value>
<dictionary/>
</value>
</item>
<item>
<key> <string>globals</string> </key>
<value>
<dictionary/>
</value>
</item>
<item>
<key> <string>raw</string> </key>
<value> <string encoding="cdata"><![CDATA[
REPLACE INTO\n
catalog\n
VALUES\n
<dtml-in prefix="loop" expr="_.range(_.len(uid))">\n
(\n
<dtml-sqlvar expr="uid[loop_item]" type="int">, \n
<dtml-sqlvar expr="security_uid[loop_item]" type="int">,\n
<dtml-sqlvar expr="getPath[loop_item]" type="string">,\n
<dtml-sqlvar expr="getRelativeUrl[loop_item]" type="string">,\n
<dtml-sqlvar expr="getParentUid[loop_item]" type="int">,\n
<dtml-sqlvar expr="id[loop_item]" type="string" optional>,\n
<dtml-sqlvar expr="getDescription[loop_item]" type="string" optional>,\n
<dtml-sqlvar expr="getTitle[loop_item]" type="string" optional>,\n
<dtml-sqlvar expr="meta_type[loop_item]" type="string" optional>,\n
<dtml-sqlvar expr="getPortalType[loop_item]" type="string" optional>,\n
<dtml-sqlvar expr="opportunity_state[loop_item]" type="string" optional>,\n
<dtml-sqlvar expr="getCorporateRegistrationCode[loop_item]" type="string" optional>,\n
<dtml-sqlvar expr="getEan13Code[loop_item]" type="string" optional>,\n
<dtml-sqlvar expr="validation_state[loop_item]" type="string" optional>,\n
<dtml-sqlvar expr="validation_state_title[loop_item]" type="string" optional>,\n
<dtml-sqlvar expr="getSimulationState[loop_item]" type="string" optional>,\n
<dtml-sqlvar expr="getSimulationStateTitle[loop_item]" type="string" optional>,\n
<dtml-sqlvar expr="causality_state[loop_item]" type="string" optional>,\n
<dtml-sqlvar expr="invoice_state[loop_item]" type="string" optional>,\n
<dtml-sqlvar expr="payment_state[loop_item]" type="string" optional>,\n
<dtml-sqlvar expr="event_state[loop_item]" type="string" optional>,\n
<dtml-sqlvar expr="getReference[loop_item]" type="string" optional>,\n
<dtml-sqlvar expr="getGroupingReference[loop_item]" type="string" optional>,\n
<dtml-sqlvar expr="getSourceReference[loop_item]" type="string" optional>,\n
<dtml-sqlvar expr="getDestinationReference[loop_item]" type="string" optional>,\n
<dtml-sqlvar expr="getStringIndex[loop_item]" type="string" optional>,\n
<dtml-sqlvar expr="getIntIndex[loop_item]" type="int" optional>,\n
<dtml-sqlvar expr="getFloatIndex[loop_item]" type="float" optional>,\n
<dtml-sqlvar expr="hasCellContent[loop_item]" type="int" optional>,\n
<dtml-sqlvar expr="getCreationDate[loop_item]" type="datetime" optional>,\n
<dtml-sqlvar expr="getModificationDate[loop_item]" type="datetime" optional>\n
)\n
<dtml-if sequence-end><dtml-else>,</dtml-if>\n
</dtml-in>\n
]]></string> </value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
erp5_mysql/z_catalog_item_list erp5_mysql/z_catalog_item_list
erp5_mysql/z_catalog_movement_list erp5_mysql/z_catalog_movement_list
erp5_mysql/z_catalog_object_list
erp5_mysql/z_catalog_stock_list erp5_mysql/z_catalog_stock_list
erp5_mysql/z_create_catalog erp5_mysql/z_create_catalog
erp5_mysql/z_create_item erp5_mysql/z_create_item
......
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