adding possible "methods" element
authorpines <pines@9efc2488-bf62-4759-914b-345cdb29e865>
Mon, 6 Jun 2005 17:36:39 +0000 (17:36 +0000)
committerpines <pines@9efc2488-bf62-4759-914b-345cdb29e865>
Mon, 6 Jun 2005 17:36:39 +0000 (17:36 +0000)
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@321 9efc2488-bf62-4759-914b-345cdb29e865

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