Author: arunpatidar
Date: Sat Nov 5 10:56:52 2016 New Revision: 1768184 URL: http://svn.apache.org/viewvc?rev=1768184&view=rev Log: Implemented: Added CRUD services for OrderContentType, RateType, SequenceValueItem, ProdCatalogInvFacility, StatusValidChange, SubscriptionActivity, SubscriptionAttribute, SubscriptionType, SubscriptionTypeAttr, SupplierRatingType, TaxAuthorityAssocType, TaxAuthorityRateType, TermType, TermTypeAttr, Uom, Addendum entities. (OFBIZ-8289) (OFBIZ-8307)(OFBIZ-8440)(OFBIZ-8728)(OFBIZ-8775)(OFBIZ-8776)(OFBIZ-8777)(OFBIZ-8778)(OFBIZ-8779)(OFBIZ-8780)(OFBIZ-8781)(OFBIZ-8782)(OFBIZ-8783)(OFBIZ-8784)(OFBIZ-8787)(OFBIZ-8964) Thanks: Rahul Singh, Chinmay Patidar, Amit Gadaley and Rishi Solanki for the contribution. Modified: ofbiz/trunk/applications/accounting/servicedef/services_rate.xml ofbiz/trunk/applications/accounting/servicedef/services_tax.xml ofbiz/trunk/applications/order/servicedef/services_order.xml ofbiz/trunk/applications/party/servicedef/services_agreement.xml ofbiz/trunk/applications/product/servicedef/services.xml ofbiz/trunk/applications/product/servicedef/services_subscription.xml ofbiz/trunk/applications/product/servicedef/services_supplier.xml ofbiz/trunk/framework/common/servicedef/services.xml ofbiz/trunk/framework/service/servicedef/services.xml Modified: ofbiz/trunk/applications/accounting/servicedef/services_rate.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/servicedef/services_rate.xml?rev=1768184&r1=1768183&r2=1768184&view=diff ============================================================================== --- ofbiz/trunk/applications/accounting/servicedef/services_rate.xml (original) +++ ofbiz/trunk/applications/accounting/servicedef/services_rate.xml Sat Nov 5 10:56:52 2016 @@ -108,4 +108,20 @@ under the License. <attribute name="rateAmountFromDate" type="Timestamp" mode="IN" optional="true"/><!-- to be able to expire rateamount specific to a party records....--> </service> + <!-- RateType services --> + <service name="createRateType" default-entity-name="RateType" engine="entity-auto" invoke="create" auth="true"> + <description>Create a RateType</description> + <auto-attributes include="nonpk" mode="IN" optional="true"/> + <auto-attributes include="pk" mode="INOUT" optional="true"/> + </service> + <service name="updateRateType" default-entity-name="RateType" engine="entity-auto" invoke="update" auth="true"> + <description>Update a RateType</description> + <auto-attributes include="pk" mode="IN" optional="false"/> + <auto-attributes include="nonpk" mode="IN" optional="true"/> + </service> + <service name="deleteRateType" default-entity-name="RateType" engine="entity-auto" invoke="delete" auth="true"> + <description>Delete a RateType</description> + <auto-attributes include="pk" mode="IN" optional="false"/> + </service> + </services> Modified: ofbiz/trunk/applications/accounting/servicedef/services_tax.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/servicedef/services_tax.xml?rev=1768184&r1=1768183&r2=1768184&view=diff ============================================================================== --- ofbiz/trunk/applications/accounting/servicedef/services_tax.xml (original) +++ ofbiz/trunk/applications/accounting/servicedef/services_tax.xml Sat Nov 5 10:56:52 2016 @@ -208,4 +208,36 @@ under the License. <description>Zip Sales Calc Tax Service - change this to calcTax to run</description> <implements service="calcTaxInterface"/> </service> + + <!-- TaxAuthorityAssocType services --> + <service name="createTaxAuthorityAssocType" default-entity-name="TaxAuthorityAssocType" engine="entity-auto" invoke="create" auth="true"> + <description>Create a TaxAuthorityAssocType</description> + <auto-attributes include="nonpk" mode="IN" optional="true"/> + <auto-attributes include="pk" mode="INOUT" optional="true"/> + </service> + <service name="updateTaxAuthorityAssocType" default-entity-name="TaxAuthorityAssocType" engine="entity-auto" invoke="update" auth="true"> + <description>Update a TaxAuthorityAssocType</description> + <auto-attributes include="pk" mode="IN" optional="false"/> + <auto-attributes include="nonpk" mode="IN" optional="true"/> + </service> + <service name="deleteTaxAuthorityAssocType" default-entity-name="TaxAuthorityAssocType" engine="entity-auto" invoke="delete" auth="true"> + <description>Delete a TaxAuthorityAssocType</description> + <auto-attributes include="pk" mode="IN" optional="false"/> + </service> + + <!-- TaxAuthorityRateType services --> + <service name="createTaxAuthorityRateType" default-entity-name="TaxAuthorityRateType" engine="entity-auto" invoke="create" auth="true"> + <description>Create a TaxAuthorityRateType</description> + <auto-attributes include="nonpk" mode="IN" optional="true"/> + <auto-attributes include="pk" mode="INOUT" optional="true"/> + </service> + <service name="updateTaxAuthorityRateType" default-entity-name="TaxAuthorityRateType" engine="entity-auto" invoke="update" auth="true"> + <description>Update a TaxAuthorityRateType</description> + <auto-attributes include="pk" mode="IN" optional="false"/> + <auto-attributes include="nonpk" mode="IN" optional="true"/> + </service> + <service name="deleteTaxAuthorityRateType" default-entity-name="TaxAuthorityRateType" engine="entity-auto" invoke="delete" auth="true"> + <description>Delete a TaxAuthorityRateType</description> + <auto-attributes include="pk" mode="IN" optional="false"/> + </service> </services> Modified: ofbiz/trunk/applications/order/servicedef/services_order.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/servicedef/services_order.xml?rev=1768184&r1=1768183&r2=1768184&view=diff ============================================================================== --- ofbiz/trunk/applications/order/servicedef/services_order.xml (original) +++ ofbiz/trunk/applications/order/servicedef/services_order.xml Sat Nov 5 10:56:52 2016 @@ -312,4 +312,20 @@ under the License. <auto-attributes include="pk" mode="IN"/> </service> + <!-- OrderContentType services --> + <service name="createOrderContentType" default-entity-name="OrderContentType" engine="entity-auto" invoke="create" auth="true"> + <description>Create a OrderContentType</description> + <auto-attributes include="nonpk" mode="IN" optional="true"/> + <auto-attributes include="pk" mode="INOUT" optional="true"/> + </service> + <service name="updateOrderContentType" default-entity-name="OrderContentType" engine="entity-auto" invoke="update" auth="true"> + <description>Update a OrderContentType</description> + <auto-attributes include="pk" mode="IN" optional="false"/> + <auto-attributes include="nonpk" mode="IN" optional="true"/> + </service> + <service name="deleteOrderContentType" default-entity-name="OrderContentType" engine="entity-auto" invoke="delete" auth="true"> + <description>Delete a OrderContentType</description> + <auto-attributes include="pk" mode="IN" optional="false"/> + </service> + </services> Modified: ofbiz/trunk/applications/party/servicedef/services_agreement.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/servicedef/services_agreement.xml?rev=1768184&r1=1768183&r2=1768184&view=diff ============================================================================== --- ofbiz/trunk/applications/party/servicedef/services_agreement.xml (original) +++ ofbiz/trunk/applications/party/servicedef/services_agreement.xml Sat Nov 5 10:56:52 2016 @@ -31,4 +31,52 @@ <description>Delete an AgreementItemType record</description> <auto-attributes mode="IN" include="pk"/> </service> + + <!-- TermType services --> + <service name="createTermType" default-entity-name="TermType" engine="entity-auto" invoke="create" auth="true"> + <description>Create TermType record</description> + <auto-attributes mode="INOUT" include="pk" optional="true"/> + <auto-attributes mode="IN" include="nonpk" optional="true"/> + </service> + <service name="updateTermType" default-entity-name="TermType" engine="entity-auto" invoke="update" auth="true"> + <description>Update TermType record</description> + <auto-attributes mode="IN" include="pk"/> + <auto-attributes mode="IN" include="nonpk" optional="true"/> + </service> + <service name="deleteTermType" default-entity-name="TermType" engine="entity-auto" invoke="delete" auth="true"> + <description>Delete TermType record</description> + <auto-attributes mode="IN" include="pk"/> + </service> + + <!-- TermTypeAttr services --> + <service name="createTermTypeAttr" default-entity-name="TermTypeAttr" engine="entity-auto" invoke="create" auth="true"> + <description>Create TermTypeAttr record</description> + <auto-attributes mode="IN" include="pk"/> + <auto-attributes mode="IN" include="nonpk" optional="true"/> + </service> + <service name="updateTermTypeAttr" default-entity-name="TermTypeAttr" engine="entity-auto" invoke="update" auth="true"> + <description>Update TermTypeAttr record</description> + <auto-attributes mode="IN" include="pk"/> + <auto-attributes mode="IN" include="nonpk" optional="true"/> + </service> + <service name="deleteTermTypeAttr" default-entity-name="TermTypeAttr" engine="entity-auto" invoke="delete" auth="true"> + <description>Delete TermTypeAttr record</description> + <auto-attributes mode="IN" include="pk"/> + </service> + + <!-- Addendum services --> + <service name="createAddendum" default-entity-name="Addendum" engine="entity-auto" invoke="create" auth="true"> + <description>Create Addendum Record</description> + <auto-attributes mode="INOUT" include="pk" optional="true"/> + <auto-attributes mode="IN" include="nonpk" optional="true"/> + </service> + <service name="updateAddendum" default-entity-name="Addendum" engine="entity-auto" invoke="update" auth="true"> + <description>Update Addendum Record</description> + <auto-attributes mode="IN" include="pk"/> + <auto-attributes mode="IN" include="nonpk" optional="true"/> + </service> + <service name="deleteAddendum" default-entity-name="Addendum" engine="entity-auto" invoke="delete" auth="true"> + <description>Delete Addendum record</description> + <auto-attributes mode="IN" include="pk"/> + </service> </services> Modified: ofbiz/trunk/applications/product/servicedef/services.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/servicedef/services.xml?rev=1768184&r1=1768183&r2=1768184&view=diff ============================================================================== --- ofbiz/trunk/applications/product/servicedef/services.xml (original) +++ ofbiz/trunk/applications/product/servicedef/services.xml Sat Nov 5 10:56:52 2016 @@ -1870,4 +1870,19 @@ under the License. <description>Delete a ProductTypeAttr</description> <auto-attributes include="pk" mode="IN" optional="false"/> </service> + + <service name="createProdCatalogInvFacility" default-entity-name="ProdCatalogInvFacility" engine="entity-auto" invoke="create" auth="true"> + <description>Create a ProdCatalogInvFacility</description> + <auto-attributes include="pk" mode="INOUT" optional="false"/> + <auto-attributes include="nonpk" mode="IN" optional="true"/> + </service> + <service name="updateProdCatalogInvFacility" default-entity-name="ProdCatalogInvFacility" engine="entity-auto" invoke="update" auth="true"> + <description>Update a ProdCatalogInvFacility</description> + <auto-attributes include="pk" mode="IN" optional="false"/> + <auto-attributes include="nonpk" mode="IN" optional="true"/> + </service> + <service name="expireProdCatalogInvFacility" default-entity-name="ProdCatalogInvFacility" engine="entity-auto" invoke="expire" auth="true"> + <description>Expire a ProdCatalogInvFacility Record</description> + <auto-attributes mode="IN" include="pk"/> + </service> </services> Modified: ofbiz/trunk/applications/product/servicedef/services_subscription.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/servicedef/services_subscription.xml?rev=1768184&r1=1768183&r2=1768184&view=diff ============================================================================== --- ofbiz/trunk/applications/product/servicedef/services_subscription.xml (original) +++ ofbiz/trunk/applications/product/servicedef/services_subscription.xml Sat Nov 5 10:56:52 2016 @@ -124,14 +124,24 @@ under the License. <description>Creates or updates Subscription record</description> <attribute name="orderId" type="String" mode="IN" optional="false"/> </service> + + <service name="createSubscriptionAttribute" default-entity-name="SubscriptionAttribute" engine="entity-auto" invoke="create" auth="true"> + <description>Create a SubscriptionAttribute</description> + <auto-attributes include="nonpk" mode="IN" optional="true"/> + <auto-attributes include="pk" mode="INOUT" optional="false"/> + </service> <service name="updateSubscriptionAttribute" default-entity-name="SubscriptionAttribute" auth="true" engine="simple" - location="component://product/minilang/product/subscription/SubscriptionServices.xml" invoke="updateSubscriptionAttribute"> + location="component://product/minilang/product/subscription/SubscriptionServices.xml" invoke="updateSubscriptionAttribute"> <description>Create (when not exist) or update (when exist) a Subscription attribute</description> <permission-service service-name="subscriptionPermissionCheck" main-action="UPDATE"/> <attribute name="subscriptionId" type="String" mode="INOUT" optional="false"/> <attribute name="attrName" type="String" mode="IN" optional="false"/> <attribute name="attrValue" type="String" mode="IN" optional="true"/> </service> + <service name="deleteSubscriptionAttribute" default-entity-name="SubscriptionAttribute" engine="entity-auto" invoke="delete" auth="true"> + <description>Delete a SubscriptionAttribute</description> + <auto-attributes include="pk" mode="IN" optional="false"/> + </service> <service name="createSubscriptionCommEvent" default-entity-name="SubscriptionCommEvent" engine="entity-auto" invoke="create" auth="true"> <description>Create a Subscription Communication Event</description> @@ -162,4 +172,52 @@ under the License. See https://issues.apache.org/jira/browse/OFBIZ-5333 for more information</description> <attribute name="subscriptionId" type="String" mode="IN" optional="false"/> </service> + + <!-- SubscriptionActivity services --> + <service name="createSubscriptionActivity" default-entity-name="SubscriptionActivity" engine="entity-auto" invoke="create" auth="true"> + <description>Create a SubscriptionActivity</description> + <auto-attributes include="nonpk" mode="IN" optional="true"/> + <auto-attributes include="pk" mode="INOUT" optional="true"/> + </service> + <service name="updateSubscriptionActivity" default-entity-name="SubscriptionActivity" engine="entity-auto" invoke="update" auth="true"> + <description>Update a SubscriptionActivity</description> + <auto-attributes include="pk" mode="IN" optional="false"/> + <auto-attributes include="nonpk" mode="IN" optional="true"/> + </service> + <service name="deleteSubscriptionActivity" default-entity-name="SubscriptionActivity" engine="entity-auto" invoke="delete" auth="true"> + <description>Delete a SubscriptionActivity</description> + <auto-attributes include="pk" mode="IN" optional="false"/> + </service> + + <!-- SubscriptionType services --> + <service name="createSubscriptionType" default-entity-name="SubscriptionType" engine="entity-auto" invoke="create" auth="true"> + <description>Create a SubscriptionType</description> + <auto-attributes include="nonpk" mode="IN" optional="true"/> + <auto-attributes include="pk" mode="INOUT" optional="true"/> + </service> + <service name="updateSubscriptionType" default-entity-name="SubscriptionType" engine="entity-auto" invoke="update" auth="true"> + <description>Update a SubscriptionType</description> + <auto-attributes include="pk" mode="IN" optional="false"/> + <auto-attributes include="nonpk" mode="IN" optional="true"/> + </service> + <service name="deleteSubscriptionType" default-entity-name="SubscriptionType" engine="entity-auto" invoke="delete" auth="true"> + <description>Delete a SubscriptionType</description> + <auto-attributes include="pk" mode="IN" optional="false"/> + </service> + + <!-- SubscriptionTypeAttr services --> + <service name="createSubscriptionTypeAttr" default-entity-name="SubscriptionTypeAttr" engine="entity-auto" invoke="create" auth="true"> + <description>Create a SubscriptionTypeAttr</description> + <auto-attributes include="nonpk" mode="IN" optional="true"/> + <auto-attributes include="pk" mode="INOUT" optional="false"/> + </service> + <service name="updateSubscriptionTypeAttr" default-entity-name="SubscriptionTypeAttr" engine="entity-auto" invoke="update" auth="true"> + <description>Update a SubscriptionTypeAttr</description> + <auto-attributes include="pk" mode="IN" optional="false"/> + <auto-attributes include="nonpk" mode="IN" optional="true"/> + </service> + <service name="deleteSubscriptionTypeAttr" default-entity-name="SubscriptionTypeAttr" engine="entity-auto" invoke="delete" auth="true"> + <description>Delete a SubscriptionTypeAttr</description> + <auto-attributes include="pk" mode="IN" optional="false"/> + </service> </services> Modified: ofbiz/trunk/applications/product/servicedef/services_supplier.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/servicedef/services_supplier.xml?rev=1768184&r1=1768183&r2=1768184&view=diff ============================================================================== --- ofbiz/trunk/applications/product/servicedef/services_supplier.xml (original) +++ ofbiz/trunk/applications/product/servicedef/services_supplier.xml Sat Nov 5 10:56:52 2016 @@ -39,4 +39,20 @@ under the License. <description>Delete a ReorderGuideline record</description> <auto-attributes include="pk" mode="IN"/> </service> + + <!-- SupplierRatingType services --> + <service name="createSupplierRatingType" default-entity-name="SupplierRatingType" engine="entity-auto" invoke="create" auth="true"> + <description>Create a SupplierRatingType</description> + <auto-attributes include="nonpk" mode="IN" optional="true"/> + <auto-attributes include="pk" mode="INOUT" optional="true"/> + </service> + <service name="updateSupplierRatingType" default-entity-name="SupplierRatingType" engine="entity-auto" invoke="update" auth="true"> + <description>Update a SupplierRatingType</description> + <auto-attributes include="pk" mode="IN" optional="false"/> + <auto-attributes include="nonpk" mode="IN" optional="true"/> + </service> + <service name="deleteSupplierRatingType" default-entity-name="SupplierRatingType" engine="entity-auto" invoke="delete" auth="true"> + <description>Delete a SupplierRatingType</description> + <auto-attributes include="pk" mode="IN" optional="false"/> + </service> </services> Modified: ofbiz/trunk/framework/common/servicedef/services.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/servicedef/services.xml?rev=1768184&r1=1768183&r2=1768184&view=diff ============================================================================== --- ofbiz/trunk/framework/common/servicedef/services.xml (original) +++ ofbiz/trunk/framework/common/servicedef/services.xml Sat Nov 5 10:56:52 2016 @@ -909,4 +909,35 @@ under the License. <description>Delete UomGroup record</description> <auto-attributes include="pk" mode="IN"/> </service> + + <!-- StatusValidChange services --> + <service name="createStatusValidChange" default-entity-name="StatusValidChange" engine="entity-auto" invoke="create" auth="true"> + <description>Create a StatusValidChange</description> + <auto-attributes include="nonpk" mode="IN" optional="true"/> + <auto-attributes include="pk" mode="INOUT" optional="false"/> + </service> + <service name="updateStatusValidChange" default-entity-name="StatusValidChange" engine="entity-auto" invoke="update" auth="true"> + <description>Update a StatusValidChange</description> + <auto-attributes include="pk" mode="IN" optional="false"/> + <auto-attributes include="nonpk" mode="IN" optional="true"/> + </service> + <service name="deleteStatusValidChange" default-entity-name="StatusValidChange" engine="entity-auto" invoke="delete" auth="true"> + <description>Delete a StatusValidChange</description> + <auto-attributes include="pk" mode="IN" optional="false"/> + </service> + + <service name="createUom" engine="entity-auto" invoke="create" default-entity-name="Uom" auth="true"> + <description>Create Uom Record</description> + <auto-attributes include="pk" mode="INOUT" optional="true"/> + <auto-attributes include="nonpk" mode="IN" optional="true"/> + </service> + <service name="updateUom" engine="entity-auto" invoke="update" default-entity-name="Uom" auth="true"> + <description>Update Uom Record</description> + <auto-attributes include="pk" mode="IN"/> + <auto-attributes include="nonpk" mode="IN" optional="true"/> + </service> + <service name="deleteUom" engine="entity-auto" invoke="delete" default-entity-name="Uom" auth="true"> + <description>Delete Uom Record</description> + <auto-attributes include="pk" mode="IN"/> + </service> </services> Modified: ofbiz/trunk/framework/service/servicedef/services.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/service/servicedef/services.xml?rev=1768184&r1=1768183&r2=1768184&view=diff ============================================================================== --- ofbiz/trunk/framework/service/servicedef/services.xml (original) +++ ofbiz/trunk/framework/service/servicedef/services.xml Sat Nov 5 10:56:52 2016 @@ -207,4 +207,19 @@ under the License. <description>Delete a StatusType</description> <auto-attributes include="pk" mode="IN" optional="false"/> </service> + + <service name="createSequenceValueItem" default-entity-name="SequenceValueItem" engine="entity-auto" invoke="create" auth="true"> + <description>Create a SequenceValueItem</description> + <auto-attributes include="pk" mode="INOUT" optional="true"/> + <auto-attributes include="nonpk" mode="IN" optional="true"/> + </service> + <service name="updateSequenceValueItem" default-entity-name="SequenceValueItem" engine="entity-auto" invoke="update" auth="true"> + <description>Update a SequenceValueItem</description> + <auto-attributes include="pk" mode="IN" optional="false"/> + <auto-attributes include="nonpk" mode="IN" optional="true"/> + </service> + <service name="deleteSequenceValueItem" default-entity-name="SequenceValueItem" engine="entity-auto" invoke="delete" auth="true"> + <description>Delete a SequenceValueItem</description> + <auto-attributes include="pk" mode="IN" optional="false"/> + </service> </services> |
Free forum by Nabble | Edit this page |