You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by de...@apache.org on 2016/11/05 16:28:58 UTC
svn commit: r1768239 [2/2] - in /ofbiz/trunk:
applications/accounting/minilang/finaccount/
applications/accounting/minilang/fixedasset/
applications/accounting/minilang/invoice/
applications/accounting/minilang/ledger/ applications/accounting/minilang/...
Modified: ofbiz/trunk/framework/entityext/minilang/EntitySyncServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/entityext/minilang/EntitySyncServices.xml?rev=1768239&r1=1768238&r2=1768239&view=diff
==============================================================================
--- ofbiz/trunk/framework/entityext/minilang/EntitySyncServices.xml (original)
+++ ofbiz/trunk/framework/entityext/minilang/EntitySyncServices.xml Sat Nov 5 16:28:57 2016
@@ -30,12 +30,6 @@ under the License.
<create-value value-field="newEntity"/>
</simple-method>
- <simple-method method-name="updateEntitySync" short-description="Update a EntitySync">
- <set field="lookupPKMap.entitySyncId" from-field="parameters.entitySyncId"/>
- <find-by-primary-key entity-name="EntitySync" map="lookupPKMap" value-field="valueToStore"/>
- <set-nonpk-fields map="parameters" value-field="valueToStore"/>
- <store-value value-field="valueToStore"/>
- </simple-method>
<simple-method method-name="resetEntitySyncStatusToNotStarted" short-description="Update a EntitySync, set the Status to ESR_NOT_STARTED, but ONLY if running (ie in ESR_RUNNING)">
<!-- TODO: add some code to make sure, as much as possible, that this really isn't running -->
<set field="lookupPKMap.entitySyncId" from-field="parameters.entitySyncId"/>
@@ -60,13 +54,6 @@ under the License.
<set from-field="newEntity.startDate" field="entitySync.lastHistoryStartDate"/>
<store-value value-field="entitySync"/>
</simple-method>
- <simple-method method-name="updateEntitySyncHistory" short-description="Update EntitySyncHistory">
- <make-value value-field="lookupPKMap" entity-name="EntitySyncHistory"/>
- <set-pk-fields map="parameters" value-field="lookupPKMap"/>
- <find-by-primary-key map="lookupPKMap" value-field="lookedUpValue"/>
- <set-nonpk-fields map="parameters" value-field="lookedUpValue"/>
- <store-value value-field="lookedUpValue"/>
- </simple-method>
<simple-method method-name="deleteEntitySyncHistory" short-description="Delete EntitySyncHistory">
<make-value value-field="lookupPKMap" entity-name="EntitySyncHistory"/>
<set-pk-fields map="parameters" value-field="lookupPKMap"/>
@@ -81,13 +68,6 @@ under the License.
<set-nonpk-fields map="parameters" value-field="newEntity"/>
<create-value value-field="newEntity"/>
</simple-method>
- <simple-method method-name="updateEntitySyncInclude" short-description="Update EntitySyncInclude">
- <make-value value-field="lookupPKMap" entity-name="EntitySyncInclude"/>
- <set-pk-fields map="parameters" value-field="lookupPKMap"/>
- <find-by-primary-key map="lookupPKMap" value-field="lookedUpValue"/>
- <set-nonpk-fields map="parameters" value-field="lookedUpValue"/>
- <store-value value-field="lookedUpValue"/>
- </simple-method>
<simple-method method-name="deleteEntitySyncInclude" short-description="Delete EntitySyncInclude">
<make-value value-field="lookupPKMap" entity-name="EntitySyncInclude"/>
<set-pk-fields map="parameters" value-field="lookupPKMap"/>
Modified: ofbiz/trunk/framework/entityext/servicedef/services.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/entityext/servicedef/services.xml?rev=1768239&r1=1768238&r2=1768239&view=diff
==============================================================================
--- ofbiz/trunk/framework/entityext/servicedef/services.xml (original)
+++ ofbiz/trunk/framework/entityext/servicedef/services.xml Sat Nov 5 16:28:57 2016
@@ -174,8 +174,7 @@ under the License.
<auto-attributes include="pk" mode="OUT" optional="false"/>
<auto-attributes include="nonpk" mode="IN" optional="true"/>
</service>
- <service name="updateEntitySync" default-entity-name="EntitySync" engine="simple"
- location="component://entityext/minilang/EntitySyncServices.xml" invoke="updateEntitySync" auth="true">
+ <service name="updateEntitySync" default-entity-name="EntitySync" engine="entity-auto" invoke="update" auth="true">
<description>Update EntitySync</description>
<permission-service service-name="entitySyncPermissionCheck" main-action="UPDATE"/>
<auto-attributes include="pk" mode="IN" optional="false"/>
@@ -189,8 +188,7 @@ under the License.
<auto-attributes include="nonpk" mode="IN" optional="true"/>
<override name="applEnumId" optional="false"/>
</service>
- <service name="updateEntitySyncInclude" default-entity-name="EntitySyncInclude" engine="simple"
- location="component://entityext/minilang/EntitySyncServices.xml" invoke="updateEntitySyncInclude" auth="true">
+ <service name="updateEntitySyncInclude" default-entity-name="EntitySyncInclude" engine="entity-auto" invoke="update" auth="true">
<description>Update EntitySyncInclude</description>
<permission-service service-name="entitySyncPermissionCheck" main-action="UPDATE"/>
<auto-attributes include="pk" mode="IN" optional="false"/>
@@ -215,8 +213,7 @@ under the License.
<auto-attributes include="nonpk" mode="IN" optional="true"/>
<override name="startDate" mode="OUT"/>
</service>
- <service name="updateEntitySyncHistory" default-entity-name="EntitySyncHistory" engine="simple"
- location="component://entityext/minilang/EntitySyncServices.xml" invoke="updateEntitySyncHistory" auth="true" require-new-transaction="true">
+ <service name="updateEntitySyncHistory" default-entity-name="EntitySyncHistory" engine="entity-auto" invoke="update" auth="true" require-new-transaction="true">
<description>Update EntitySyncHistory</description>
<permission-service service-name="entitySyncPermissionCheck" main-action="UPDATE"/>
<auto-attributes include="pk" mode="IN" optional="false"/>