You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by do...@apache.org on 2012/11/30 22:24:33 UTC
svn commit: r1415856 -
/ofbiz/trunk/applications/product/servicedef/services_facility.xml
Author: doogie
Date: Fri Nov 30 21:24:32 2012
New Revision: 1415856
URL: http://svn.apache.org/viewvc?rev=1415856&view=rev
Log:
Add (create|update|delete)FacilityAttribute services using
engine=entity-auto.
Modified:
ofbiz/trunk/applications/product/servicedef/services_facility.xml
Modified: ofbiz/trunk/applications/product/servicedef/services_facility.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/servicedef/services_facility.xml?rev=1415856&r1=1415855&r2=1415856&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/servicedef/services_facility.xml (original)
+++ ofbiz/trunk/applications/product/servicedef/services_facility.xml Fri Nov 30 21:24:32 2012
@@ -560,6 +560,22 @@ under the License.
<auto-attributes include="pk" mode="IN" optional="false"/>
</service>
+ <!-- Facility Attribute -->
+ <service name="createFacilityAttribute" engine="entity-auto" default-entity-name="FacilityAttribute" invoke="create" auth="true">
+ <description>Create Facility Attribute</description>
+ <auto-attributes mode="IN" entity-name="FacilityAttribute" include="pk" optional="false"/>
+ <auto-attributes mode="IN" entity-name="FacilityAttribute" include="nonpk" optional="true"/>
+ </service>
+ <service name="updateFacilityAttribute" engine="entity-auto" default-entity-name="FacilityAttribute" invoke="update" auth="true">
+ <description>Update Facility Attribute</description>
+ <auto-attributes mode="IN" entity-name="FacilityAttribute" include="pk" optional="false"/>
+ <auto-attributes mode="IN" entity-name="FacilityAttribute" include="nonpk" optional="true"/>
+ </service>
+ <service name="deleteFacilityAttribute" engine="entity-auto" default-entity-name="FacilityAttribute" invoke="delete" auth="true">
+ <description>Delete Facility Attribute</description>
+ <auto-attributes mode="IN" entity-name="FacilityAttribute" include="pk" optional="false"/>
+ </service>
+
<service name="createFacilityLocation" default-entity-name="FacilityLocation" engine="simple"
location="component://product/script/org/ofbiz/product/storage/StorageServices.xml" invoke="createFacilityLocation" auth="true">
<description>Create a Facility Location</description>