Author: jonesde
Date: Wed Sep 15 18:49:51 2010
New Revision: 997451

URL: http://svn.apache.org/viewvc?rev=997451&view=rev
Log:
Added deleteEnumeration service, changed to allow safe HTML in enum description 
field

Modified:
    ofbiz/trunk/framework/common/servicedef/services.xml

Modified: ofbiz/trunk/framework/common/servicedef/services.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/servicedef/services.xml?rev=997451&r1=997450&r2=997451&view=diff
==============================================================================
--- ofbiz/trunk/framework/common/servicedef/services.xml (original)
+++ ofbiz/trunk/framework/common/servicedef/services.xml Wed Sep 15 18:49:51 
2010
@@ -97,7 +97,7 @@ under the License.
         <auto-attributes include="pk" mode="OUT" optional="false"/>
         <auto-attributes include="nonpk" mode="IN" optional="true"/>
         <override name="enumTypeId" optional="false"/>
-        <override name="description" optional="false"/>
+        <override name="description" optional="false" allow-html="safe"/>
     </service>
     <service name="updateEnumeration" default-entity-name="Enumeration" 
engine="simple"
         
location="component://common/script/org/ofbiz/common/EnumerationServices.xml" 
invoke="updateEnumeration" auth="true">
@@ -106,9 +106,14 @@ under the License.
         <auto-attributes include="pk" mode="IN" optional="false"/>
         <auto-attributes include="nonpk" mode="IN" optional="true"/>
         <override name="enumTypeId" optional="false"/>
-        <override name="description" optional="false"/>
+        <override name="description" optional="false" allow-html="safe"/>
     </service>
-
+    <service name="deleteEnumeration" default-entity-name="Enumeration" 
engine="entity-auto" invoke="delete" auth="true">
+        <description>Delete a Enumeration</description>
+        <permission-service service-name="commonGenericPermission" 
main-action="DELETE"/>
+        <auto-attributes include="pk" mode="IN" optional="false"/>
+    </service>
+    
     <!-- DataSource Services -->
     <service name="interfaceDataSource" engine="interface" location="" 
invoke="">
         <attribute name="dataSourceId" type="String" mode="IN" 
optional="false"/>


Reply via email to