Author: adrianc
Date: Sun Aug 28 11:45:15 2011
New Revision: 1162503
URL:
http://svn.apache.org/viewvc?rev=1162503&view=revLog:
Added MarketInterest entity CRUD services to the Product component.
Modified:
ofbiz/trunk/applications/product/servicedef/services.xml
Modified: ofbiz/trunk/applications/product/servicedef/services.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/servicedef/services.xml?rev=1162503&r1=1162502&r2=1162503&view=diff==============================================================================
--- ofbiz/trunk/applications/product/servicedef/services.xml (original)
+++ ofbiz/trunk/applications/product/servicedef/services.xml Sun Aug 28 11:45:15 2011
@@ -1641,4 +1641,25 @@ under the License.
<attribute name="productsNotUpdated" mode="OUT" type="Integer" optional="true"/>
<attribute name="productsUpdated" mode="OUT" type="Integer" optional="true"/>
</service>
+
+ <service name="createMarketInterest" default-entity-name="MarketInterest" engine="entity-auto" invoke="create" auth="true">
+ <description>Create a Market Interest</description>
+ <permission-service service-name="productGenericPermission" main-action="CREATE"/>
+ <auto-attributes include="pk" mode="IN" optional="false"/>
+ <auto-attributes include="nonpk" mode="IN" optional="true"/>
+ </service>
+
+ <service name="updateMarketInterest" default-entity-name="MarketInterest" engine="entity-auto" invoke="update" auth="true">
+ <description>Update a Market Interest</description>
+ <permission-service service-name="productGenericPermission" main-action="UPDATE"/>
+ <auto-attributes include="pk" mode="IN" optional="false"/>
+ <auto-attributes include="nonpk" mode="IN" optional="true"/>
+ </service>
+
+ <service name="deleteMarketInterest" default-entity-name="MarketInterest" engine="entity-auto" invoke="delete" auth="true">
+ <description>Delete a Market Interest</description>
+ <permission-service service-name="productGenericPermission" main-action="DELETE"/>
+ <auto-attributes include="pk" mode="IN" optional="false"/>
+ </service>
+
</services>