Blame view

applications/product/servicedef/services_feature.xml 20.2 KB
c16038356   Anchit Jindal   first commit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
  <?xml version="1.0" encoding="UTF-8" ?>
  <!--
  Licensed to the Apache Software Foundation (ASF) under one
  or more contributor license agreements.  See the NOTICE file
  distributed with this work for additional information
  regarding copyright ownership.  The ASF licenses this file
  to you under the Apache License, Version 2.0 (the
  "License"); you may not use this file except in compliance
  with the License.  You may obtain a copy of the License at
  
  http://www.apache.org/licenses/LICENSE-2.0
  
  Unless required by applicable law or agreed to in writing,
  software distributed under the License is distributed on an
  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  KIND, either express or implied.  See the License for the
  specific language governing permissions and limitations
  under the License.
  -->
  
  <services xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/services.xsd">
      <description>Product Component Services</description>
      <vendor>OFBiz</vendor>
      <version>1.0</version>
  
      <!-- Product Feature Services -->
      <service name="createProductFeatureCategory" engine="simple"
                  location="component://product/script/org/ofbiz/product/feature/ProductFeatureServices.xml" invoke="createProductFeatureCategory" auth="true">
          <description>Create a ProductFeatureCategory record</description>
          <attribute name="parentCategoryId" type="String" mode="IN" optional="true"/>
          <attribute name="description" type="String" mode="IN" optional="false"/>
          <attribute name="productFeatureCategoryId" type="String" mode="OUT" optional="false"/>
      </service>
      <service name="updateProductFeatureCategory" engine="simple"
                  location="component://product/script/org/ofbiz/product/feature/ProductFeatureServices.xml" invoke="updateProductFeatureCategory" auth="true">
          <description>Update a ProductFeatureCategory record</description>
          <attribute name="productFeatureCategoryId" type="String" mode="IN" optional="false"/>
          <attribute name="parentCategoryId" type="String" mode="IN" optional="true"/>
          <attribute name="description" type="String" mode="IN" optional="false"/>
      </service>
  
      <service name="createProductFeature" engine="simple"
                  location="component://product/script/org/ofbiz/product/feature/ProductFeatureServices.xml" invoke="createProductFeature" auth="true">
          <description>Create a ProductFeature record</description>
          <attribute name="productFeatureTypeId" type="String" mode="IN" optional="false"/>
          <attribute name="productFeatureCategoryId" type="String" mode="IN" optional="true"/>
          <attribute name="description" type="String" mode="IN" optional="false"/>
          <attribute name="uomId" type="String" mode="IN" optional="true"/>
          <attribute name="numberSpecified" type="BigDecimal" mode="IN" optional="true"/>
          <attribute name="defaultAmount" type="BigDecimal" mode="IN" optional="true"/>
          <attribute name="productFeatureId" type="String" mode="IN" optional="true"/>
          <attribute name="productFeatureId" type="String" mode="OUT" optional="false"/>
          <attribute name="defaultSequenceNum" type="Long" mode="IN" optional="true"/>
          <attribute name="idCode" type="String" mode="IN" optional="true"/>
          <attribute name="abbrev" type="String" mode="IN" optional="true"/>
      </service>
      <service name="updateProductFeature" engine="simple"
                  location="component://product/script/org/ofbiz/product/feature/ProductFeatureServices.xml" invoke="updateProductFeature" auth="true">
          <description>Update a ProductFeature record</description>
          <attribute name="productFeatureId" type="String" mode="IN" optional="false"/>
          <attribute name="productFeatureTypeId" type="String" mode="IN" optional="false"/>
          <attribute name="productFeatureCategoryId" type="String" mode="IN" optional="true"/>
          <attribute name="description" type="String" mode="IN" optional="false"/>
          <attribute name="uomId" type="String" mode="IN" optional="true"/>
          <attribute name="numberSpecified" type="BigDecimal" mode="IN" optional="true"/>
          <attribute name="defaultAmount" type="BigDecimal" mode="IN" optional="true"/>
          <attribute name="defaultSequenceNum" type="Long" mode="IN" optional="true"/>
          <attribute name="idCode" type="String" mode="IN" optional="true"/>
          <attribute name="abbrev" type="String" mode="IN" optional="true"/>
      </service>
  
      <service name="applyFeatureToProduct" engine="simple"
                  location="component://product/script/org/ofbiz/product/feature/ProductFeatureServices.xml" invoke="applyFeatureToProduct" auth="true">
          <description>Apply a ProductFeature to a Product; a fromDate can be used
              to specify when the feature will be applied, if no fromDate is specified,
              it will be applied now.</description>
          <attribute name="productId" type="String" mode="IN" optional="false"/>
          <attribute name="productFeatureId" type="String" mode="IN" optional="false"/>
          <attribute name="productFeatureApplTypeId" type="String" mode="IN" optional="false"/>
          <attribute name="fromDate" type="java.sql.Timestamp" mode="IN" optional="true"/>
          <attribute name="thruDate" type="java.sql.Timestamp" mode="IN" optional="true"/>
          <attribute name="sequenceNum" type="Long" mode="IN" optional="true"/>
          <attribute name="amount" type="BigDecimal" mode="IN" optional="true"/>
      </service>
      <service name="updateFeatureToProductApplication" engine="simple"
                  location="component://product/script/org/ofbiz/product/feature/ProductFeatureServices.xml" invoke="updateFeatureToProductApplication" auth="true">
          <description>Update a ProductFeature to Product Application</description>
          <attribute name="productId" type="String" mode="IN" optional="false"/>
          <attribute name="productFeatureId" type="String" mode="IN" optional="false"/>
          <attribute name="productFeatureApplTypeId" type="String" mode="IN" optional="false"/>
          <attribute name="fromDate" type="java.sql.Timestamp" mode="IN" optional="false"/>
          <attribute name="thruDate" type="java.sql.Timestamp" mode="IN" optional="true"/>
          <attribute name="sequenceNum" type="Long" mode="IN" optional="true"/>
          <attribute name="amount" type="BigDecimal" mode="IN" optional="true"/>
          <attribute name="recurringAmount" type="BigDecimal" mode="IN" optional="true"/>
      </service>
      <service name="removeFeatureFromProduct" engine="simple"
                  location="component://product/script/org/ofbiz/product/feature/ProductFeatureServices.xml" invoke="removeFeatureFromProduct" auth="true">
          <description>Remove a ProductFeature from a Product; a thruDate can be used
              to specify when the feature will be removed, if no thruDate is specified,
              it will be removed now.</description>
          <attribute name="productId" type="String" mode="IN" optional="false"/>
          <attribute name="productFeatureId" type="String" mode="IN" optional="false"/>
          <attribute name="fromDate" type="java.sql.Timestamp" mode="IN" optional="false"/>
          <attribute name="thruDate" type="java.sql.Timestamp" mode="IN" optional="true"/>
      </service>
      <service name="applyFeatureToProductFromTypeAndCode" engine="simple"
                  location="component://product/script/org/ofbiz/product/feature/ProductFeatureServices.xml" invoke="applyFeatureToProductFromTypeAndCode" auth="true">
          <description>Apply a ProductFeature to a Product</description>
          <attribute name="productId" type="String" mode="IN" optional="false"/>
          <attribute name="productFeatureTypeId" type="String" mode="IN" optional="false"/>
          <attribute name="idCode" type="String" mode="IN" optional="false"/>
          <attribute name="productFeatureApplTypeId" type="String" mode="IN" optional="false"/>
          <attribute name="fromDate" type="java.sql.Timestamp" mode="IN" optional="true"/>
          <attribute name="thruDate" type="java.sql.Timestamp" mode="IN" optional="true"/>
          <attribute name="sequenceNum" type="Long" mode="IN" optional="true"/>
      </service>
  
      <!-- ProductFeatureCategoryAppl Services -->
      <service name="createProductFeatureCategoryAppl" default-entity-name="ProductFeatureCategoryAppl" engine="simple"
                  location="component://product/script/org/ofbiz/product/feature/ProductFeatureServices.xml" invoke="createProductFeatureCategoryAppl" auth="true">
          <description>Create a ProductFeatureCategory to ProductCategory Application</description>
          <auto-attributes include="pk" mode="IN" optional="false"/>
          <auto-attributes include="nonpk" mode="IN" optional="true"/>
          <override name="fromDate" optional="true"/>
      </service>
      <service name="updateProductFeatureCategoryAppl" default-entity-name="ProductFeatureCategoryAppl" engine="simple"
                  location="component://product/script/org/ofbiz/product/feature/ProductFeatureServices.xml" invoke="updateProductFeatureCategoryAppl" auth="true">
          <description>Update a ProductFeatureCategory to ProductCategory Application</description>
          <auto-attributes include="pk" mode="IN" optional="false"/>
          <auto-attributes include="nonpk" mode="IN" optional="true"/>
      </service>
      <service name="removeProductFeatureCategoryAppl" default-entity-name="ProductFeatureCategoryAppl" engine="simple"
                  location="component://product/script/org/ofbiz/product/feature/ProductFeatureServices.xml" invoke="removeProductFeatureCategoryAppl" auth="true">
          <description>Remove a ProductFeatureCategory to ProductCategory Application</description>
          <auto-attributes include="pk" mode="IN" optional="false"/>
      </service>
  
      <!-- ProductFeatureCatGrpAppl Services -->
      <service name="createProductFeatureCatGrpAppl" default-entity-name="ProductFeatureCatGrpAppl" engine="simple"
                  location="component://product/script/org/ofbiz/product/feature/ProductFeatureServices.xml" invoke="createProductFeatureCatGrpAppl" auth="true">
          <description>Create a ProductFeatureGroup to ProductCategory Application</description>
          <auto-attributes include="pk" mode="IN" optional="false"/>
          <auto-attributes include="nonpk" mode="IN" optional="true"/>
          <override name="fromDate" optional="true"/>
      </service>
      <service name="updateProductFeatureCatGrpAppl" default-entity-name="ProductFeatureCatGrpAppl" engine="simple"
                  location="component://product/script/org/ofbiz/product/feature/ProductFeatureServices.xml" invoke="updateProductFeatureCatGrpAppl" auth="true">
          <description>Update a ProductFeatureGroup to ProductCategory Application</description>
          <auto-attributes include="pk" mode="IN" optional="false"/>
          <auto-attributes include="nonpk" mode="IN" optional="true"/>
      </service>
      <service name="removeProductFeatureCatGrpAppl" default-entity-name="ProductFeatureCatGrpAppl" engine="simple"
                  location="component://product/script/org/ofbiz/product/feature/ProductFeatureServices.xml" invoke="removeProductFeatureCatGrpAppl" auth="true">
          <description>Remove a ProductFeatureGroup to ProductCategory Application</description>
          <auto-attributes include="pk" mode="IN" optional="false"/>
      </service>
  
      <!-- ProductFeatureGroup Services -->
      <service name="createProductFeatureGroup" engine="simple"
              location="component://product/script/org/ofbiz/product/feature/ProductFeatureServices.xml" invoke="createProductFeatureGroup" auth="true">
          <description>Create a ProductFeatureGroup</description>
          <attribute name="description" type="String" mode="IN" optional="true"/>
          <attribute name="productFeatureGroupId" type="String" mode="OUT" optional="false"/>
      </service>
      <service name="updateProductFeatureGroup" engine="simple"
              location="component://product/script/org/ofbiz/product/feature/ProductFeatureServices.xml" invoke="updateProductFeatureGroup" auth="true">
          <description>Create a ProductFeatureGroup</description>
          <attribute name="productFeatureGroupId" type="String" mode="IN" optional="false"/>
          <attribute name="description" type="String" mode="IN" optional="true"/>
      </service>
      <service name="createProductFeatureGroupAppl" engine="simple"
                  location="component://product/script/org/ofbiz/product/feature/ProductFeatureServices.xml" invoke="createProductFeatureGroupAppl" auth="true">
          <description>Create a ProductFeatureGroup to ProductFeature Application</description>
          <attribute name="productFeatureGroupId" type="String" mode="IN" optional="false"/>
          <attribute name="productFeatureId" type="String" mode="IN" optional="false"/>
          <attribute name="fromDate" type="java.sql.Timestamp" mode="IN" optional="true"/>
          <attribute name="thruDate" type="java.sql.Timestamp" mode="IN" optional="true"/>
          <attribute name="sequenceNum" type="Long" mode="IN" optional="true"/>
      </service>
      <service name="updateProductFeatureGroupAppl" engine="simple"
                  location="component://product/script/org/ofbiz/product/feature/ProductFeatureServices.xml" invoke="updateProductFeatureGroupAppl" auth="true">
          <description>Update a ProductFeatureGroup to ProductFeature Application</description>
          <attribute name="productFeatureGroupId" type="String" mode="IN" optional="false"/>
          <attribute name="productFeatureId" type="String" mode="IN" optional="false"/>
          <attribute name="fromDate" type="java.sql.Timestamp" mode="IN" optional="false"/>
          <attribute name="thruDate" type="java.sql.Timestamp" mode="IN" optional="true"/>
          <attribute name="sequenceNum" type="Long" mode="IN" optional="true"/>
      </service>
      <service name="removeProductFeatureGroupAppl" engine="simple"
                  location="component://product/script/org/ofbiz/product/feature/ProductFeatureServices.xml" invoke="removeProductFeatureGroupAppl" auth="true">
          <description>Remove a ProductFeatureGroup to ProductFeature Application</description>
          <attribute name="productFeatureGroupId" type="String" mode="IN" optional="false"/>
          <attribute name="productFeatureId" type="String" mode="IN" optional="false"/>
          <attribute name="fromDate" type="java.sql.Timestamp" mode="IN" optional="false"/>
      </service>
      <!-- ProductFeatureIactn Services -->
      <service name="createProductFeatureIactn" default-entity-name="ProductFeatureIactn" engine="simple"
          location="component://product/script/org/ofbiz/product/feature/ProductFeatureServices.xml" invoke="createProductFeatureIactn" auth="true">
          <description>Create a ProductFeatureIactn</description>
          <auto-attributes include="pk" mode="IN" optional="false"/>
          <auto-attributes include="nonpk" mode="IN" optional="true"/>
          <override name="productFeatureIactnTypeId" mode="IN" optional="false"/>
      </service>
      <service name="removeProductFeatureIactn" default-entity-name="ProductFeatureIactn" engine="simple"
          location="component://product/script/org/ofbiz/product/feature/ProductFeatureServices.xml" invoke="removeProductFeatureIactn" auth="true">
          <description>Remove a ProductFeatureIactn</description>
          <auto-attributes include="pk" mode="IN" optional="false"/>
      </service>
      <!-- ProductFeatureType Services -->
      <service name="createProductFeatureType" default-entity-name="ProductFeatureType" engine="simple"
                  location="component://product/script/org/ofbiz/product/feature/ProductFeatureServices.xml" invoke="createProductFeatureType" auth="true">
          <description>Create a ProductFeatureType</description>
          <auto-attributes include="pk" mode="IN" optional="false"/>
          <auto-attributes include="nonpk" mode="IN" optional="true"/>
          <override name="productFeatureTypeId" mode="INOUT" optional="true" />
      </service>
      <service name="updateProductFeatureType" default-entity-name="ProductFeatureType" engine="simple"
                  location="component://product/script/org/ofbiz/product/feature/ProductFeatureServices.xml" invoke="updateProductFeatureType" auth="true">
          <description>Update a ProductFeatureType</description>
          <auto-attributes include="pk" mode="IN" optional="false"/>
          <auto-attributes include="nonpk" mode="IN" optional="true"/>
      </service>
      <service name="removeProductFeatureType" default-entity-name="ProductFeatureType" engine="simple"
                  location="component://product/script/org/ofbiz/product/feature/ProductFeatureServices.xml" invoke="removeProductFeatureType" auth="true">
          <description>Remove a ProductFeatureType</description>
          <auto-attributes include="pk" mode="IN" optional="false"/>
      </service>
      <!-- ProductFeatureApplAttr  -->
      <service name="createProductFeatureApplAttr" default-entity-name="ProductFeatureApplAttr" engine="simple"
                  location="component://product/script/org/ofbiz/product/feature/ProductFeatureServices.xml" invoke="createProductFeatureApplAttr" auth="true">
          <description>Create a ProductFeatureApplAttr</description>
          <auto-attributes include="pk" mode="IN" optional="false"/>
          <auto-attributes include="nonpk" mode="IN" optional="true"/>
          <override name="fromDate" optional="true"/>
      </service>
      <service name="updateProductFeatureApplAttr" default-entity-name="ProductFeatureApplAttr" engine="simple"
                  location="component://product/script/org/ofbiz/product/feature/ProductFeatureServices.xml" invoke="updateProductFeatureApplAttr" auth="true">
          <description>Update a ProductFeatureApplAttr</description>
          <auto-attributes include="pk" mode="IN" optional="false"/>
          <auto-attributes include="nonpk" mode="IN" optional="true"/>
      </service>
      <service name="removeProductFeatureApplAttr" default-entity-name="ProductFeatureApplAttr" engine="simple"
                  location="component://product/script/org/ofbiz/product/feature/ProductFeatureServices.xml" invoke="removeProductFeatureApplAttr" auth="true">
          <description>Remove a ProductFeatureApplAttr</description>
          <auto-attributes include="pk" mode="IN" optional="false"/>
          <auto-attributes include="nonpk" mode="IN" optional="true"/>
      </service>
      <!-- Feature Price Service -->
      <service name="createFeaturePrice" engine="simple" default-entity-name="ProductFeaturePrice"
          location="component://product/script/org/ofbiz/product/feature/ProductFeatureServices.xml" invoke="createFeaturePrice" auth="true">
          <description>Create a Feature Price</description>
          <auto-attributes mode="IN" include="pk" optional="false"/>
          <auto-attributes include="nonpk" mode="IN" optional="true">
              <exclude field-name="createdDate"/>
              <exclude field-name="createdByUserLogin"/>
              <exclude field-name="lastModifiedDate"/>
              <exclude field-name="lastModifiedByUserLogin"/>
          </auto-attributes>
          <override name="productFeatureId" mode="IN" optional="true"/>
          <override name="fromDate" mode="INOUT" optional="true"/>
          <override name="price" optional="false"/>
      </service>
      <service name="updateFeaturePrice" engine="simple" default-entity-name="ProductFeaturePrice"
          location="component://product/script/org/ofbiz/product/feature/ProductFeatureServices.xml" invoke="updateFeaturePrice" auth="true">
          <description>Update a Feature Price</description>
          <auto-attributes include="pk" mode="IN" optional="false"/>
          <auto-attributes include="nonpk" mode="IN" optional="true">
              <exclude field-name="createdDate"/>
              <exclude field-name="createdByUserLogin"/>
              <exclude field-name="lastModifiedDate"/>
              <exclude field-name="lastModifiedByUserLogin"/>
          </auto-attributes>
          <override name="price" optional="false"/>
      </service>
      <service name="deleteFeaturePrice" engine="simple" default-entity-name="ProductFeaturePrice"
          location="component://product/script/org/ofbiz/product/feature/ProductFeatureServices.xml" invoke="deleteFeaturePrice" auth="true">
          <description>Delete a Feature Price</description>
          <auto-attributes include="pk" mode="IN" optional="false"/>
      </service>
  </services>