Author: jaz
Date: Fri Jan 5 10:38:23 2007 New Revision: 493129 URL: http://svn.apache.org/viewvc?view=rev&rev=493129 Log: fixed route services (for update) and createTextContent; implemented both party and workeffort services Modified: ofbiz/trunk/applications/content/servicedef/services.xml ofbiz/trunk/applications/party/servicedef/services.xml ofbiz/trunk/applications/workeffort/servicedef/services.xml Modified: ofbiz/trunk/applications/content/servicedef/services.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/servicedef/services.xml?view=diff&rev=493129&r1=493128&r2=493129 ============================================================================== --- ofbiz/trunk/applications/content/servicedef/services.xml (original) +++ ofbiz/trunk/applications/content/servicedef/services.xml Fri Jan 5 10:38:23 2007 @@ -109,10 +109,12 @@ <override name="contentTypeId" optional="false"/> </service> - <service name="createTextContent" engine="route" transaction-timeout="300" auth="true"> + <service name="createTextContent" engine="group" transaction-timeout="300" auth="true"> <description>Creates a Text Document DataResource and Content Records</description> - <implements service="createDataResource" optional="false"/> - <implements service="createContent" optional="false"/> + <group> + <invoke name="createDataResource" result-to-context="true"/> + <invoke name="createContent"/> + </group> </service> <service name="createContentFromDataResource" engine="simple" @@ -159,10 +161,12 @@ <attribute mode="INOUT" name="roleTypeList" optional="true" type="List"/> </service> - <service name="updateTextContent" engine="route" transaction-timeout="300" auth="true"> + <service name="updateTextContent" engine="group" transaction-timeout="300" auth="true"> <description>Updates a Text Document DataResource and Content Records</description> - <implements service="updateDataResource" optional="false"/> - <implements service="updateContent" optional="false"/> + <group> + <invoke name="updateDataResource" result-to-context="true"/> + <invoke name="updateContent"/> + </group> </service> <service name="removeContent" default-entity-name="Content" engine="simple" Modified: ofbiz/trunk/applications/party/servicedef/services.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/servicedef/services.xml?view=diff&rev=493129&r1=493128&r2=493129 ============================================================================== --- ofbiz/trunk/applications/party/servicedef/services.xml (original) +++ ofbiz/trunk/applications/party/servicedef/services.xml Fri Jan 5 10:38:23 2007 @@ -712,11 +712,12 @@ <auto-attributes mode="IN" include="pk" optional="false"/> </service> - <service name="createPartyTextContent" engine="route" transaction-timeout="300" auth="true"> + <service name="createPartyTextContent" engine="group" transaction-timeout="300" auth="true"> <description>Creates a Text Document DataResource and Content Records</description> - <implements service="createTextContent" optional="false"/> - <implements service="createPartyContent" optional="false"/> - <override name="contentId" optional="true"/> + <group> + <invoke name="createTextContent" result-to-context="true"/> + <invoke name="createPartyContent"/> + </group> </service> <service name="uploadPartyContentFile" engine="group" transaction-timeout="300"> Modified: ofbiz/trunk/applications/workeffort/servicedef/services.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/workeffort/servicedef/services.xml?view=diff&rev=493129&r1=493128&r2=493129 ============================================================================== --- ofbiz/trunk/applications/workeffort/servicedef/services.xml (original) +++ ofbiz/trunk/applications/workeffort/servicedef/services.xml Fri Jan 5 10:38:23 2007 @@ -439,6 +439,23 @@ <auto-attributes include="nonpk" mode="IN" optional="true"/> </service> + <!-- simple use content services --> + <service name="createWorkEffortTextContent" engine="group" transaction-timeout="300" auth="true"> + <description>Creates a Text Document DataResource and Content Records</description> + <group> + <invoke name="createTextContent" result-to-context="true"/> + <invoke name="createWorkEffortContent"/> + </group> + </service> + + <service name="uploadWorkEffortContentFile" engine="group" transaction-timeout="300"> + <description>Upload and attach a file to a WorkEffort</description> + <group> + <invoke name="createContentFromUploadedFile" result-to-context="true"/> + <invoke name="createWorkEffortContent"/> + </group> + </service> + <!-- work effort review services --> <service name="createWorkEffortReview" default-entity-name="WorkEffortReview" engine="simple" location="org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml" invoke="createWorkEffortReview" auth="true"> |
Free forum by Nabble | Edit this page |