Author: arunpatidar
Date: Sat Oct 15 14:37:51 2016 New Revision: 1765077 URL: http://svn.apache.org/viewvc?rev=1765077&view=rev Log: Implemented: Added CRUD services for FinAccountTransType, FinAccountTransTypeAttr, FinAccountType, FinAccountTypeAttr, FixedAssetAttribute, FixedAssetIdentType, FixedAssetProductType, FixedAssetStdCostType,FixedAssetType, FixedAssetTypeAttr, GlAccountClass, GlAccountGroup, GlAccountGroupMember, GlAccountGroupType, GlAccountRole, GlAccountType, GlBudgetXref, FacilityCarrierShipment, FacilityLocationGeoPoint and ExampleType entities. (OFBIZ-8205) (OFBIZ-8206) (OFBIZ-8207) (OFBIZ-8209) (OFBIZ-8210) (OFBIZ-8211) (OFBIZ-8212) (OFBIZ-8213) (OFBIZ-8214) (OFBIZ-8215) (OFBIZ-8216) (OFBIZ-8217) (OFBIZ-8218) (OFBIZ-8219) (OFBIZ-8220) (OFBIZ-8221) (OFBIZ-8233) (OFBIZ-8234) (OFBIZ-8235) (OFBIZ-8236) Thanks: Rahul Singh Kushwah and Rishi Solanki for the contribution. Modified: ofbiz/trunk/applications/accounting/servicedef/services_finaccount.xml ofbiz/trunk/applications/accounting/servicedef/services_fixedasset.xml ofbiz/trunk/applications/accounting/servicedef/services_ledger.xml ofbiz/trunk/applications/product/servicedef/services_facility.xml ofbiz/trunk/specialpurpose/example/servicedef/services.xml Modified: ofbiz/trunk/applications/accounting/servicedef/services_finaccount.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/servicedef/services_finaccount.xml?rev=1765077&r1=1765076&r2=1765077&view=diff ============================================================================== --- ofbiz/trunk/applications/accounting/servicedef/services_finaccount.xml (original) +++ ofbiz/trunk/applications/accounting/servicedef/services_finaccount.xml Sat Oct 15 14:37:51 2016 @@ -551,4 +551,68 @@ under the License. <description>Delete a FinAccountTransAttribute</description> <auto-attributes include="pk" mode="IN" optional="false"/> </service> + + <!-- FinAccountTransType services --> + <service name="createFinAccountTransType" default-entity-name="FinAccountTransType" engine="entity-auto" invoke="create" auth="true"> + <description>Create a FinAccountTransType record</description> + <auto-attributes include="nonpk" mode="IN" optional="true"/> + <auto-attributes include="pk" mode="INOUT" optional="true"/> + </service> + <service name="updateFinAccountTransType" default-entity-name="FinAccountTransType" engine="entity-auto" invoke="update" auth="true"> + <description>Update a FinAccountTransType record</description> + <auto-attributes include="pk" mode="IN" optional="false"/> + <auto-attributes include="nonpk" mode="IN" optional="true"/> + </service> + <service name="deleteFinAccountTransType" default-entity-name="FinAccountTransType" engine="entity-auto" invoke="delete" auth="true"> + <description>Delete a FinAccountTransType record</description> + <auto-attributes include="pk" mode="IN" optional="false"/> + </service> + + <!-- FinAccountTransTypeAttr services --> + <service name="createFinAccountTransTypeAttr" default-entity-name="FinAccountTransTypeAttr" engine="entity-auto" invoke="create" auth="true"> + <description>Create a FinAccountTransTypeAttr</description> + <auto-attributes include="nonpk" mode="IN" optional="true"/> + <auto-attributes include="pk" mode="INOUT" optional="false"/> + </service> + <service name="updateFinAccountTransTypeAttr" default-entity-name="FinAccountTransTypeAttr" engine="entity-auto" invoke="update" auth="true"> + <description>Update a FinAccountTransType</description> + <auto-attributes include="pk" mode="IN" optional="false"/> + <auto-attributes include="nonpk" mode="IN" optional="true"/> + </service> + <service name="deleteFinAccountTransTypeAttr" default-entity-name="FinAccountTransTypeAttr" engine="entity-auto" invoke="delete" auth="true"> + <description>Delete a FinAccountTransTypeAttr</description> + <auto-attributes include="pk" mode="IN" optional="false"/> + </service> + + <!-- FinAccountType services --> + <service name="createFinAccountType" default-entity-name="FinAccountType" engine="entity-auto" invoke="create" auth="true"> + <description>Create a FinAccountType</description> + <auto-attributes include="nonpk" mode="IN" optional="true"/> + <auto-attributes include="pk" mode="INOUT" optional="true"/> + </service> + <service name="updateFinAccountType" default-entity-name="FinAccountType" engine="entity-auto" invoke="update" auth="true"> + <description>Update a FinAccountType</description> + <auto-attributes include="pk" mode="IN" optional="false"/> + <auto-attributes include="nonpk" mode="IN" optional="true"/> + </service> + <service name="deleteFinAccountType" default-entity-name="FinAccountType" engine="entity-auto" invoke="delete" auth="true"> + <description>Delete a FinAccountType</description> + <auto-attributes include="pk" mode="IN" optional="false"/> + </service> + + <!-- FinAccountTypeAttr services --> + <service name="createFinAccountTypeAttr" default-entity-name="FinAccountTypeAttr" engine="entity-auto" invoke="create" auth="true"> + <description>Create a FinAccountTypeAttr</description> + <auto-attributes include="nonpk" mode="IN" optional="true"/> + <auto-attributes include="pk" mode="INOUT" optional="false"/> + </service> + <service name="updateFinAccountTypeAttr" default-entity-name="FinAccountTypeAttr" engine="entity-auto" invoke="update" auth="true"> + <description>Update a FinAccountTypeAttr</description> + <auto-attributes include="pk" mode="IN" optional="false"/> + <auto-attributes include="nonpk" mode="IN" optional="true"/> + </service> + <service name="deleteFinAccountTypeAttr" default-entity-name="FinAccountTypeAttr" engine="entity-auto" invoke="delete" auth="true"> + <description>Delete a FinAccountTypeAttr</description> + <auto-attributes include="pk" mode="IN" optional="false"/> + </service> </services> Modified: ofbiz/trunk/applications/accounting/servicedef/services_fixedasset.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/servicedef/services_fixedasset.xml?rev=1765077&r1=1765076&r2=1765077&view=diff ============================================================================== --- ofbiz/trunk/applications/accounting/servicedef/services_fixedasset.xml (original) +++ ofbiz/trunk/applications/accounting/servicedef/services_fixedasset.xml Sat Oct 15 14:37:51 2016 @@ -347,4 +347,100 @@ under the License. <description>Delete a AccommodationMap</description> <auto-attributes include="pk" mode="IN"/> </service> + + <!-- FixedAssetAttribute services --> + <service name="createFixedAssetAttribute" default-entity-name="FixedAssetAttribute" engine="entity-auto" invoke="create" auth="true"> + <description>Create a FixedAssetAttribute</description> + <auto-attributes include="nonpk" mode="IN" optional="true"/> + <auto-attributes include="pk" mode="INOUT" optional="false"/> + </service> + <service name="updateFixedAssetAttribute" default-entity-name="FixedAssetAttribute" engine="entity-auto" invoke="update" auth="true"> + <description>Update a FixedAssetAttribute</description> + <auto-attributes include="pk" mode="IN" optional="false"/> + <auto-attributes include="nonpk" mode="IN" optional="true"/> + </service> + <service name="deleteFixedAssetAttribute" default-entity-name="FixedAssetAttribute" engine="entity-auto" invoke="delete" auth="true"> + <description>Delete a FixedAssetAttribute</description> + <auto-attributes include="pk" mode="IN" optional="false"/> + </service> + + <!-- FixedAssetIdentType services --> + <service name="createFixedAssetIdentType" default-entity-name="FixedAssetIdentType" engine="entity-auto" invoke="create" auth="true"> + <description>Create a FixedAssetIdentType</description> + <auto-attributes include="nonpk" mode="IN" optional="true"/> + <auto-attributes include="pk" mode="INOUT" optional="true"/> + </service> + <service name="updateFixedAssetIdentType" default-entity-name="FixedAssetIdentType" engine="entity-auto" invoke="update" auth="true"> + <description>Update a FixedAssetIdentType</description> + <auto-attributes include="pk" mode="IN" optional="false"/> + <auto-attributes include="nonpk" mode="IN" optional="true"/> + </service> + <service name="deleteFixedAssetIdentType" default-entity-name="FixedAssetIdentType" engine="entity-auto" invoke="delete" auth="true"> + <description>Delete a FixedAssetIdentType</description> + <auto-attributes include="pk" mode="IN" optional="false"/> + </service> + + <!-- FixedAssetProductType services --> + <service name="createFixedAssetProductType" default-entity-name="FixedAssetProductType" engine="entity-auto" invoke="create" auth="true"> + <description>Create a FixedAssetProductType</description> + <auto-attributes include="nonpk" mode="IN" optional="true"/> + <auto-attributes include="pk" mode="INOUT" optional="true"/> + </service> + <service name="updateFixedAssetProductType" default-entity-name="FixedAssetProductType" engine="entity-auto" invoke="update" auth="true"> + <description>Update a FixedAssetProductType</description> + <auto-attributes include="pk" mode="IN" optional="false"/> + <auto-attributes include="nonpk" mode="IN" optional="true"/> + </service> + <service name="deleteFixedAssetProductType" default-entity-name="FixedAssetProductType" engine="entity-auto" invoke="delete" auth="true"> + <description>Delete a FixedAssetProductType</description> + <auto-attributes include="pk" mode="IN" optional="false"/> + </service> + + <!-- FixedAssetStdCostType services --> + <service name="createFixedAssetStdCostType" default-entity-name="FixedAssetStdCostType" engine="entity-auto" invoke="create" auth="true"> + <description>Create a FixedAssetStdCostType</description> + <auto-attributes include="nonpk" mode="IN" optional="true"/> + <auto-attributes include="pk" mode="INOUT" optional="true"/> + </service> + <service name="updateFixedAssetStdCostType" default-entity-name="FixedAssetStdCostType" engine="entity-auto" invoke="update" auth="true"> + <description>Update a FixedAssetStdCostType</description> + <auto-attributes include="pk" mode="IN" optional="false"/> + <auto-attributes include="nonpk" mode="IN" optional="true"/> + </service> + <service name="deleteFixedAssetStdCostType" default-entity-name="FixedAssetStdCostType" engine="entity-auto" invoke="delete" auth="true"> + <description>Delete a FixedAssetStdCostType</description> + <auto-attributes include="pk" mode="IN" optional="false"/> + </service> + + <!-- FixedAssetType services --> + <service name="createFixedAssetType" default-entity-name="FixedAssetType" engine="entity-auto" invoke="create" auth="true"> + <description>Create a FixedAssetType</description> + <auto-attributes include="nonpk" mode="IN" optional="true"/> + <auto-attributes include="pk" mode="INOUT" optional="true"/> + </service> + <service name="updateFixedAssetType" default-entity-name="FixedAssetType" engine="entity-auto" invoke="update" auth="true"> + <description>Update a FixedAssetType</description> + <auto-attributes include="pk" mode="IN" optional="false"/> + <auto-attributes include="nonpk" mode="IN" optional="true"/> + </service> + <service name="deleteFixedAssetType" default-entity-name="FixedAssetType" engine="entity-auto" invoke="delete" auth="true"> + <description>Delete a FixedAssetType</description> + <auto-attributes include="pk" mode="IN" optional="false"/> + </service> + + <!-- FixedAssetTypeAttr services --> + <service name="createFixedAssetTypeAttr" default-entity-name="FixedAssetTypeAttr" engine="entity-auto" invoke="create" auth="true"> + <description>Create a FixedAssetTypeAttr</description> + <auto-attributes include="nonpk" mode="IN" optional="true"/> + <auto-attributes include="pk" mode="INOUT" optional="false"/> + </service> + <service name="updateFixedAssetTypeAttr" default-entity-name="FixedAssetTypeAttr" engine="entity-auto" invoke="update" auth="true"> + <description>Update a FixedAssetTypeAttr</description> + <auto-attributes include="pk" mode="IN" optional="false"/> + <auto-attributes include="nonpk" mode="IN" optional="true"/> + </service> + <service name="deleteFixedAssetTypeAttr" default-entity-name="FixedAssetTypeAttr" engine="entity-auto" invoke="delete" auth="true"> + <description>Delete a FixedAssetTypeAttr</description> + <auto-attributes include="pk" mode="IN" optional="false"/> + </service> </services> Modified: ofbiz/trunk/applications/accounting/servicedef/services_ledger.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/servicedef/services_ledger.xml?rev=1765077&r1=1765076&r2=1765077&view=diff ============================================================================== --- ofbiz/trunk/applications/accounting/servicedef/services_ledger.xml (original) +++ ofbiz/trunk/applications/accounting/servicedef/services_ledger.xml Sat Oct 15 14:37:51 2016 @@ -761,4 +761,111 @@ under the License. <auto-attributes include="pk" mode="IN" optional="false"/> </service> + <!-- GlAccountClass services --> + <service name="createGlAccountClass" default-entity-name="GlAccountClass" engine="entity-auto" invoke="create" auth="true"> + <description>Create a GlAccountClass</description> + <auto-attributes include="nonpk" mode="IN" optional="true"/> + <auto-attributes include="pk" mode="INOUT" optional="true"/> + </service> + <service name="updateGlAccountClass" default-entity-name="GlAccountClass" engine="entity-auto" invoke="update" auth="true"> + <description>Update a GlAccountClass</description> + <auto-attributes include="pk" mode="IN" optional="false"/> + <auto-attributes include="nonpk" mode="IN" optional="true"/> + </service> + <service name="deleteGlAccountClass" default-entity-name="GlAccountClass" engine="entity-auto" invoke="delete" auth="true"> + <description>Delete a GlAccountClass</description> + <auto-attributes include="pk" mode="IN" optional="false"/> + </service> + + <!-- GlAccountGroup services --> + <service name="createGlAccountGroup" default-entity-name="GlAccountGroup" engine="entity-auto" invoke="create" auth="true"> + <description>Create a GlAccountGroup</description> + <auto-attributes include="nonpk" mode="IN" optional="true"/> + <auto-attributes include="pk" mode="INOUT" optional="true"/> + </service> + <service name="updateGlAccountGroup" default-entity-name="GlAccountGroup" engine="entity-auto" invoke="update" auth="true"> + <description>Update a GlAccountGroup</description> + <auto-attributes include="pk" mode="IN" optional="false"/> + <auto-attributes include="nonpk" mode="IN" optional="true"/> + </service> + <service name="deleteGlAccountGroup" default-entity-name="GlAccountGroup" engine="entity-auto" invoke="delete" auth="true"> + <description>Delete a GlAccountGroup</description> + <auto-attributes include="pk" mode="IN" optional="false"/> + </service> + + <!-- GlAccountGroupMember services --> + <service name="createGlAccountGroupMember" default-entity-name="GlAccountGroupMember" engine="entity-auto" invoke="create" auth="true"> + <description>Create a GlAccountGroupMember</description> + <auto-attributes include="nonpk" mode="IN" optional="true"/> + <auto-attributes include="pk" mode="INOUT" optional="false"/> + </service> + <service name="updateGlAccountGroupMember" default-entity-name="GlAccountGroupMember" engine="entity-auto" invoke="update" auth="true"> + <description>Update a GlAccountGroupMember</description> + <auto-attributes include="pk" mode="IN" optional="false"/> + <auto-attributes include="nonpk" mode="IN" optional="true"/> + </service> + <service name="deleteGlAccountGroupMember" default-entity-name="GlAccountGroupMember" engine="entity-auto" invoke="delete" auth="true"> + <description>Delete a GlAccountGroupMember</description> + <auto-attributes include="pk" mode="IN" optional="false"/> + </service> + + <!-- GlAccountGroupType services --> + <service name="createGlAccountGroupType" default-entity-name="GlAccountGroupType" engine="entity-auto" invoke="create" auth="true"> + <description>Create a GlAccountGroupType</description> + <auto-attributes include="nonpk" mode="IN" optional="true"/> + <auto-attributes include="pk" mode="INOUT" optional="true"/> + </service> + <service name="updateGlAccountGroupType" default-entity-name="GlAccountGroupType" engine="entity-auto" invoke="update" auth="true"> + <description>Update a GlAccountGroupType</description> + <auto-attributes include="pk" mode="IN" optional="false"/> + <auto-attributes include="nonpk" mode="IN" optional="true"/> + </service> + <service name="deleteGlAccountGroupType" default-entity-name="GlAccountGroupType" engine="entity-auto" invoke="delete" auth="true"> + <description>Delete a GlAccountGroupType</description> + <auto-attributes include="pk" mode="IN" optional="false"/> + </service> + + <!-- GlAccountRole services --> + <service name="createGlAccountRole" default-entity-name="GlAccountRole" engine="entity-auto" invoke="create" auth="true"> + <description>Create a GlAccountRole</description> + <auto-attributes include="nonpk" mode="IN" optional="true"/> + <auto-attributes include="pk" mode="INOUT" optional="false"/> + </service> + <service name="expireGlAccountRole" default-entity-name="GlAccountRole" engine="entity-auto" invoke="expire" auth="true"> + <description>Expire a GlAccountRole</description> + <auto-attributes include="pk" mode="IN" optional="false"/> + </service> + + + <!-- GlAccountType services --> + <service name="createGlAccountType" default-entity-name="GlAccountType" engine="entity-auto" invoke="create" auth="true"> + <description>Create a GlAccountType</description> + <auto-attributes include="nonpk" mode="IN" optional="true"/> + <auto-attributes include="pk" mode="INOUT" optional="true"/> + </service> + <service name="updateGlAccountType" default-entity-name="GlAccountType" engine="entity-auto" invoke="update" auth="true"> + <description>Update a GlAccountType</description> + <auto-attributes include="pk" mode="IN" optional="false"/> + <auto-attributes include="nonpk" mode="IN" optional="true"/> + </service> + <service name="deleteGlAccountType" default-entity-name="GlAccountType" engine="entity-auto" invoke="delete" auth="true"> + <description>Delete a GlAccountType</description> + <auto-attributes include="pk" mode="IN" optional="false"/> + </service> + + <!-- GlBudgetXref services --> + <service name="createGlBudgetXref" default-entity-name="GlBudgetXref" engine="entity-auto" invoke="create" auth="true"> + <description>Create a GlBudgetXref</description> + <auto-attributes include="nonpk" mode="IN" optional="true"/> + <auto-attributes include="pk" mode="INOUT" optional="false"/> + </service> + <service name="updateGlBudgetXref" default-entity-name="GlBudgetXref" engine="entity-auto" invoke="update" auth="true"> + <description>Update a GlBudgetXref</description> + <auto-attributes include="pk" mode="IN" optional="false"/> + <auto-attributes include="nonpk" mode="IN" optional="true"/> + </service> + <service name="expireGlBudgetXref" default-entity-name="GlBudgetXref" engine="entity-auto" invoke="expire" auth="true"> + <description>Expire a GlBudgetXref</description> + <auto-attributes include="pk" mode="IN" optional="false"/> + </service> </services> Modified: ofbiz/trunk/applications/product/servicedef/services_facility.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/servicedef/services_facility.xml?rev=1765077&r1=1765076&r2=1765077&view=diff ============================================================================== --- ofbiz/trunk/applications/product/servicedef/services_facility.xml (original) +++ ofbiz/trunk/applications/product/servicedef/services_facility.xml Sat Oct 15 14:37:51 2016 @@ -992,4 +992,26 @@ under the License. <description>Delete a FacilityType record</description> <auto-attributes include="pk" mode="IN"/> </service> + + <!-- FacilityCarrierShipment services --> + <service name="createFacilityCarrierShipment" default-entity-name="FacilityCarrierShipment" engine="entity-auto" invoke="create" auth="true"> + <description>Create a FacilityCarrierShipment record</description> + <auto-attributes include="nonpk" mode="IN" optional="true"/> + <auto-attributes include="pk" mode="INOUT" optional="false"/> + </service> + <service name="deleteFacilityCarrierShipment" default-entity-name="FacilityCarrierShipment" engine="entity-auto" invoke="delete" auth="true"> + <description>Delete a FacilityCarrierShipment record</description> + <auto-attributes include="pk" mode="IN" optional="false"/> + </service> + + <!-- FacilityLocationGeoPoint services --> + <service name="createFacilityLocationGeoPoint" default-entity-name="FacilityLocationGeoPoint" engine="entity-auto" invoke="create" auth="true"> + <description>Create a FacilityLocationGeoPoint record</description> + <auto-attributes include="nonpk" mode="IN" optional="true"/> + <auto-attributes include="pk" mode="INOUT" optional="false"/> + </service> + <service name="expireFacilityLocationGeoPoint" default-entity-name="FacilityLocationGeoPoint" engine="entity-auto" invoke="expire" auth="true"> + <description>Expire a FacilityLocationGeoPoint record</description> + <auto-attributes include="pk" mode="IN" optional="false"/> + </service> </services> Modified: ofbiz/trunk/specialpurpose/example/servicedef/services.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/example/servicedef/services.xml?rev=1765077&r1=1765076&r2=1765077&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/example/servicedef/services.xml (original) +++ ofbiz/trunk/specialpurpose/example/servicedef/services.xml Sat Oct 15 14:37:51 2016 @@ -134,4 +134,21 @@ under the License. <attribute name="message" mode="IN" type="String" optional="true"></attribute> <attribute name="successMessage" mode="IN" type="String" optional="true"></attribute> </service> + + <!-- ExampleType services --> + <service name="createExampleType" default-entity-name="ExampleType" engine="entity-auto" invoke="create" auth="true"> + <description>Create a record of ExampleType</description> + <auto-attributes include="nonpk" mode="IN" optional="true"/> + <auto-attributes include="pk" mode="INOUT" optional="true"/> + </service> + <service name="updateExampleType" default-entity-name="ExampleType" engine="entity-auto" invoke="update" auth="true"> + <description>Update a record of ExampleType</description> + <auto-attributes include="pk" mode="IN" optional="false"/> + <auto-attributes include="nonpk" mode="IN" optional="true"/> + </service> + <service name="deleteExampleType" default-entity-name="ExampleType" engine="entity-auto" invoke="delete" auth="true"> + <description>Delete a record of ExampleType</description> + <auto-attributes include="pk" mode="IN" optional="false"/> + </service> + </services> |
Free forum by Nabble | Edit this page |