You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ar...@apache.org on 2016/10/21 18:22:00 UTC

svn commit: r1766092 - in /ofbiz/trunk: applications/accounting/servicedef/ applications/marketing/servicedef/ applications/product/minilang/shipment/shipment/ applications/product/servicedef/ framework/common/servicedef/

Author: arunpatidar
Date: Fri Oct 21 18:22:00 2016
New Revision: 1766092

URL: http://svn.apache.org/viewvc?rev=1766092&view=rev
Log:
Implemented: Added CRUD services for SalesOpportunityRole, SalesOpportunityStage, SalesOpportunityTrckCode, SalesOpportunityWorkEffort, SecurityGroup, SettlementTerm, ShipmentGatewayUsps, and ShipmentItemFeature entities.

(OFBIZ-8433) (OFBIZ-8434) (OFBIZ-8435) (OFBIZ-8436) (OFBIZ-8438) (OFBIZ-8441) (OFBIZ-8464) (OFBIZ-8466)

Thanks: Rahul Singh Kushwah, Rishi Solanki for the contribution.

Modified:
    ofbiz/trunk/applications/accounting/servicedef/services_ledger.xml
    ofbiz/trunk/applications/marketing/servicedef/services_opportunity.xml
    ofbiz/trunk/applications/product/minilang/shipment/shipment/ShipmentGatewayConfigServices.xml
    ofbiz/trunk/applications/product/servicedef/services_shipment.xml
    ofbiz/trunk/applications/product/servicedef/services_shipmentgateway.xml
    ofbiz/trunk/framework/common/servicedef/services_security.xml

Modified: ofbiz/trunk/applications/accounting/servicedef/services_ledger.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/servicedef/services_ledger.xml?rev=1766092&r1=1766091&r2=1766092&view=diff
==============================================================================
--- ofbiz/trunk/applications/accounting/servicedef/services_ledger.xml (original)
+++ ofbiz/trunk/applications/accounting/servicedef/services_ledger.xml Fri Oct 21 18:22:00 2016
@@ -919,4 +919,20 @@ under the License.
         <description>Delete a GlResourceType</description>
         <auto-attributes include="pk" mode="IN" optional="false"/>
     </service>
+
+    <!-- SettlementTerm services -->
+    <service name="createSettlementTerm" default-entity-name="SettlementTerm" engine="entity-auto" invoke="create" auth="true">
+        <description>Create a SettlementTerm</description>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+        <auto-attributes include="pk" mode="INOUT" optional="true"/>
+    </service>
+    <service name="updateSettlementTerm" default-entity-name="SettlementTerm" engine="entity-auto" invoke="update" auth="true">
+        <description>Update a SettlementTerm</description>
+        <auto-attributes include="pk" mode="IN" optional="false"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="deleteSettlementTerm" default-entity-name="SettlementTerm" engine="entity-auto" invoke="delete" auth="true">
+        <description>Delete a SettlementTerm</description>
+        <auto-attributes include="pk" mode="IN" optional="false"/>
+    </service>
 </services>

Modified: ofbiz/trunk/applications/marketing/servicedef/services_opportunity.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/marketing/servicedef/services_opportunity.xml?rev=1766092&r1=1766091&r2=1766092&view=diff
==============================================================================
--- ofbiz/trunk/applications/marketing/servicedef/services_opportunity.xml (original)
+++ ofbiz/trunk/applications/marketing/servicedef/services_opportunity.xml Fri Oct 21 18:22:00 2016
@@ -126,4 +126,51 @@ under the License.
         <auto-attributes include="pk" mode="IN" optional="false"/>
     </service>
 
+    <service name="deleteSalesOpportunityRole" default-entity-name="SalesOpportunityRole" engine="entity-auto" invoke="delete" auth="true">
+        <description>Delete a SalesOpportunityRole</description>
+        <auto-attributes include="pk" mode="IN" optional="false"/>
+    </service>
+
+    <!-- SalesOpportunityStage services -->
+    <service name="createSalesOpportunityStage" default-entity-name="SalesOpportunityStage" engine="entity-auto" invoke="create" auth="true">
+        <description>Create a SalesOpportunityStage</description>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+        <auto-attributes include="pk" mode="INOUT" optional="true"/>
+    </service>
+    <service name="updateSalesOpportunityStage" default-entity-name="SalesOpportunityStage" engine="entity-auto" invoke="update" auth="true">
+        <description>Update a SalesOpportunityStage</description>
+        <auto-attributes include="pk" mode="IN" optional="false"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="deleteSalesOpportunityStage" default-entity-name="SalesOpportunityStage" engine="entity-auto" invoke="delete" auth="true">
+        <description>Delete a SalesOpportunityStage</description>
+        <auto-attributes include="pk" mode="IN" optional="false"/>
+    </service>
+
+    <!-- SalesOpportunityTrckCode services -->
+    <service name="createSalesOpportunityTrckCode" default-entity-name="SalesOpportunityTrckCode" engine="entity-auto" invoke="create" auth="true">
+        <description>Create a SalesOpportunityTrckCode</description>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+        <auto-attributes include="pk" mode="INOUT" optional="false"/>
+    </service>
+    <service name="updateSalesOpportunityTrckCode" default-entity-name="SalesOpportunityTrckCode" engine="entity-auto" invoke="update" auth="true">
+        <description>Update a SalesOpportunityTrckCode</description>
+        <auto-attributes include="pk" mode="IN" optional="false"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="deleteSalesOpportunityTrckCode" default-entity-name="SalesOpportunityTrckCode" engine="entity-auto" invoke="delete" auth="true">
+        <description>Delete a SalesOpportunityTrckCode</description>
+        <auto-attributes include="pk" mode="IN" optional="false"/>
+    </service>
+
+    <!-- SalesOpportunityWorkEffort services -->
+    <service name="createSalesOpportunityWorkEffort" default-entity-name="SalesOpportunityWorkEffort" engine="entity-auto" invoke="create" auth="true">
+        <description>Create a SalesOpportunityWorkEffort</description>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+        <auto-attributes include="pk" mode="INOUT" optional="false"/>
+    </service>
+    <service name="deleteSalesOpportunityWorkEffort" default-entity-name="SalesOpportunityWorkEffort" engine="entity-auto" invoke="delete" auth="true">
+        <description>Delete a SalesOpportunityWorkEffort</description>
+        <auto-attributes include="pk" mode="IN" optional="false"/>
+    </service>
 </services>

Modified: ofbiz/trunk/applications/product/minilang/shipment/shipment/ShipmentGatewayConfigServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/minilang/shipment/shipment/ShipmentGatewayConfigServices.xml?rev=1766092&r1=1766091&r2=1766092&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/minilang/shipment/shipment/ShipmentGatewayConfigServices.xml (original)
+++ ofbiz/trunk/applications/product/minilang/shipment/shipment/ShipmentGatewayConfigServices.xml Fri Oct 21 18:22:00 2016
@@ -44,12 +44,6 @@ under the License.
         <store-value value-field="lookedUpValue"/>
     </simple-method>
     
-    <simple-method method-name="updateShipmentGatewayConfigUsps" short-description="Update Shipment Gateway Config USPS">
-        <entity-one entity-name="ShipmentGatewayUsps" value-field="lookedUpValue"/>
-        <set-nonpk-fields map="parameters" value-field="lookedUpValue"/>
-        <store-value value-field="lookedUpValue"/>
-    </simple-method>
-    
     <simple-method method-name="updateShipmentGatewayConfigType" short-description="Update Shipment Gateway Config Type">
         <entity-one entity-name="ShipmentGatewayConfigType" value-field="lookedUpValue"/>
         <set-nonpk-fields map="parameters" value-field="lookedUpValue"/>

Modified: ofbiz/trunk/applications/product/servicedef/services_shipment.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/servicedef/services_shipment.xml?rev=1766092&r1=1766091&r2=1766092&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/servicedef/services_shipment.xml (original)
+++ ofbiz/trunk/applications/product/servicedef/services_shipment.xml Fri Oct 21 18:22:00 2016
@@ -1022,5 +1022,16 @@ under the License.
         <description>Delete a RejectionReason record</description>
         <auto-attributes include="pk" mode="IN"/>
     </service>
+
+    <!-- ShipmentItemFeature services -->
+    <service name="createShipmentItemFeature" default-entity-name="ShipmentItemFeature" engine="entity-auto" invoke="create" auth="true">
+        <description>Create a ShipmentItemFeature</description>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+        <auto-attributes include="pk" mode="INOUT" optional="false"/>
+    </service>
+    <service name="deleteShipmentItemFeature" default-entity-name="ShipmentItemFeature" engine="entity-auto" invoke="delete" auth="true">
+        <description>Delete a ShipmentItemFeature</description>
+        <auto-attributes include="pk" mode="IN" optional="false"/>
+    </service>
     
 </services>

Modified: ofbiz/trunk/applications/product/servicedef/services_shipmentgateway.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/servicedef/services_shipmentgateway.xml?rev=1766092&r1=1766091&r2=1766092&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/servicedef/services_shipmentgateway.xml (original)
+++ ofbiz/trunk/applications/product/servicedef/services_shipmentgateway.xml Fri Oct 21 18:22:00 2016
@@ -48,11 +48,21 @@ under the License.
         <auto-attributes entity-name="ShipmentGatewayUps" include="pk" mode="IN" optional="false"/>
         <auto-attributes entity-name="ShipmentGatewayUps" include="nonpk" mode="IN" optional="true"/>
     </service>
-    
-    <service name="updateShipmentGatewayConfigUsps" engine="simple" location="component://product/minilang/shipment/shipment/ShipmentGatewayConfigServices.xml" invoke="updateShipmentGatewayConfigUsps">
-        <description>Update Shipment Gateway Config USPS</description>
-        <auto-attributes entity-name="ShipmentGatewayUsps" include="pk" mode="IN" optional="false"/>
-        <auto-attributes entity-name="ShipmentGatewayUsps" include="nonpk" mode="IN" optional="true"/>
+
+    <!-- ShipmentGatewayUsps services -->
+    <service name="createShipmentGatewayUsps" default-entity-name="ShipmentGatewayUsps" engine="entity-auto" invoke="create" auth="true">
+        <description>Create a ShipmentGatewayUsps</description>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+        <auto-attributes include="pk" mode="INOUT" optional="false"/>
+    </service>
+    <service name="updateShipmentGatewayUsps" default-entity-name="ShipmentGatewayUsps" engine="entity-auto" invoke="update" auth="true">
+        <description>Update a ShipmentGatewayUsps</description>
+        <auto-attributes include="pk" mode="IN" optional="false"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="deleteShipmentGatewayUsps" default-entity-name="ShipmentGatewayUsps" engine="entity-auto" invoke="delete" auth="true">
+        <description>Delete a ShipmentGatewayUsps</description>
+        <auto-attributes include="pk" mode="IN" optional="false"/>
     </service>
     
     <service name="updateShipmentGatewayConfigType" engine="simple" location="component://product/minilang/shipment/shipment/ShipmentGatewayConfigServices.xml" invoke="updateShipmentGatewayConfigType">

Modified: ofbiz/trunk/framework/common/servicedef/services_security.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/servicedef/services_security.xml?rev=1766092&r1=1766091&r2=1766092&view=diff
==============================================================================
--- ofbiz/trunk/framework/common/servicedef/services_security.xml (original)
+++ ofbiz/trunk/framework/common/servicedef/services_security.xml Fri Oct 21 18:22:00 2016
@@ -139,5 +139,10 @@ under the License.
         <auto-attributes include="pk" mode="IN" optional="false"/>
         <auto-attributes include="nonpk" mode="IN" optional="true"/>
     </service>
-    
+
+    <service name="deleteSecurityGroup" default-entity-name="SecurityGroup" engine="entity-auto" invoke="delete" auth="true">
+        <description>Delete a SecurityGroup</description>
+        <permission-service service-name="securityPermissionCheck" main-action="DELETE"/>
+        <auto-attributes include="pk" mode="IN" optional="false"/>
+    </service>
 </services>



Re: svn commit: r1766092 - in /ofbiz/trunk: applications/accounting/servicedef/ applications/marketing/servicedef/ applications/product/minilang/shipment/shipment/ applications/product/servicedef/ framework/common/servicedef/

Posted by Jacques Le Roux <ja...@les7arts.com>.
Hi Arun,

Done at revision: 1766994

Please check, thanks

Jacques


Le 23/10/2016 � 09:39, Jacques Le Roux a �crit :
> Hi Arun,
>
> The updateShipmentGatewayConfigUsps service has been removed in this commit, but is still referenced in controller and form
>
> Thanks
>
> Jacques
>
>
> Le 21/10/2016 � 20:22, arunpatidar@apache.org a �crit :
>> Author: arunpatidar
>> Date: Fri Oct 21 18:22:00 2016
>> New Revision: 1766092
>>
>> URL: http://svn.apache.org/viewvc?rev=1766092&view=rev
>> Log:
>> Implemented: Added CRUD services for SalesOpportunityRole, SalesOpportunityStage, SalesOpportunityTrckCode, SalesOpportunityWorkEffort, 
>> SecurityGroup, SettlementTerm, ShipmentGatewayUsps, and ShipmentItemFeature entities.
>>
>> (OFBIZ-8433) (OFBIZ-8434) (OFBIZ-8435) (OFBIZ-8436) (OFBIZ-8438) (OFBIZ-8441) (OFBIZ-8464) (OFBIZ-8466)
>>
>> Thanks: Rahul Singh Kushwah, Rishi Solanki for the contribution.
>>
>> Modified:
>> ofbiz/trunk/applications/accounting/servicedef/services_ledger.xml
>> ofbiz/trunk/applications/marketing/servicedef/services_opportunity.xml
>> ofbiz/trunk/applications/product/minilang/shipment/shipment/ShipmentGatewayConfigServices.xml
>> ofbiz/trunk/applications/product/servicedef/services_shipment.xml
>> ofbiz/trunk/applications/product/servicedef/services_shipmentgateway.xml
>> ofbiz/trunk/framework/common/servicedef/services_security.xml
>>
>> Modified: ofbiz/trunk/applications/accounting/servicedef/services_ledger.xml
>> URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/servicedef/services_ledger.xml?rev=1766092&r1=1766091&r2=1766092&view=diff
>> ==============================================================================
>> --- ofbiz/trunk/applications/accounting/servicedef/services_ledger.xml (original)
>> +++ ofbiz/trunk/applications/accounting/servicedef/services_ledger.xml Fri Oct 21 18:22:00 2016
>> @@ -919,4 +919,20 @@ under the License.
>>           <description>Delete a GlResourceType</description>
>>           <auto-attributes include="pk" mode="IN" optional="false"/>
>>       </service>
>> +
>> +    <!-- SettlementTerm services -->
>> +    <service name="createSettlementTerm" default-entity-name="SettlementTerm" engine="entity-auto" invoke="create" auth="true">
>> +        <description>Create a SettlementTerm</description>
>> +        <auto-attributes include="nonpk" mode="IN" optional="true"/>
>> +        <auto-attributes include="pk" mode="INOUT" optional="true"/>
>> +    </service>
>> +    <service name="updateSettlementTerm" default-entity-name="SettlementTerm" engine="entity-auto" invoke="update" auth="true">
>> +        <description>Update a SettlementTerm</description>
>> +        <auto-attributes include="pk" mode="IN" optional="false"/>
>> +        <auto-attributes include="nonpk" mode="IN" optional="true"/>
>> +    </service>
>> +    <service name="deleteSettlementTerm" default-entity-name="SettlementTerm" engine="entity-auto" invoke="delete" auth="true">
>> +        <description>Delete a SettlementTerm</description>
>> +        <auto-attributes include="pk" mode="IN" optional="false"/>
>> +    </service>
>>   </services>
>>
>> Modified: ofbiz/trunk/applications/marketing/servicedef/services_opportunity.xml
>> URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/marketing/servicedef/services_opportunity.xml?rev=1766092&r1=1766091&r2=1766092&view=diff
>> ==============================================================================
>> --- ofbiz/trunk/applications/marketing/servicedef/services_opportunity.xml (original)
>> +++ ofbiz/trunk/applications/marketing/servicedef/services_opportunity.xml Fri Oct 21 18:22:00 2016
>> @@ -126,4 +126,51 @@ under the License.
>>           <auto-attributes include="pk" mode="IN" optional="false"/>
>>       </service>
>>   +    <service name="deleteSalesOpportunityRole" default-entity-name="SalesOpportunityRole" engine="entity-auto" invoke="delete" auth="true">
>> +        <description>Delete a SalesOpportunityRole</description>
>> +        <auto-attributes include="pk" mode="IN" optional="false"/>
>> +    </service>
>> +
>> +    <!-- SalesOpportunityStage services -->
>> +    <service name="createSalesOpportunityStage" default-entity-name="SalesOpportunityStage" engine="entity-auto" invoke="create" auth="true">
>> +        <description>Create a SalesOpportunityStage</description>
>> +        <auto-attributes include="nonpk" mode="IN" optional="true"/>
>> +        <auto-attributes include="pk" mode="INOUT" optional="true"/>
>> +    </service>
>> +    <service name="updateSalesOpportunityStage" default-entity-name="SalesOpportunityStage" engine="entity-auto" invoke="update" auth="true">
>> +        <description>Update a SalesOpportunityStage</description>
>> +        <auto-attributes include="pk" mode="IN" optional="false"/>
>> +        <auto-attributes include="nonpk" mode="IN" optional="true"/>
>> +    </service>
>> +    <service name="deleteSalesOpportunityStage" default-entity-name="SalesOpportunityStage" engine="entity-auto" invoke="delete" auth="true">
>> +        <description>Delete a SalesOpportunityStage</description>
>> +        <auto-attributes include="pk" mode="IN" optional="false"/>
>> +    </service>
>> +
>> +    <!-- SalesOpportunityTrckCode services -->
>> +    <service name="createSalesOpportunityTrckCode" default-entity-name="SalesOpportunityTrckCode" engine="entity-auto" invoke="create" auth="true">
>> +        <description>Create a SalesOpportunityTrckCode</description>
>> +        <auto-attributes include="nonpk" mode="IN" optional="true"/>
>> +        <auto-attributes include="pk" mode="INOUT" optional="false"/>
>> +    </service>
>> +    <service name="updateSalesOpportunityTrckCode" default-entity-name="SalesOpportunityTrckCode" engine="entity-auto" invoke="update" auth="true">
>> +        <description>Update a SalesOpportunityTrckCode</description>
>> +        <auto-attributes include="pk" mode="IN" optional="false"/>
>> +        <auto-attributes include="nonpk" mode="IN" optional="true"/>
>> +    </service>
>> +    <service name="deleteSalesOpportunityTrckCode" default-entity-name="SalesOpportunityTrckCode" engine="entity-auto" invoke="delete" auth="true">
>> +        <description>Delete a SalesOpportunityTrckCode</description>
>> +        <auto-attributes include="pk" mode="IN" optional="false"/>
>> +    </service>
>> +
>> +    <!-- SalesOpportunityWorkEffort services -->
>> +    <service name="createSalesOpportunityWorkEffort" default-entity-name="SalesOpportunityWorkEffort" engine="entity-auto" invoke="create" 
>> auth="true">
>> +        <description>Create a SalesOpportunityWorkEffort</description>
>> +        <auto-attributes include="nonpk" mode="IN" optional="true"/>
>> +        <auto-attributes include="pk" mode="INOUT" optional="false"/>
>> +    </service>
>> +    <service name="deleteSalesOpportunityWorkEffort" default-entity-name="SalesOpportunityWorkEffort" engine="entity-auto" invoke="delete" 
>> auth="true">
>> +        <description>Delete a SalesOpportunityWorkEffort</description>
>> +        <auto-attributes include="pk" mode="IN" optional="false"/>
>> +    </service>
>>   </services>
>>
>> Modified: ofbiz/trunk/applications/product/minilang/shipment/shipment/ShipmentGatewayConfigServices.xml
>> URL: 
>> http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/minilang/shipment/shipment/ShipmentGatewayConfigServices.xml?rev=1766092&r1=1766091&r2=1766092&view=diff
>> ==============================================================================
>> --- ofbiz/trunk/applications/product/minilang/shipment/shipment/ShipmentGatewayConfigServices.xml (original)
>> +++ ofbiz/trunk/applications/product/minilang/shipment/shipment/ShipmentGatewayConfigServices.xml Fri Oct 21 18:22:00 2016
>> @@ -44,12 +44,6 @@ under the License.
>>           <store-value value-field="lookedUpValue"/>
>>       </simple-method>
>>       -    <simple-method method-name="updateShipmentGatewayConfigUsps" short-description="Update Shipment Gateway Config USPS">
>> -        <entity-one entity-name="ShipmentGatewayUsps" value-field="lookedUpValue"/>
>> -        <set-nonpk-fields map="parameters" value-field="lookedUpValue"/>
>> -        <store-value value-field="lookedUpValue"/>
>> -    </simple-method>
>> -
>>       <simple-method method-name="updateShipmentGatewayConfigType" short-description="Update Shipment Gateway Config Type">
>>           <entity-one entity-name="ShipmentGatewayConfigType" value-field="lookedUpValue"/>
>>           <set-nonpk-fields map="parameters" value-field="lookedUpValue"/>
>>
>> Modified: ofbiz/trunk/applications/product/servicedef/services_shipment.xml
>> URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/servicedef/services_shipment.xml?rev=1766092&r1=1766091&r2=1766092&view=diff
>> ==============================================================================
>> --- ofbiz/trunk/applications/product/servicedef/services_shipment.xml (original)
>> +++ ofbiz/trunk/applications/product/servicedef/services_shipment.xml Fri Oct 21 18:22:00 2016
>> @@ -1022,5 +1022,16 @@ under the License.
>>           <description>Delete a RejectionReason record</description>
>>           <auto-attributes include="pk" mode="IN"/>
>>       </service>
>> +
>> +    <!-- ShipmentItemFeature services -->
>> +    <service name="createShipmentItemFeature" default-entity-name="ShipmentItemFeature" engine="entity-auto" invoke="create" auth="true">
>> +        <description>Create a ShipmentItemFeature</description>
>> +        <auto-attributes include="nonpk" mode="IN" optional="true"/>
>> +        <auto-attributes include="pk" mode="INOUT" optional="false"/>
>> +    </service>
>> +    <service name="deleteShipmentItemFeature" default-entity-name="ShipmentItemFeature" engine="entity-auto" invoke="delete" auth="true">
>> +        <description>Delete a ShipmentItemFeature</description>
>> +        <auto-attributes include="pk" mode="IN" optional="false"/>
>> +    </service>
>>         </services>
>>
>> Modified: ofbiz/trunk/applications/product/servicedef/services_shipmentgateway.xml
>> URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/servicedef/services_shipmentgateway.xml?rev=1766092&r1=1766091&r2=1766092&view=diff
>> ==============================================================================
>> --- ofbiz/trunk/applications/product/servicedef/services_shipmentgateway.xml (original)
>> +++ ofbiz/trunk/applications/product/servicedef/services_shipmentgateway.xml Fri Oct 21 18:22:00 2016
>> @@ -48,11 +48,21 @@ under the License.
>>           <auto-attributes entity-name="ShipmentGatewayUps" include="pk" mode="IN" optional="false"/>
>>           <auto-attributes entity-name="ShipmentGatewayUps" include="nonpk" mode="IN" optional="true"/>
>>       </service>
>> -
>> -    <service name="updateShipmentGatewayConfigUsps" engine="simple" 
>> location="component://product/minilang/shipment/shipment/ShipmentGatewayConfigServices.xml" invoke="updateShipmentGatewayConfigUsps">
>> -        <description>Update Shipment Gateway Config USPS</description>
>> -        <auto-attributes entity-name="ShipmentGatewayUsps" include="pk" mode="IN" optional="false"/>
>> -        <auto-attributes entity-name="ShipmentGatewayUsps" include="nonpk" mode="IN" optional="true"/>
>> +
>> +    <!-- ShipmentGatewayUsps services -->
>> +    <service name="createShipmentGatewayUsps" default-entity-name="ShipmentGatewayUsps" engine="entity-auto" invoke="create" auth="true">
>> +        <description>Create a ShipmentGatewayUsps</description>
>> +        <auto-attributes include="nonpk" mode="IN" optional="true"/>
>> +        <auto-attributes include="pk" mode="INOUT" optional="false"/>
>> +    </service>
>> +    <service name="updateShipmentGatewayUsps" default-entity-name="ShipmentGatewayUsps" engine="entity-auto" invoke="update" auth="true">
>> +        <description>Update a ShipmentGatewayUsps</description>
>> +        <auto-attributes include="pk" mode="IN" optional="false"/>
>> +        <auto-attributes include="nonpk" mode="IN" optional="true"/>
>> +    </service>
>> +    <service name="deleteShipmentGatewayUsps" default-entity-name="ShipmentGatewayUsps" engine="entity-auto" invoke="delete" auth="true">
>> +        <description>Delete a ShipmentGatewayUsps</description>
>> +        <auto-attributes include="pk" mode="IN" optional="false"/>
>>       </service>
>>             <service name="updateShipmentGatewayConfigType" engine="simple" 
>> location="component://product/minilang/shipment/shipment/ShipmentGatewayConfigServices.xml" invoke="updateShipmentGatewayConfigType">
>>
>> Modified: ofbiz/trunk/framework/common/servicedef/services_security.xml
>> URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/servicedef/services_security.xml?rev=1766092&r1=1766091&r2=1766092&view=diff
>> ==============================================================================
>> --- ofbiz/trunk/framework/common/servicedef/services_security.xml (original)
>> +++ ofbiz/trunk/framework/common/servicedef/services_security.xml Fri Oct 21 18:22:00 2016
>> @@ -139,5 +139,10 @@ under the License.
>>           <auto-attributes include="pk" mode="IN" optional="false"/>
>>           <auto-attributes include="nonpk" mode="IN" optional="true"/>
>>       </service>
>> -
>> +
>> +    <service name="deleteSecurityGroup" default-entity-name="SecurityGroup" engine="entity-auto" invoke="delete" auth="true">
>> +        <description>Delete a SecurityGroup</description>
>> +        <permission-service service-name="securityPermissionCheck" main-action="DELETE"/>
>> +        <auto-attributes include="pk" mode="IN" optional="false"/>
>> +    </service>
>>   </services>
>>
>>
>>
>
>


Re: svn commit: r1766092 - in /ofbiz/trunk: applications/accounting/servicedef/ applications/marketing/servicedef/ applications/product/minilang/shipment/shipment/ applications/product/servicedef/ framework/common/servicedef/

Posted by Jacques Le Roux <ja...@les7arts.com>.
Hi Arun,

The updateShipmentGatewayConfigUsps service has been removed in this commit, but is still referenced in controller and form

Thanks

Jacques


Le 21/10/2016 � 20:22, arunpatidar@apache.org a �crit :
> Author: arunpatidar
> Date: Fri Oct 21 18:22:00 2016
> New Revision: 1766092
>
> URL: http://svn.apache.org/viewvc?rev=1766092&view=rev
> Log:
> Implemented: Added CRUD services for SalesOpportunityRole, SalesOpportunityStage, SalesOpportunityTrckCode, SalesOpportunityWorkEffort, SecurityGroup, SettlementTerm, ShipmentGatewayUsps, and ShipmentItemFeature entities.
>
> (OFBIZ-8433) (OFBIZ-8434) (OFBIZ-8435) (OFBIZ-8436) (OFBIZ-8438) (OFBIZ-8441) (OFBIZ-8464) (OFBIZ-8466)
>
> Thanks: Rahul Singh Kushwah, Rishi Solanki for the contribution.
>
> Modified:
>      ofbiz/trunk/applications/accounting/servicedef/services_ledger.xml
>      ofbiz/trunk/applications/marketing/servicedef/services_opportunity.xml
>      ofbiz/trunk/applications/product/minilang/shipment/shipment/ShipmentGatewayConfigServices.xml
>      ofbiz/trunk/applications/product/servicedef/services_shipment.xml
>      ofbiz/trunk/applications/product/servicedef/services_shipmentgateway.xml
>      ofbiz/trunk/framework/common/servicedef/services_security.xml
>
> Modified: ofbiz/trunk/applications/accounting/servicedef/services_ledger.xml
> URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/servicedef/services_ledger.xml?rev=1766092&r1=1766091&r2=1766092&view=diff
> ==============================================================================
> --- ofbiz/trunk/applications/accounting/servicedef/services_ledger.xml (original)
> +++ ofbiz/trunk/applications/accounting/servicedef/services_ledger.xml Fri Oct 21 18:22:00 2016
> @@ -919,4 +919,20 @@ under the License.
>           <description>Delete a GlResourceType</description>
>           <auto-attributes include="pk" mode="IN" optional="false"/>
>       </service>
> +
> +    <!-- SettlementTerm services -->
> +    <service name="createSettlementTerm" default-entity-name="SettlementTerm" engine="entity-auto" invoke="create" auth="true">
> +        <description>Create a SettlementTerm</description>
> +        <auto-attributes include="nonpk" mode="IN" optional="true"/>
> +        <auto-attributes include="pk" mode="INOUT" optional="true"/>
> +    </service>
> +    <service name="updateSettlementTerm" default-entity-name="SettlementTerm" engine="entity-auto" invoke="update" auth="true">
> +        <description>Update a SettlementTerm</description>
> +        <auto-attributes include="pk" mode="IN" optional="false"/>
> +        <auto-attributes include="nonpk" mode="IN" optional="true"/>
> +    </service>
> +    <service name="deleteSettlementTerm" default-entity-name="SettlementTerm" engine="entity-auto" invoke="delete" auth="true">
> +        <description>Delete a SettlementTerm</description>
> +        <auto-attributes include="pk" mode="IN" optional="false"/>
> +    </service>
>   </services>
>
> Modified: ofbiz/trunk/applications/marketing/servicedef/services_opportunity.xml
> URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/marketing/servicedef/services_opportunity.xml?rev=1766092&r1=1766091&r2=1766092&view=diff
> ==============================================================================
> --- ofbiz/trunk/applications/marketing/servicedef/services_opportunity.xml (original)
> +++ ofbiz/trunk/applications/marketing/servicedef/services_opportunity.xml Fri Oct 21 18:22:00 2016
> @@ -126,4 +126,51 @@ under the License.
>           <auto-attributes include="pk" mode="IN" optional="false"/>
>       </service>
>   
> +    <service name="deleteSalesOpportunityRole" default-entity-name="SalesOpportunityRole" engine="entity-auto" invoke="delete" auth="true">
> +        <description>Delete a SalesOpportunityRole</description>
> +        <auto-attributes include="pk" mode="IN" optional="false"/>
> +    </service>
> +
> +    <!-- SalesOpportunityStage services -->
> +    <service name="createSalesOpportunityStage" default-entity-name="SalesOpportunityStage" engine="entity-auto" invoke="create" auth="true">
> +        <description>Create a SalesOpportunityStage</description>
> +        <auto-attributes include="nonpk" mode="IN" optional="true"/>
> +        <auto-attributes include="pk" mode="INOUT" optional="true"/>
> +    </service>
> +    <service name="updateSalesOpportunityStage" default-entity-name="SalesOpportunityStage" engine="entity-auto" invoke="update" auth="true">
> +        <description>Update a SalesOpportunityStage</description>
> +        <auto-attributes include="pk" mode="IN" optional="false"/>
> +        <auto-attributes include="nonpk" mode="IN" optional="true"/>
> +    </service>
> +    <service name="deleteSalesOpportunityStage" default-entity-name="SalesOpportunityStage" engine="entity-auto" invoke="delete" auth="true">
> +        <description>Delete a SalesOpportunityStage</description>
> +        <auto-attributes include="pk" mode="IN" optional="false"/>
> +    </service>
> +
> +    <!-- SalesOpportunityTrckCode services -->
> +    <service name="createSalesOpportunityTrckCode" default-entity-name="SalesOpportunityTrckCode" engine="entity-auto" invoke="create" auth="true">
> +        <description>Create a SalesOpportunityTrckCode</description>
> +        <auto-attributes include="nonpk" mode="IN" optional="true"/>
> +        <auto-attributes include="pk" mode="INOUT" optional="false"/>
> +    </service>
> +    <service name="updateSalesOpportunityTrckCode" default-entity-name="SalesOpportunityTrckCode" engine="entity-auto" invoke="update" auth="true">
> +        <description>Update a SalesOpportunityTrckCode</description>
> +        <auto-attributes include="pk" mode="IN" optional="false"/>
> +        <auto-attributes include="nonpk" mode="IN" optional="true"/>
> +    </service>
> +    <service name="deleteSalesOpportunityTrckCode" default-entity-name="SalesOpportunityTrckCode" engine="entity-auto" invoke="delete" auth="true">
> +        <description>Delete a SalesOpportunityTrckCode</description>
> +        <auto-attributes include="pk" mode="IN" optional="false"/>
> +    </service>
> +
> +    <!-- SalesOpportunityWorkEffort services -->
> +    <service name="createSalesOpportunityWorkEffort" default-entity-name="SalesOpportunityWorkEffort" engine="entity-auto" invoke="create" auth="true">
> +        <description>Create a SalesOpportunityWorkEffort</description>
> +        <auto-attributes include="nonpk" mode="IN" optional="true"/>
> +        <auto-attributes include="pk" mode="INOUT" optional="false"/>
> +    </service>
> +    <service name="deleteSalesOpportunityWorkEffort" default-entity-name="SalesOpportunityWorkEffort" engine="entity-auto" invoke="delete" auth="true">
> +        <description>Delete a SalesOpportunityWorkEffort</description>
> +        <auto-attributes include="pk" mode="IN" optional="false"/>
> +    </service>
>   </services>
>
> Modified: ofbiz/trunk/applications/product/minilang/shipment/shipment/ShipmentGatewayConfigServices.xml
> URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/minilang/shipment/shipment/ShipmentGatewayConfigServices.xml?rev=1766092&r1=1766091&r2=1766092&view=diff
> ==============================================================================
> --- ofbiz/trunk/applications/product/minilang/shipment/shipment/ShipmentGatewayConfigServices.xml (original)
> +++ ofbiz/trunk/applications/product/minilang/shipment/shipment/ShipmentGatewayConfigServices.xml Fri Oct 21 18:22:00 2016
> @@ -44,12 +44,6 @@ under the License.
>           <store-value value-field="lookedUpValue"/>
>       </simple-method>
>       
> -    <simple-method method-name="updateShipmentGatewayConfigUsps" short-description="Update Shipment Gateway Config USPS">
> -        <entity-one entity-name="ShipmentGatewayUsps" value-field="lookedUpValue"/>
> -        <set-nonpk-fields map="parameters" value-field="lookedUpValue"/>
> -        <store-value value-field="lookedUpValue"/>
> -    </simple-method>
> -
>       <simple-method method-name="updateShipmentGatewayConfigType" short-description="Update Shipment Gateway Config Type">
>           <entity-one entity-name="ShipmentGatewayConfigType" value-field="lookedUpValue"/>
>           <set-nonpk-fields map="parameters" value-field="lookedUpValue"/>
>
> Modified: ofbiz/trunk/applications/product/servicedef/services_shipment.xml
> URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/servicedef/services_shipment.xml?rev=1766092&r1=1766091&r2=1766092&view=diff
> ==============================================================================
> --- ofbiz/trunk/applications/product/servicedef/services_shipment.xml (original)
> +++ ofbiz/trunk/applications/product/servicedef/services_shipment.xml Fri Oct 21 18:22:00 2016
> @@ -1022,5 +1022,16 @@ under the License.
>           <description>Delete a RejectionReason record</description>
>           <auto-attributes include="pk" mode="IN"/>
>       </service>
> +
> +    <!-- ShipmentItemFeature services -->
> +    <service name="createShipmentItemFeature" default-entity-name="ShipmentItemFeature" engine="entity-auto" invoke="create" auth="true">
> +        <description>Create a ShipmentItemFeature</description>
> +        <auto-attributes include="nonpk" mode="IN" optional="true"/>
> +        <auto-attributes include="pk" mode="INOUT" optional="false"/>
> +    </service>
> +    <service name="deleteShipmentItemFeature" default-entity-name="ShipmentItemFeature" engine="entity-auto" invoke="delete" auth="true">
> +        <description>Delete a ShipmentItemFeature</description>
> +        <auto-attributes include="pk" mode="IN" optional="false"/>
> +    </service>
>       
>   </services>
>
> Modified: ofbiz/trunk/applications/product/servicedef/services_shipmentgateway.xml
> URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/servicedef/services_shipmentgateway.xml?rev=1766092&r1=1766091&r2=1766092&view=diff
> ==============================================================================
> --- ofbiz/trunk/applications/product/servicedef/services_shipmentgateway.xml (original)
> +++ ofbiz/trunk/applications/product/servicedef/services_shipmentgateway.xml Fri Oct 21 18:22:00 2016
> @@ -48,11 +48,21 @@ under the License.
>           <auto-attributes entity-name="ShipmentGatewayUps" include="pk" mode="IN" optional="false"/>
>           <auto-attributes entity-name="ShipmentGatewayUps" include="nonpk" mode="IN" optional="true"/>
>       </service>
> -
> -    <service name="updateShipmentGatewayConfigUsps" engine="simple" location="component://product/minilang/shipment/shipment/ShipmentGatewayConfigServices.xml" invoke="updateShipmentGatewayConfigUsps">
> -        <description>Update Shipment Gateway Config USPS</description>
> -        <auto-attributes entity-name="ShipmentGatewayUsps" include="pk" mode="IN" optional="false"/>
> -        <auto-attributes entity-name="ShipmentGatewayUsps" include="nonpk" mode="IN" optional="true"/>
> +
> +    <!-- ShipmentGatewayUsps services -->
> +    <service name="createShipmentGatewayUsps" default-entity-name="ShipmentGatewayUsps" engine="entity-auto" invoke="create" auth="true">
> +        <description>Create a ShipmentGatewayUsps</description>
> +        <auto-attributes include="nonpk" mode="IN" optional="true"/>
> +        <auto-attributes include="pk" mode="INOUT" optional="false"/>
> +    </service>
> +    <service name="updateShipmentGatewayUsps" default-entity-name="ShipmentGatewayUsps" engine="entity-auto" invoke="update" auth="true">
> +        <description>Update a ShipmentGatewayUsps</description>
> +        <auto-attributes include="pk" mode="IN" optional="false"/>
> +        <auto-attributes include="nonpk" mode="IN" optional="true"/>
> +    </service>
> +    <service name="deleteShipmentGatewayUsps" default-entity-name="ShipmentGatewayUsps" engine="entity-auto" invoke="delete" auth="true">
> +        <description>Delete a ShipmentGatewayUsps</description>
> +        <auto-attributes include="pk" mode="IN" optional="false"/>
>       </service>
>       
>       <service name="updateShipmentGatewayConfigType" engine="simple" location="component://product/minilang/shipment/shipment/ShipmentGatewayConfigServices.xml" invoke="updateShipmentGatewayConfigType">
>
> Modified: ofbiz/trunk/framework/common/servicedef/services_security.xml
> URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/servicedef/services_security.xml?rev=1766092&r1=1766091&r2=1766092&view=diff
> ==============================================================================
> --- ofbiz/trunk/framework/common/servicedef/services_security.xml (original)
> +++ ofbiz/trunk/framework/common/servicedef/services_security.xml Fri Oct 21 18:22:00 2016
> @@ -139,5 +139,10 @@ under the License.
>           <auto-attributes include="pk" mode="IN" optional="false"/>
>           <auto-attributes include="nonpk" mode="IN" optional="true"/>
>       </service>
> -
> +
> +    <service name="deleteSecurityGroup" default-entity-name="SecurityGroup" engine="entity-auto" invoke="delete" auth="true">
> +        <description>Delete a SecurityGroup</description>
> +        <permission-service service-name="securityPermissionCheck" main-action="DELETE"/>
> +        <auto-attributes include="pk" mode="IN" optional="false"/>
> +    </service>
>   </services>
>
>
>