[open-ils-commits] r12309 - trunk/Open-ILS/examples (erickson)
svn at svn.open-ils.org
svn at svn.open-ils.org
Thu Feb 26 12:19:11 EST 2009
Author: erickson
Date: 2009-02-26 12:19:03 -0500 (Thu, 26 Feb 2009)
New Revision: 12309
Modified:
trunk/Open-ILS/examples/fm_IDL.xml
Log:
pcrud entries for event def param
Modified: trunk/Open-ILS/examples/fm_IDL.xml
===================================================================
--- trunk/Open-ILS/examples/fm_IDL.xml 2009-02-26 16:06:29 UTC (rev 12308)
+++ trunk/Open-ILS/examples/fm_IDL.xml 2009-02-26 17:19:03 UTC (rev 12309)
@@ -749,7 +749,7 @@
</links>
</class>
- <class id="atevparam" controller="open-ils.cstore" oils_obj:fieldmapper="action_trigger::event_param" oils_persist:tablename="action_trigger.event_params" reporter:label="Trigger Event Parameter">
+ <class id="atevparam" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="action_trigger::event_param" oils_persist:tablename="action_trigger.event_params" reporter:label="Trigger Event Parameter">
<fields oils_persist:primary="id" oils_persist:sequence="action_trigger.environment_id_seq">
<field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
<field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
@@ -757,11 +757,27 @@
<field reporter:label="Event ID" name="id" oils_obj:array_position="3" oils_persist:virtual="false" reporter:datatype="id"/>
<field reporter:label="Event Definition" name="event_def" oils_obj:array_position="4" oils_persist:virtual="false" reporter:datatype="link"/>
<field reporter:label="Parameter Name" name="param" oils_obj:array_position="5" oils_persist:virtual="false" reporter:datatype="text"/>
- <field reporter:label="Evaluation Value" name="value" oils_obj:array_position="6" oils_persist:virtual="false" reporter:datatype="text"/>
+ <field reporter:label="Parameter Value" name="value" oils_obj:array_position="6" oils_persist:virtual="false" reporter:datatype="text"/>
</fields>
<links>
<link field="event_def" reltype="has_a" key="id" map="" class="atevdef"/>
</links>
+ <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
+ <actions>
+ <create permission="ADMIN_TRIGGER_EVENT_DEF">
+ <context link="event_def" field="owner"/>
+ </create>
+ <retrieve permission="ADMIN_TRIGGER_EVENT_DEF">
+ <context link="event_def" field="owner"/>
+ </retrieve>
+ <update permission="ADMIN_TRIGGER_EVENT_DEF">
+ <context link="event_def" field="owner"/>
+ </update>
+ <delete permission="ADMIN_TRIGGER_EVENT_DEF">
+ <context link="event_def" field="owner"/>
+ </delete>
+ </actions>
+ </permacrud>
</class>
<class id="aws" controller="open-ils.cstore" oils_obj:fieldmapper="actor::workstation" oils_persist:tablename="actor.workstation" reporter:label="Workstation">
More information about the open-ils-commits
mailing list