Skip to content
This repository has been archived by the owner on May 9, 2020. It is now read-only.

Commit

Permalink
Add (create|update|delete)FacilityAttribute services using
Browse files Browse the repository at this point in the history
engine=entity-auto.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1415856 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
eigood committed Nov 30, 2012
1 parent 6c40949 commit 10f6865
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions applications/product/servicedef/services_facility.xml
Expand Up @@ -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>
Expand Down

0 comments on commit 10f6865

Please sign in to comment.