You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by er...@apache.org on 2012/12/20 10:16:35 UTC
svn commit: r1424373 - in /ofbiz/branches/release12.04: ./
applications/content/script/org/ofbiz/content/content/ContentServices.xml
Author: erwan
Date: Thu Dec 20 09:16:35 2012
New Revision: 1424373
URL: http://svn.apache.org/viewvc?rev=1424373&view=rev
Log:
Applied fix from trunk for revision: 1364216
===
Removed duplicated service implementations (there were 2 copies in the same file).
Modified:
ofbiz/branches/release12.04/ (props changed)
ofbiz/branches/release12.04/applications/content/script/org/ofbiz/content/content/ContentServices.xml
Propchange: ofbiz/branches/release12.04/
------------------------------------------------------------------------------
Merged /ofbiz/trunk:r1364216
Modified: ofbiz/branches/release12.04/applications/content/script/org/ofbiz/content/content/ContentServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/branches/release12.04/applications/content/script/org/ofbiz/content/content/ContentServices.xml?rev=1424373&r1=1424372&r2=1424373&view=diff
==============================================================================
--- ofbiz/branches/release12.04/applications/content/script/org/ofbiz/content/content/ContentServices.xml (original)
+++ ofbiz/branches/release12.04/applications/content/script/org/ofbiz/content/content/ContentServices.xml Thu Dec 20 09:16:35 2012
@@ -491,27 +491,6 @@
<remove-value value-field="lookedUpValue"/>
</simple-method>
- <!-- Methods for ContentPurposeOperation -->
- <simple-method method-name="createContentPurposeOperation" short-description="Create Content PurposeOperation">
- <make-value entity-name="ContentPurposeOperation" value-field="newEntity"/>
- <set-nonpk-fields map="parameters" value-field="newEntity"/>
- <set-pk-fields map="parameters" value-field="newEntity"/>
- <create-value value-field="newEntity"/>
- </simple-method>
- <simple-method method-name="updateContentPurposeOperation" short-description="Update Content PurposeOperation">
- <make-value entity-name="ContentPurposeOperation" value-field="lookupKeyValue"/>
- <set-pk-fields map="parameters" value-field="lookupKeyValue"/>
- <find-by-primary-key entity-name="ContentPurposeOperation" map="lookupKeyValue" value-field="lookedUpValue"/>
- <set-nonpk-fields map="parameters" value-field="lookedUpValue"/>
- <store-value value-field="lookedUpValue"/>
- </simple-method>
- <simple-method method-name="removeContentPurposeOperation" short-description="Remove Content PurposeOperation">
- <make-value entity-name="ContentPurposeOperation" value-field="lookupKeyValue"/>
- <set-pk-fields map="parameters" value-field="lookupKeyValue"/>
- <find-by-primary-key entity-name="ContentPurposeOperation" map="lookupKeyValue" value-field="lookedUpValue"/>
- <remove-value value-field="lookedUpValue"/>
- </simple-method>
-
<!-- Methods for ContentAttribute -->
<simple-method method-name="createContentAttribute" short-description="Create Content Attribute">
<make-value entity-name="ContentAttribute" value-field="newEntity"/>
@@ -533,28 +512,6 @@
<remove-value value-field="lookedUpValue"/>
</simple-method>
- <!-- Methods for ContentMetaData -->
- <simple-method method-name="createContentMetaData" short-description="Create Content MetaData">
- <make-value entity-name="ContentMetaData" value-field="newEntity"/>
- <set-nonpk-fields map="parameters" value-field="newEntity"/>
- <set-pk-fields map="parameters" value-field="newEntity"/>
- <create-value value-field="newEntity"/>
- </simple-method>
- <simple-method method-name="updateContentMetaData" short-description="Update Content MetaData">
- <make-value entity-name="ContentMetaData" value-field="lookupKeyValue"/>
- <set-pk-fields map="parameters" value-field="lookupKeyValue"/>
- <find-by-primary-key entity-name="ContentMetaData" map="lookupKeyValue" value-field="lookedUpValue"/>
- <set-nonpk-fields map="parameters" value-field="lookedUpValue"/>
- <store-value value-field="lookedUpValue"/>
- </simple-method>
- <simple-method method-name="removeContentMetaData" short-description="Remove Content MetaData">
- <check-errors/>
- <make-value entity-name="ContentMetaData" value-field="lookupKeyValue"/>
- <set-pk-fields map="parameters" value-field="lookupKeyValue"/>
- <find-by-primary-key entity-name="ContentMetaData" map="lookupKeyValue" value-field="lookedUpValue"/>
- <remove-value value-field="lookedUpValue"/>
- </simple-method>
-
<!-- combined text + uploaded file service -->
<simple-method method-name="createTextAndUploadedContent" short-description="Creates Text and Optionally Uploaded (sub) Content records">
<set-service-fields service-name="createTextContent" map="parameters" to-map="textContext"/>