Author: jacopoc
Date: Sat Jun 16 09:08:17 2007 New Revision: 547935 URL: http://svn.apache.org/viewvc?view=rev&rev=547935 Log: CRUD services for the new InventoryItemLabelType entity. Modified: ofbiz/trunk/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml ofbiz/trunk/applications/product/servicedef/services_facility.xml Modified: ofbiz/trunk/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml?view=diff&rev=547935&r1=547934&r2=547935 ============================================================================== --- ofbiz/trunk/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml (original) +++ ofbiz/trunk/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml Sat Jun 16 09:08:17 2007 @@ -777,6 +777,21 @@ </simple-method> <!-- Inventory Label Services --> + <simple-method method-name="createInventoryItemLabelType" short-description="Create an InventoryItemLabelType"> + <make-value entity-name="InventoryItemLabelType" value-name="newEntity"/> + <set-pk-fields map-name="parameters" value-name="newEntity"/> + <set-nonpk-fields map-name="parameters" value-name="newEntity"/> + <create-value value-name="newEntity"/> + </simple-method> + <simple-method method-name="updateInventoryItemLabelType" short-description="Update an InventoryItemLabelType"> + <entity-one entity-name="InventoryItemLabelType" value-name="lookedUpValue"/> + <set-nonpk-fields map-name="parameters" value-name="lookedUpValue"/> + <store-value value-name="lookedUpValue"/> + </simple-method> + <simple-method method-name="deleteInventoryItemLabelType" short-description="Delete an InventoryItemLabelType"> + <entity-one entity-name="InventoryItemLabelType" value-name="lookedUpValue"/> + <remove-value value-name="lookedUpValue"/> + </simple-method> <simple-method method-name="createInventoryItemLabel" short-description="Create an InventoryItemLabel"> <make-value entity-name="InventoryItemLabel" value-name="newEntity"/> <set-pk-fields map-name="parameters" value-name="newEntity"/> Modified: ofbiz/trunk/applications/product/servicedef/services_facility.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/servicedef/services_facility.xml?view=diff&rev=547935&r1=547934&r2=547935 ============================================================================== --- ofbiz/trunk/applications/product/servicedef/services_facility.xml (original) +++ ofbiz/trunk/applications/product/servicedef/services_facility.xml Sat Jun 16 09:08:17 2007 @@ -707,6 +707,26 @@ <attribute name="warningMessageList" type="List" mode="INOUT" optional="true"/> </service> <!-- Inventory Label Services --> + <service name="createInventoryItemLabelType" default-entity-name="InventoryItemLabelType" engine="simple" + location="org/ofbiz/product/inventory/InventoryServices.xml" invoke="createInventoryItemLabelType" auth="true"> + <description>Create an InventoryItemLabelType</description> + <permission-service service-name="facilityGenericPermission" main-action="CREATE"/> + <auto-attributes include="pk" mode="IN" optional="false"/> + <auto-attributes include="nonpk" mode="IN" optional="true"/> + </service> + <service name="updateInventoryItemLabelType" default-entity-name="InventoryItemLabelType" engine="simple" + location="org/ofbiz/product/inventory/InventoryServices.xml" invoke="updateInventoryItemLabelType" auth="true"> + <description>Update an InventoryItemLabelType</description> + <permission-service service-name="facilityGenericPermission" main-action="UPDATE"/> + <auto-attributes include="pk" mode="IN" optional="false"/> + <auto-attributes include="nonpk" mode="IN" optional="true"/> + </service> + <service name="deleteInventoryItemLabelType" default-entity-name="InventoryItemLabelType" engine="simple" + location="org/ofbiz/product/inventory/InventoryServices.xml" invoke="deleteInventoryItemLabelType" auth="true"> + <description>Delete an InventoryItemLabelType</description> + <permission-service service-name="facilityGenericPermission" main-action="DELETE"/> + <auto-attributes include="pk" mode="IN" optional="false"/> + </service> <service name="createInventoryItemLabel" default-entity-name="InventoryItemLabel" engine="simple" location="org/ofbiz/product/inventory/InventoryServices.xml" invoke="createInventoryItemLabel" auth="true"> <description>Create an InventoryItemLabel</description> |
Free forum by Nabble | Edit this page |