Author: jonesde
Date: Sat Mar 24 14:12:07 2007
New Revision: 522107
URL: http://svn.apache.org/viewvc?view=rev&rev=522107
Log:
Some more FinAccount cleanups, changed remove prefixes to delete for consistency
Modified:
ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/finaccount/FinAccountServices.xml
ofbiz/trunk/applications/accounting/servicedef/services_finaccount.xml
Modified:
ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/finaccount/FinAccountServices.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/finaccount/FinAccountServices.xml?view=diff&rev=522107&r1=522106&r2=522107
==============================================================================
---
ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/finaccount/FinAccountServices.xml
(original)
+++
ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/finaccount/FinAccountServices.xml
Sat Mar 24 14:12:07 2007
@@ -41,7 +41,7 @@
<store-value value-name="lookedUpValue"/>
<field-to-result field-name="lookedUpValue.finAccountId"
result-name="finAccountId"/>
</simple-method>
- <simple-method method-name="removeFinAccount" short-description="Remove a
Financial Account">
+ <simple-method method-name="deleteFinAccount" short-description="Delete a
Financial Account">
<entity-one value-name="finAccount" entity-name="FinAccount"/>
<remove-value value-name="finAccount"/>
</simple-method>
@@ -81,7 +81,7 @@
<set-nonpk-fields map-name="parameters" value-name="lookedUpValue"/>
<store-value value-name="lookedUpValue"/>
</simple-method>
- <simple-method method-name="removeFinAccountRole"
short-description="Remove a Financial Account Role">
+ <simple-method method-name="deleteFinAccountRole"
short-description="Delete a Financial Account Role">
<entity-one entity-name="FinAccountRole" value-name="lookedUpValue"/>
<remove-value value-name="lookedUpValue"/>
</simple-method>
@@ -103,7 +103,7 @@
<create-value value-name="newEntity"/>
<field-to-result field-name="newEntity.finAccountAuthId"
result-name="finAccountAuthId"/>
</simple-method>
- <simple-method short-description="Expire a Financial Account
Authorization" method-name="expireFinAccountAuth">
+ <simple-method method-name="expireFinAccountAuth"
short-description="Expire a Financial Account Authorization">
<entity-one entity-name="FinAccountAuth" value-name="finAccountAuth"/>
<if-empty field-name="parameters.expireDateTime">
<now-timestamp-to-env env-name="finAccountAuth.thruDate"/>
Modified: ofbiz/trunk/applications/accounting/servicedef/services_finaccount.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/servicedef/services_finaccount.xml?view=diff&rev=522107&r1=522106&r2=522107
==============================================================================
--- ofbiz/trunk/applications/accounting/servicedef/services_finaccount.xml
(original)
+++ ofbiz/trunk/applications/accounting/servicedef/services_finaccount.xml Sat
Mar 24 14:12:07 2007
@@ -31,17 +31,15 @@
<auto-attributes mode="IN" optional="true" include="nonpk"/>
<auto-attributes mode="INOUT" optional="true" include="pk"/>
</service>
-
<service name="updateFinAccount" engine="simple"
default-entity-name="FinAccount"
location="org/ofbiz/accounting/finaccount/FinAccountServices.xml"
invoke="updateFinAccount">
<description>Update a Financial Account</description>
<auto-attributes mode="IN" optional="true" include="nonpk"/>
<auto-attributes mode="INOUT" optional="false" include="pk"/>
</service>
-
- <service name="removeFinAccount" engine="simple"
default-entity-name="FinAccount"
- location="org/ofbiz/accounting/finaccount/FinAccountServices.xml"
invoke="removeFinAccount">
- <description>Remove a Financial Account</description>
+ <service name="deleteFinAccount" engine="simple"
default-entity-name="FinAccount"
+ location="org/ofbiz/accounting/finaccount/FinAccountServices.xml"
invoke="deleteFinAccount">
+ <description>Delete a Financial Account</description>
<auto-attributes mode="IN" optional="false" include="pk"/>
</service>
@@ -67,8 +65,8 @@
<auto-attributes mode="IN" optional="false" include="pk"/>
</service>
- <service name="removeFinAccountRole" engine="simple"
default-entity-name="FinAccountRole"
- location="org/ofbiz/accounting/finaccount/FinAccountServices.xml"
invoke="removeFinAccountRole">
+ <service name="deleteFinAccountRole" engine="simple"
default-entity-name="FinAccountRole"
+ location="org/ofbiz/accounting/finaccount/FinAccountServices.xml"
invoke="deleteFinAccountRole">
<description>Remove a Financial Account Role</description>
<auto-attributes mode="IN" optional="false" include="pk"/>
</service>