adding possible "methods" element
authorpines <pines@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 6 Jun 2005 17:36:39 +0000 (17:36 +0000)
committerpines <pines@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 6 Jun 2005 17:36:39 +0000 (17:36 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@757 dcc99617-32d9-48b4-a31d-7c20da2025e4

OpenSRF/examples/gen-fieldmapper.xml

index 5e7fe93..3628ee3 100644 (file)
                        <javascript:superclass>Fieldmapper</javascript:superclass>
                        <perl:superclass>Fieldmapper</perl:superclass>
                        <cdbi:superclass>OpenILS::Storage::CDBI</cdbi:superclass>
+
+                       <opensrf:methods interface='authenticated' service='open-ils.proxy'>
+                               <opensrf:create method='open-ils.storage.direct.action.survey.create'/>
+                               <opensrf:retrieve method='open-ils.storage.direct.action.survey.retrieve'/>
+                               <opensrf:search method='open-ils.storage.direct.action.survey.search'/>
+                               <opensrf:update method='open-ils.storage.direct.action.survey.update'/>
+                               <opensrf:delete method='open-ils.storage.direct.action.survey.delete'/>
+                       </opensrf:methods>
+                       
+                       <opensrf:methods interface='trusted' service='open-ils.storage'>
+                               <opensrf:create method='open-ils.storage.direct.action.survey.create'/>
+                               <opensrf:retrieve method='open-ils.storage.direct.action.survey.retrieve'/>
+                               <opensrf:search method='open-ils.storage.direct.action.survey.search'/>
+                               <opensrf:update method='open-ils.storage.direct.action.survey.update'/>
+                               <opensrf:delete method='open-ils.storage.direct.action.survey.delete'/>
+                       </opensrf:methods>
                        
                        <opensrf:fields>
                                <opensrf:field