[open-ils-commits] r10115 - trunk/Open-ILS/examples
svn at svn.open-ils.org
svn at svn.open-ils.org
Thu Jul 24 13:35:52 EDT 2008
Author: miker
Date: 2008-07-24 13:35:44 -0400 (Thu, 24 Jul 2008)
New Revision: 10115
Modified:
trunk/Open-ILS/examples/fm_IDL.xml
Log:
adding locale table to IDL
Modified: trunk/Open-ILS/examples/fm_IDL.xml
===================================================================
--- trunk/Open-ILS/examples/fm_IDL.xml 2008-07-24 15:41:24 UTC (rev 10114)
+++ trunk/Open-ILS/examples/fm_IDL.xml 2008-07-24 17:35:44 UTC (rev 10115)
@@ -3218,7 +3218,9 @@
<field name="translation" oils_obj:array_position="6" oils_persist:virtual="false" reporter:datatype="text"/>
<field name="string" oils_obj:array_position="7" oils_persist:virtual="false" reporter:datatype="text"/>
</fields>
- <links/>
+ <links>
+ <link field="translation" reltype="has_a" key="code" map="" class="i18n_l"/>
+ </links>
<permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
<actions>
<create permission="CREATE_TRANSLATION" global_required="true"/>
@@ -3228,6 +3230,26 @@
</actions>
</permacrud>
</class>
+ <class id="i18n_l" controller="open-ils.cstore" oils_obj:fieldmapper="config::i18n_locale" oils_persist:tablename="config.i18n_locale" oils_persist:field_safe="true">
+ <fields oils_persist:primary="id">
+ <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
+ <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
+ <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
+ <field name="code" oils_obj:array_position="3" oils_persist:virtual="false" reporter:datatype="id" />
+ <field name="marc_code" oils_obj:array_position="4" oils_persist:virtual="false" reporter:datatype="text"/>
+ <field name="name" oils_obj:array_position="5" oils_persist:virtual="false" reporter:datatype="text"/>
+ <field name="description" oils_obj:array_position="6" oils_persist:virtual="false" reporter:datatype="text"/>
+ </fields>
+ <links/>
+ <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
+ <actions>
+ <create permission="CREATE_LOCALE" global_required="true"/>
+ <retrieve permission="CREATE_LOCALE|UPDATE_LOCALE|DELETE_LOCALE" global_required="true"/>
+ <update permission="UPDATE_LOCALE" global_required="true"/>
+ <delete permission="DELETE_LOCALE" global_required="true"/>
+ </actions>
+ </permacrud>
+ </class>
<class id="rof" controller="open-ils.reporter-store" oils_obj:fieldmapper="reporter::output_folder" oils_persist:tablename="reporter.output_folder">
<fields oils_persist:primary="id" oils_persist:sequence="reporter.output_folder_id_seq">
<field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
More information about the open-ils-commits
mailing list