svn commit: r1768163 - in /ofbiz/trunk: applications/accounting/minilang/finaccount/ applications/accounting/minilang/fixedasset/ applications/accounting/minilang/invoice/ applications/accounting/servicedef/ framework/entityext/servicedef/

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1768163 - in /ofbiz/trunk: applications/accounting/minilang/finaccount/ applications/accounting/minilang/fixedasset/ applications/accounting/minilang/invoice/ applications/accounting/servicedef/ framework/entityext/servicedef/

Arun Patidar-4
Author: arunpatidar
Date: Sat Nov  5 08:44:44 2016
New Revision: 1768163

URL: http://svn.apache.org/viewvc?rev=1768163&view=rev
Log:
Implemented: Added CRUD services for TestingSubtype,TestingType, UserAgentType, UserAgentMethodType, FinAccountRole, BrowserType, PlatformType, ProtocolType, ServerHitType, UserAgent, FinAccount, FinAccountTypeGlAccount, VarianceReasonGlAccount, FixedAssetTypeGlAccount, InvoiceTerm, InvoiceContactMech, InvoiceContent entities.

(OFBIZ-8785)(OFBIZ-8786)(OFBIZ-8790)(OFBIZ-8791)(OFBIZ-8805)(OFBIZ-8834)(OFBIZ-8835)(OFBIZ-8836)(OFBIZ-8837)(OFBIZ-8839)(OFBIZ-8881)(OFBIZ-8888)(OFBIZ-8892)(OFBIZ-8894)(OFBIZ-8916)(OFBIZ-8923)(OFBIZ-8928)

Thanks: Rahul Singh, Rohit Koushal, Amit Gadalay and Rishi Solanki for the contribution.

Modified:
    ofbiz/trunk/applications/accounting/minilang/finaccount/FinAccountServices.xml
    ofbiz/trunk/applications/accounting/minilang/fixedasset/FixedAssetServices.xml
    ofbiz/trunk/applications/accounting/minilang/invoice/InvoiceServices.xml
    ofbiz/trunk/applications/accounting/servicedef/services_finaccount.xml
    ofbiz/trunk/applications/accounting/servicedef/services_fixedasset.xml
    ofbiz/trunk/applications/accounting/servicedef/services_invoice.xml
    ofbiz/trunk/applications/accounting/servicedef/services_ledger.xml
    ofbiz/trunk/framework/entityext/servicedef/services.xml

Modified: ofbiz/trunk/applications/accounting/minilang/finaccount/FinAccountServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/minilang/finaccount/FinAccountServices.xml?rev=1768163&r1=1768162&r2=1768163&view=diff
==============================================================================
--- ofbiz/trunk/applications/accounting/minilang/finaccount/FinAccountServices.xml (original)
+++ ofbiz/trunk/applications/accounting/minilang/finaccount/FinAccountServices.xml Sat Nov  5 08:44:44 2016
@@ -221,15 +221,6 @@ under the License.
 
         <create-value value-field="newEntity"/>
     </simple-method>
-    <simple-method method-name="updateFinAccountRole" short-description="Update a Financial Account Role">
-        <entity-one entity-name="FinAccountRole" value-field="lookedUpValue"/>
-        <set-nonpk-fields map="parameters" value-field="lookedUpValue"/>
-        <store-value value-field="lookedUpValue"/>
-    </simple-method>
-    <simple-method method-name="deleteFinAccountRole" short-description="Delete a Financial Account Role">
-        <entity-one entity-name="FinAccountRole" value-field="lookedUpValue"/>
-        <remove-value value-field="lookedUpValue"/>
-    </simple-method>
 
     <!-- FinAccountAuth Services -->
     <simple-method method-name="createFinAccountAuth" short-description="Create a Financial Account Authorization">
@@ -351,44 +342,6 @@ under the License.
         <store-value value-field="finAccount"/>
     </simple-method>
 
-    <!-- FinAccountTypeGlAccount methods -->
-    <simple-method method-name="createFinAccountTypeGlAccount" short-description="Create an FinAccountTypeGlAccount">
-        <make-value value-field="newEntity" entity-name="FinAccountTypeGlAccount"/>
-        <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="updateFinAccountTypeGlAccount" short-description="Update an FinAccountTypeGlAccount">
-        <entity-one entity-name="FinAccountTypeGlAccount" value-field="lookedUpValue"/>
-        <set-nonpk-fields value-field="lookedUpValue" map="parameters"/>
-        <store-value value-field="lookedUpValue"/>
-    </simple-method>
-
-    <simple-method method-name="deleteFinAccountTypeGlAccount" short-description="Delete an FinAccountTypeGlAccount">
-        <entity-one entity-name="FinAccountTypeGlAccount" value-field="lookedUpValue"/>
-        <remove-value value-field="lookedUpValue"/>
-    </simple-method>
-
-    <!-- VarianceReasonGlAccount methods -->
-    <simple-method method-name="createVarianceReasonGlAccount" short-description="Create a Variance Reason Gl Account">
-        <make-value entity-name="VarianceReasonGlAccount" 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="updateVarianceReasonGlAccount" short-description="Update an Variance Reason Gl Account">
-        <entity-one entity-name="VarianceReasonGlAccount" value-field="lookedUpValue"/>
-        <set-nonpk-fields value-field="lookedUpValue" map="parameters"/>
-        <store-value value-field="lookedUpValue"/>
-    </simple-method>
-
-    <simple-method method-name="deleteVarianceReasonGlAccount" short-description="Delete an Variance Reason Gl Account">
-        <entity-one entity-name="VarianceReasonGlAccount" value-field="lookedUpValue"/>
-        <remove-value value-field="lookedUpValue"/>
-    </simple-method>
-
     <simple-method method-name="depositWithdrawPayments" short-description="Deposit withdraw payments">
         <set field="paymentIds" from-field="parameters.paymentIds"/>
         <set field="finAccountId" from-field="parameters.finAccountId"/>

Modified: ofbiz/trunk/applications/accounting/minilang/fixedasset/FixedAssetServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/minilang/fixedasset/FixedAssetServices.xml?rev=1768163&r1=1768162&r2=1768163&view=diff
==============================================================================
--- ofbiz/trunk/applications/accounting/minilang/fixedasset/FixedAssetServices.xml (original)
+++ ofbiz/trunk/applications/accounting/minilang/fixedasset/FixedAssetServices.xml Sat Nov  5 08:44:44 2016
@@ -763,17 +763,4 @@ under the License.
         </if>
     </simple-method>
 
-    <simple-method method-name="createFixedAssetTypeGlAccount" short-description="Create a Fixed Asset Type Gl Account Mapping">
-        <make-value entity-name="FixedAssetTypeGlAccount" value-field="newEntity"/>
-        <set-pk-fields value-field="newEntity" map="parameters"/>
-        <set-nonpk-fields value-field="newEntity" map="parameters"/>
-        <if-empty field="newEntity.fixedAssetId">
-            <set field="newEntity.fixedAssetId" from-field="_NA_"/>
-        </if-empty>
-        <if-empty field="newEntity.fixedAssetTypeId">
-            <set field="newEntity.fixedAssetTypeId" from-field="_NA_"/>
-        </if-empty>
-        <create-value value-field="newEntity"/>
-    </simple-method>
-
 </simple-methods>

Modified: ofbiz/trunk/applications/accounting/minilang/invoice/InvoiceServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/minilang/invoice/InvoiceServices.xml?rev=1768163&r1=1768162&r2=1768163&view=diff
==============================================================================
--- ofbiz/trunk/applications/accounting/minilang/invoice/InvoiceServices.xml (original)
+++ ofbiz/trunk/applications/accounting/minilang/invoice/InvoiceServices.xml Sat Nov  5 08:44:44 2016
@@ -596,12 +596,6 @@ under the License.
         </if-compare>
         <check-errors/>
     </simple-method>
-    <simple-method method-name="createInvoiceContactMech" short-description="Create a ContactMech for an invoice">
-        <make-value value-field="invoiceContactMech" entity-name="InvoiceContactMech"/>
-        <set-pk-fields map="parameters" value-field="invoiceContactMech"/>
-        <create-value value-field="invoiceContactMech"/>
-        <field-to-result field="contactMechId" result-name="invoiceContactMech"/>
-    </simple-method>
 
    <simple-method method-name="autoGenerateInvoiceFromExistingInvoice" short-description="Scheduled service to generate Invoice from an existing Invoice">
        <entity-and entity-name="Invoice" list="invoices">
@@ -976,13 +970,7 @@ under the License.
         <set-service-fields service-name="updateContent" map="parameters" to-map="updateContent"/>
         <call-service service-name="updateContent" in-map-name="updateContent"/>
     </simple-method>
-    <simple-method method-name="removeInvoiceContent" short-description="Remove Content From Invoice">
-        <make-value value-field="lookupPKMap" entity-name="InvoiceContent"/>
-        <set-pk-fields map="parameters" value-field="lookupPKMap"/>
-        <find-by-primary-key map="lookupPKMap" value-field="lookedUpValue"/>
-        <remove-value value-field="lookedUpValue"/>
-    </simple-method>
-    
+
     <simple-method method-name="createSimpleTextContentForInvoice" short-description="Create Simple Text Content For Invoice">
         <set-service-fields service-name="createInvoiceContent" map="parameters" to-map="createInvoiceContentMap"/>
         <set-service-fields service-name="createSimpleTextContent" map="parameters" to-map="createSimpleTextMap"/>

Modified: ofbiz/trunk/applications/accounting/servicedef/services_finaccount.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/servicedef/services_finaccount.xml?rev=1768163&r1=1768162&r2=1768163&view=diff
==============================================================================
--- ofbiz/trunk/applications/accounting/servicedef/services_finaccount.xml (original)
+++ ofbiz/trunk/applications/accounting/servicedef/services_finaccount.xml Sat Nov  5 08:44:44 2016
@@ -48,8 +48,7 @@ under the License.
         <attribute name="replenishPaymentId" type="String" mode="OUT" optional="true"/>
         <attribute name="replenishLevel" type="BigDecimal" mode="OUT" optional="true"/>
     </service>
-    <service name="deleteFinAccount" engine="simple" default-entity-name="FinAccount"
-            location="component://accounting/minilang/finaccount/FinAccountServices.xml" invoke="deleteFinAccount">
+    <service name="deleteFinAccount" default-entity-name="FinAccount" engine="entity-auto" invoke="delete">
         <description>Delete a Financial Account</description>
         <auto-attributes mode="IN" optional="false" include="pk"/>
     </service>
@@ -96,16 +95,14 @@ under the License.
         <auto-attributes mode="IN" optional="true" include="nonpk"/>
         <override name="fromDate" optional="true"/>
     </service>
-    <service name="updateFinAccountRole" engine="simple" default-entity-name="FinAccountRole"
-            location="component://accounting/minilang/finaccount/FinAccountServices.xml" invoke="updateFinAccountRole">
-        <description>Update a Financial Account Role</description>
-        <auto-attributes mode="IN" optional="false" include="pk"/>
-        <auto-attributes mode="IN" optional="true" include="nonpk"/>
-    </service>
-    <service name="deleteFinAccountRole" engine="simple" default-entity-name="FinAccountRole"
-            location="component://accounting/minilang/finaccount/FinAccountServices.xml" invoke="deleteFinAccountRole">
-        <description>Remove a Financial Account Role</description>
-        <auto-attributes mode="IN" optional="false" include="pk"/>
+    <service name="updateFinAccountRole" default-entity-name="FinAccountRole" engine="entity-auto" invoke="update" auth="true">
+        <description>Update a FinAccountRole</description>
+        <auto-attributes include="pk" mode="IN" optional="false"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="deleteFinAccountRole" default-entity-name="FinAccountRole" engine="entity-auto" invoke="delete" auth="true">
+        <description>Delete a FinAccountRole</description>
+        <auto-attributes include="pk" mode="IN" optional="false"/>
     </service>
 
     <service name="createFinAccountAuth" engine="simple" default-entity-name="FinAccountAuth"

Modified: ofbiz/trunk/applications/accounting/servicedef/services_fixedasset.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/servicedef/services_fixedasset.xml?rev=1768163&r1=1768162&r2=1768163&view=diff
==============================================================================
--- ofbiz/trunk/applications/accounting/servicedef/services_fixedasset.xml (original)
+++ ofbiz/trunk/applications/accounting/servicedef/services_fixedasset.xml Sat Nov  5 08:44:44 2016
@@ -276,6 +276,11 @@ under the License.
         <attribute name="fixedAssetId" type="String" mode="IN" optional="true" default-value="_NA_"/>
         <attribute name="organizationPartyId" type="String" mode="IN" optional="false"/>
     </service>
+    <service name="updateFixedAssetTypeGlAccount" default-entity-name="FixedAssetTypeGlAccount" engine="entity-auto" invoke="update" auth="true">
+        <description>Update a Fixed Asset Type Gl Account Mapping</description>
+        <permission-service service-name="fixedAssetPermissionCheck" main-action="UPDATE"/>
+        <auto-attributes include="pk" mode="IN" optional="false"/>
+    </service>
     <service name="deleteFixedAssetTypeGlAccount" default-entity-name="FixedAssetTypeGlAccount" engine="entity-auto" invoke="delete" auth="true">
         <description>Delete a Fixed Asset Type Gl Account Mapping</description>
         <permission-service service-name="fixedAssetPermissionCheck" main-action="DELETE"/>

Modified: ofbiz/trunk/applications/accounting/servicedef/services_invoice.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/servicedef/services_invoice.xml?rev=1768163&r1=1768162&r2=1768163&view=diff
==============================================================================
--- ofbiz/trunk/applications/accounting/servicedef/services_invoice.xml (original)
+++ ofbiz/trunk/applications/accounting/servicedef/services_invoice.xml Sat Nov  5 08:44:44 2016
@@ -160,6 +160,17 @@ under the License.
         <auto-attributes mode="OUT" include="pk" optional="false"/>
         <auto-attributes mode="IN" include="nonpk" optional="true"/>
     </service>
+    <service name="updateInvoiceTerm" engine="entity-auto" default-entity-name="InvoiceTerm" invoke="update">
+        <description>Update Invoice (Item) Term Record</description>
+        <permission-service service-name="acctgInvoicePermissionCheck" main-action="UPDATE"/>
+        <auto-attributes mode="IN" include="pk" optional="false"/>
+        <auto-attributes mode="IN" include="nonpk" optional="true"/>
+    </service>
+    <service name="deleteInvoiceTerm" engine="entity-auto" default-entity-name="InvoiceTerm" invoke="delete">
+        <description>Delete Invoice (Item) Term Record</description>
+        <permission-service service-name="acctgInvoicePermissionCheck" main-action="DELETE"/>
+        <auto-attributes mode="IN" include="pk" optional="false"/>
+    </service>
     <service name="createInvoiceForOrderAllItems" engine="java"
         location="org.apache.ofbiz.accounting.invoice.InvoiceServices" invoke="createInvoiceForOrderAllItems">
         <description>
@@ -290,13 +301,17 @@ under the License.
         <description>Checks to see if the payments applied to an invoice total up to the invoice total; if so sets to PAID</description>
         <attribute name="invoiceId" type="String" mode="IN" optional="false"/>
     </service>
-    <service name="createInvoiceContactMech" engine="simple"
-            location="component://accounting/minilang/invoice/InvoiceServices.xml" invoke="createInvoiceContactMech">
+    <service name="createInvoiceContactMech" engine="entity-auto" invoke="create" default-entity-name="InvoiceContactMech">
         <description>Create a ContactMech for an invoice</description>
         <permission-service service-name="acctgInvoicePermissionCheck" main-action="CREATE"/>
-        <auto-attributes entity-name="InvoiceContactMech" include="pk" mode="IN" optional="false"/>
+        <auto-attributes include="pk" mode="IN" optional="false"/>
         <attribute name="contactMechId" type="String" mode="OUT" optional="true"/>
     </service>
+    <service name="deleteInvoiceContactMech" engine="entity-auto" invoke="delete" default-entity-name="InvoiceContactMech">
+        <description>Delete a ContactMech for an invoice</description>
+        <permission-service service-name="acctgInvoicePermissionCheck" main-action="DELETE"/>
+        <auto-attributes include="pk" mode="IN" optional="false"/>
+    </service>
     <service name="calculateInvoicedAdjustmentTotal" engine="java"
             location="org.apache.ofbiz.accounting.invoice.InvoiceServices" invoke="calculateInvoicedAdjustmentTotal">
         <description>Calculate the previously invoiced amount for an OrderAdjustment</description>
@@ -405,13 +420,11 @@ under the License.
         <auto-attributes include="nonpk" mode="IN" optional="true"/>
         <auto-attributes entity-name="Content" include="nonpk" mode="IN" optional="true"/>
     </service>
-    <service name="removeInvoiceContent" default-entity-name="InvoiceContent" engine="simple"
-        location="component://accounting/minilang/invoice/InvoiceServices.xml" invoke="removeInvoiceContent" auth="true">
+    <service name="removeInvoiceContent" default-entity-name="InvoiceContent" engine="entity-auto" invoke="delete" auth="true">
         <description>Remove Content From Invoice</description>
         <auto-attributes include="pk" mode="IN" optional="false"/>
-        <auto-attributes include="nonpk" mode="IN" optional="true"/>
     </service>
-    
+
     <service name="createSimpleTextContentForInvoice" default-entity-name="InvoiceContent" engine="simple"
         location="component://accounting/minilang/invoice/InvoiceServices.xml" invoke="createSimpleTextContentForInvoice" auth="true">
         <auto-attributes include="pk" mode="IN" optional="false"/>

Modified: ofbiz/trunk/applications/accounting/servicedef/services_ledger.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/servicedef/services_ledger.xml?rev=1768163&r1=1768162&r2=1768163&view=diff
==============================================================================
--- ofbiz/trunk/applications/accounting/servicedef/services_ledger.xml (original)
+++ ofbiz/trunk/applications/accounting/servicedef/services_ledger.xml Sat Nov  5 08:44:44 2016
@@ -368,39 +368,33 @@ under the License.
     </service>
 
     <!-- FinAccountTypeGlAccount Services -->
-    <service name="createFinAccountTypeGlAccount" default-entity-name="FinAccountTypeGlAccount" engine="simple"
-                location="component://accounting/minilang/finaccount/FinAccountServices.xml" invoke="createFinAccountTypeGlAccount" auth="true">
+    <service name="createFinAccountTypeGlAccount" default-entity-name="FinAccountTypeGlAccount" engine="entity-auto" invoke="create" auth="true">
         <description>Create a FinAccountTypeGlAccount</description>
         <auto-attributes include="pk" mode="IN" optional="false"/>
         <auto-attributes include="nonpk" mode="IN" optional="false"/>
     </service>
-    <service name="updateFinAccountTypeGlAccount" default-entity-name="FinAccountTypeGlAccount" engine="simple"
-                location="component://accounting/minilang/finaccount/FinAccountServices.xml" invoke="updateFinAccountTypeGlAccount" auth="true">
+    <service name="updateFinAccountTypeGlAccount" default-entity-name="FinAccountTypeGlAccount" engine="entity-auto" invoke="update" auth="true">
         <description>Update a FinAccountTypeGlAccount</description>
         <auto-attributes include="pk" mode="IN" optional="false"/>
         <auto-attributes include="nonpk" mode="IN" optional="false"/>
     </service>
-    <service name="deleteFinAccountTypeGlAccount" default-entity-name="FinAccountTypeGlAccount" engine="simple"
-                location="component://accounting/minilang/finaccount/FinAccountServices.xml" invoke="deleteFinAccountTypeGlAccount" auth="true">
+    <service name="deleteFinAccountTypeGlAccount" default-entity-name="FinAccountTypeGlAccount" engine="entity-auto" invoke="delete" auth="true">
         <description>Delete a FinAccountTypeGlAccount</description>
         <auto-attributes include="pk" mode="IN" optional="false"/>
     </service>
 
     <!-- VarianceReasonGlAccount Services -->
-    <service name="createVarianceReasonGlAccount" default-entity-name="VarianceReasonGlAccount" engine="simple"
-                location="component://accounting/minilang/finaccount/FinAccountServices.xml" invoke="createVarianceReasonGlAccount" auth="true">
+    <service name="createVarianceReasonGlAccount" default-entity-name="VarianceReasonGlAccount" engine="entity-auto" invoke="create" auth="true">
         <description>create a Variance Reason Gl Account</description>
         <auto-attributes include="pk" mode="IN" optional="false"/>
         <auto-attributes include="nonpk" mode="IN" optional="false"/>
     </service>
-    <service name="updateVarianceReasonGlAccount" default-entity-name="VarianceReasonGlAccount" engine="simple"
-                location="component://accounting/minilang/finaccount/FinAccountServices.xml" invoke="updateVarianceReasonGlAccount" auth="true">
+    <service name="updateVarianceReasonGlAccount" default-entity-name="VarianceReasonGlAccount" engine="entity-auto" invoke="update" auth="true">
         <description>Update a Variance Reason Gl Account</description>
         <auto-attributes include="pk" mode="IN" optional="false"/>
         <auto-attributes include="nonpk" mode="IN" optional="false"/>
     </service>
-    <service name="deleteVarianceReasonGlAccount" default-entity-name="VarianceReasonGlAccount" engine="simple"
-                location="component://accounting/minilang/finaccount/FinAccountServices.xml" invoke="deleteVarianceReasonGlAccount" auth="true">
+    <service name="deleteVarianceReasonGlAccount" default-entity-name="VarianceReasonGlAccount" engine="entity-auto" invoke="delete" auth="true">
         <description>delete a Variance Reason Gl Account</description>
         <auto-attributes include="pk" mode="IN" optional="false"/>
     </service>

Modified: ofbiz/trunk/framework/entityext/servicedef/services.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/entityext/servicedef/services.xml?rev=1768163&r1=1768162&r2=1768163&view=diff
==============================================================================
--- ofbiz/trunk/framework/entityext/servicedef/services.xml (original)
+++ ofbiz/trunk/framework/entityext/servicedef/services.xml Sat Nov  5 08:44:44 2016
@@ -322,4 +322,132 @@ under the License.
         <description>Remotely Pull And Report Entity Sync Data</description>
         <implements service="pullAndReportEntitySyncData"/>
     </service>
+
+    <!-- TestingSubtype services -->
+    <service name="createTestingSubtype" default-entity-name="TestingSubtype" engine="entity-auto" invoke="create" auth="true">
+        <description>Create a TestingSubtype record</description>
+        <auto-attributes mode="INOUT" include="pk" optional="true"/>
+        <auto-attributes mode="IN" include="nonpk" optional="true"/>
+    </service>
+    <service name="updateTestingSubtype" default-entity-name="TestingSubtype" engine="entity-auto" invoke="update" auth="true">
+        <description>Update a TestingSubtype record</description>
+        <auto-attributes mode="IN" include="pk"/>
+        <auto-attributes mode="IN" include="nonpk" optional="true"/>
+    </service>
+    <service name="deleteTestingSubtype" default-entity-name="TestingSubtype" engine="entity-auto" invoke="delete" auth="true">
+        <description>Delete a TestingSubtype record</description>
+        <auto-attributes mode="IN" include="pk"/>
+    </service>
+
+    <!-- TestingType services -->
+    <service name="createTestingType" default-entity-name="TestingType" engine="entity-auto" invoke="create" auth="true">
+        <description>Create a TestingType record</description>
+        <auto-attributes mode="INOUT" include="pk" optional="true"/>
+        <auto-attributes mode="IN" include="nonpk" optional="true"/>
+    </service>
+    <service name="updateTestingType" default-entity-name="TestingType" engine="entity-auto" invoke="update" auth="true">
+        <description>Update a TestingType record</description>
+        <auto-attributes mode="IN" include="pk"/>
+        <auto-attributes mode="IN" include="nonpk" optional="true"/>
+    </service>
+    <service name="deleteTestingType" default-entity-name="TestingType" engine="entity-auto" invoke="delete" auth="true">
+        <description>Delete a TestingType record</description>
+        <auto-attributes mode="IN" include="pk"/>
+    </service>
+
+    <!-- UserAgentType services -->
+    <service name="createUserAgentType" default-entity-name="UserAgentType" engine="entity-auto" invoke="create" auth="true">
+        <description>Create a UserAgentType record</description>
+        <auto-attributes mode="INOUT" include="pk" optional="true"/>
+        <auto-attributes mode="IN" include="nonpk" optional="true"/>
+    </service>
+    <service name="updateUserAgentType" default-entity-name="UserAgentType" engine="entity-auto" invoke="update" auth="true">
+        <description>Update a UserAgentType record</description>
+        <auto-attributes mode="IN" include="pk"/>
+        <auto-attributes mode="IN" include="nonpk" optional="true"/>
+    </service>
+    <service name="deleteUserAgentType" default-entity-name="UserAgentType" engine="entity-auto" invoke="delete" auth="true">
+        <description>Delete a UserAgentType record</description>
+        <auto-attributes mode="IN" include="pk"/>
+    </service>
+
+    <!-- UserAgentMethodType services -->
+    <service name="createUserAgentMethodType" default-entity-name="UserAgentMethodType" engine="entity-auto" invoke="create" auth="true">
+        <description>Create a UserAgentMethodType record</description>
+        <auto-attributes mode="INOUT" include="pk" optional="true"/>
+        <auto-attributes mode="IN" include="nonpk" optional="true"/>
+    </service>
+    <service name="updateUserAgentMethodType" default-entity-name="UserAgentMethodType" engine="entity-auto" invoke="update" auth="true">
+        <description>Update a UserAgentMethodType record</description>
+        <auto-attributes mode="IN" include="pk"/>
+        <auto-attributes mode="IN" include="nonpk" optional="true"/>
+    </service>
+    <service name="deleteUserAgentMethodType" default-entity-name="UserAgentMethodType" engine="entity-auto" invoke="delete" auth="true">
+        <description>Delete a UserAgentMethodType record</description>
+        <auto-attributes mode="IN" include="pk"/>
+    </service>
+
+    <!-- BrowserType services -->
+    <service name="createBrowserType" default-entity-name="BrowserType" engine="entity-auto" invoke="create" auth="true">
+        <description>Create a BrowserType</description>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+        <auto-attributes include="pk" mode="INOUT" optional="true"/>
+    </service>
+    <service name="updateBrowserType" default-entity-name="BrowserType" engine="entity-auto" invoke="update" auth="true">
+        <description>Update a BrowserType</description>
+        <auto-attributes include="pk" mode="IN" optional="false"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="deleteBrowserType" default-entity-name="BrowserType" engine="entity-auto" invoke="delete" auth="true">
+        <description>Delete a BrowserType</description>
+        <auto-attributes include="pk" mode="IN" optional="false"/>
+    </service>
+
+    <!-- PlatformType services -->
+    <service name="createPlatformType" default-entity-name="PlatformType" engine="entity-auto" invoke="create" auth="true">
+        <description>Create a PlatformType</description>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+        <auto-attributes include="pk" mode="INOUT" optional="true"/>
+    </service>
+    <service name="updatePlatformType" default-entity-name="PlatformType" engine="entity-auto" invoke="update" auth="true">
+        <description>Update a PlatformType</description>
+        <auto-attributes include="pk" mode="IN" optional="false"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="deletePlatformType" default-entity-name="PlatformType" engine="entity-auto" invoke="delete" auth="true">
+        <description>Delete a PlatformType</description>
+        <auto-attributes include="pk" mode="IN" optional="false"/>
+    </service>
+
+    <!-- ProtocolType services -->
+    <service name="createProtocolType" default-entity-name="ProtocolType" engine="entity-auto" invoke="create" auth="true">
+        <description>Create a ProtocolType</description>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+        <auto-attributes include="pk" mode="INOUT" optional="true"/>
+    </service>
+    <service name="updateProtocolType" default-entity-name="ProtocolType" engine="entity-auto" invoke="update" auth="true">
+        <description>Update a ProtocolType</description>
+        <auto-attributes include="pk" mode="IN" optional="false"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="deleteProtocolType" default-entity-name="ProtocolType" engine="entity-auto" invoke="delete" auth="true">
+        <description>Delete a ProtocolType</description>
+        <auto-attributes include="pk" mode="IN" optional="false"/>
+    </service>
+
+    <!-- ServerHitType services -->
+    <service name="createServerHitType" default-entity-name="ServerHitType" engine="entity-auto" invoke="create" auth="true">
+        <description>Create a ServerHitType</description>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+        <auto-attributes include="pk" mode="INOUT" optional="true"/>
+    </service>
+    <service name="updateServerHitType" default-entity-name="ServerHitType" engine="entity-auto" invoke="update" auth="true">
+        <description>Update a ServerHitType</description>
+        <auto-attributes include="pk" mode="IN" optional="false"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="deleteServerHitType" default-entity-name="ServerHitType" engine="entity-auto" invoke="delete" auth="true">
+        <description>Delete a ServerHitType</description>
+        <auto-attributes include="pk" mode="IN" optional="false"/>
+    </service>
 </services>