Blame view
applications/product/servicedef/services_store.xml
24.4 KB
c16038356
|
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 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 |
<?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 Store Services --> <service name="createProductStore" default-entity-name="ProductStore" engine="simple" location="component://product/script/org/ofbiz/product/store/ProductStoreServices.xml" invoke="createProductStore"> <description>Create a Product Store</description> <auto-attributes include="nonpk" mode="IN" optional="true"/> <auto-attributes include="pk" mode="OUT" optional="false"/> <override name="storeName" optional="false"/> </service> <service name="updateProductStore" default-entity-name="ProductStore" engine="simple" location="component://product/script/org/ofbiz/product/store/ProductStoreServices.xml" invoke="updateProductStore"> <description>Update a Product Store</description> <auto-attributes include="pk" mode="IN" optional="false"/> <auto-attributes include="nonpk" mode="IN" optional="true"/> </service> <service name="reserveStoreInventory" engine="simple" location="component://product/script/org/ofbiz/product/store/ProductStoreServices.xml" invoke="reserveStoreInventory"> <description>Reserve Inventory in a Product Store</description> <attribute name="productStoreId" type="String" mode="IN" optional="false"></attribute> <attribute name="productId" type="String" mode="IN" optional="false"></attribute> <attribute name="facilityId" type="String" mode="IN" optional="true"></attribute> <attribute name="quantity" type="BigDecimal" mode="IN" optional="false"></attribute> <attribute name="orderId" type="String" mode="IN" optional="true"></attribute> <attribute name="orderItemSeqId" type="String" mode="IN" optional="true"></attribute> <attribute name="shipGroupSeqId" type="String" mode="IN" optional="true"></attribute> <attribute name="quantityNotReserved" type="BigDecimal" mode="OUT" optional="false"></attribute> </service> <service name="isStoreInventoryRequired" engine="simple" location="component://product/script/org/ofbiz/product/store/ProductStoreServices.xml" invoke="isStoreInventoryRequired" auth="false"> <description>Checks if Store Inventory is Required</description> <attribute name="productStoreId" type="String" mode="IN" optional="false"></attribute> <attribute name="productStore" type="org.ofbiz.entity.GenericValue" mode="IN" optional="true"></attribute> <attribute name="productId" type="String" mode="IN" optional="false"></attribute> <attribute name="product" type="org.ofbiz.entity.GenericValue" mode="IN" optional="true"></attribute> <attribute name="requireInventory" type="String" mode="OUT" optional="false"><!-- Y/N --></attribute> </service> <service name="isStoreInventoryAvailable" engine="simple" location="component://product/script/org/ofbiz/product/store/ProductStoreServices.xml" invoke="isStoreInventoryAvailable" auth="false"> <description>Checks if Store Inventory is Required</description> <attribute name="productStoreId" type="String" mode="IN" optional="false"></attribute> <attribute name="productStore" type="org.ofbiz.entity.GenericValue" mode="IN" optional="true"></attribute> <attribute name="productId" type="String" mode="IN" optional="false"></attribute> <attribute name="product" type="org.ofbiz.entity.GenericValue" mode="IN" optional="true"></attribute> <attribute name="quantity" type="BigDecimal" mode="IN" optional="false"></attribute> <attribute name="available" type="String" mode="OUT" optional="false"><!-- Y/N --></attribute> </service> <service name="isStoreInventoryAvailableOrNotRequired" engine="simple" location="component://product/script/org/ofbiz/product/store/ProductStoreServices.xml" invoke="isStoreInventoryAvailableOrNotRequired" auth="false"> <description>Checks if Store Inventory is Required</description> <attribute name="productStoreId" type="String" mode="IN" optional="false"></attribute> <attribute name="productStore" type="org.ofbiz.entity.GenericValue" mode="IN" optional="true"></attribute> <attribute name="productId" type="String" mode="IN" optional="false"></attribute> <attribute name="product" type="org.ofbiz.entity.GenericValue" mode="IN" optional="true"></attribute> <attribute name="quantity" type="BigDecimal" mode="IN" optional="false"></attribute> <attribute name="availableOrNotRequired" type="String" mode="OUT" optional="false"><!-- Y/N --></attribute> </service> <!-- Product Store Role Services --> <service name="createProductStoreRole" default-entity-name="ProductStoreRole" engine="simple" location="component://product/script/org/ofbiz/product/store/ProductStoreServices.xml" invoke="createProductStoreRole" auth="true"> <description>Create ProductStoreRole</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="updateProductStoreRole" default-entity-name="ProductStoreRole" engine="simple" location="component://product/script/org/ofbiz/product/store/ProductStoreServices.xml" invoke="updateProductStoreRole" auth="true"> <description>Update a Product Store Role</description> <auto-attributes include="pk" mode="IN" optional="false"/> <auto-attributes include="nonpk" mode="IN" optional="true"/> </service> <service name="removeProductStoreRole" default-entity-name="ProductStoreRole" engine="simple" location="component://product/script/org/ofbiz/product/store/ProductStoreServices.xml" invoke="removeProductStoreRole" auth="true"> <description>Remove ProductStoreRole</description> <auto-attributes include="pk" mode="IN" optional="false"/> <auto-attributes include="nonpk" mode="IN" optional="true"/> </service> <!-- Product Store Catalog Services --> <service name="createProductStoreCatalog" default-entity-name="ProductStoreCatalog" engine="simple" location="component://product/script/org/ofbiz/product/store/ProductStoreServices.xml" invoke="createProductStoreCatalog" auth="true"> <description>Create ProductStoreCatalog</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="updateProductStoreCatalog" default-entity-name="ProductStoreCatalog" engine="simple" location="component://product/script/org/ofbiz/product/store/ProductStoreServices.xml" invoke="updateProductStoreCatalog" auth="true"> <description>Update ProductStoreCatalog</description> <auto-attributes include="pk" mode="IN" optional="false"/> <auto-attributes include="nonpk" mode="IN" optional="true"/> </service> <service name="deleteProductStoreCatalog" default-entity-name="ProductStoreCatalog" engine="simple" location="component://product/script/org/ofbiz/product/store/ProductStoreServices.xml" invoke="deleteProductStoreCatalog" auth="true"> <description>Delete ProductStoreCatalog</description> <auto-attributes include="pk" mode="IN" optional="false"/> </service> <!-- Product Store Payment Services --> <service name="createProductStorePaymentSetting" default-entity-name="ProductStorePaymentSetting" engine="simple" location="component://product/script/org/ofbiz/product/store/ProductStoreServices.xml" invoke="createProductStorePaymentSetting" auth="true"> <description>Create ProductStorePaymentSetting</description> <auto-attributes include="all" mode="IN" optional="false"/> <override name="paymentCustomMethodId" optional="true"/> <override name="paymentGatewayConfigId" optional="true"/> <override name="paymentPropertiesPath" optional="true"/> <override name="paymentService" optional="true"/> </service> <service name="updateProductStorePaymentSetting" default-entity-name="ProductStorePaymentSetting" engine="simple" location="component://product/script/org/ofbiz/product/store/ProductStoreServices.xml" invoke="updateProductStorePaymentSetting" auth="true"> <description>Update ProductStorePaymentSetting</description> <auto-attributes include="all" mode="IN" optional="false"/> <override name="paymentCustomMethodId" optional="true"/> <override name="paymentGatewayConfigId" optional="true"/> <override name="paymentPropertiesPath" optional="true"/> <override name="paymentService" optional="true"/> </service> <service name="deleteProductStorePaymentSetting" default-entity-name="ProductStorePaymentSetting" engine="simple" location="component://product/script/org/ofbiz/product/store/ProductStoreServices.xml" invoke="deleteProductStorePaymentSetting" auth="true"> <description>Delete ProductStorePaymentSetting</description> <auto-attributes include="pk" mode="IN" optional="false"/> </service> <!-- Product Store Email Services --> <service name="createProductStoreEmailSetting" engine="simple" location="component://product/script/org/ofbiz/product/store/ProductStoreServices.xml" invoke="createProductStoreEmail" auth="true"> <description>Create a Product Store Email Setting</description> <auto-attributes entity-name="ProductStoreEmailSetting" include="all" mode="IN" optional="false"/> <override name="xslfoAttachScreenLocation" optional="true"/> <override name="ccAddress" optional="true"/> <override name="bccAddress" optional="true"/> <override name="contentType" optional="true"/> </service> <service name="updateProductStoreEmailSetting" engine="simple" location="component://product/script/org/ofbiz/product/store/ProductStoreServices.xml" invoke="updateProductStoreEmail" auth="true"> <description>Update a Product Store Email Setting</description> <auto-attributes entity-name="ProductStoreEmailSetting" include="all" mode="IN" optional="false"/> <override name="xslfoAttachScreenLocation" optional="true"/> <override name="ccAddress" optional="true"/> <override name="bccAddress" optional="true"/> <override name="contentType" optional="true"/> </service> <service name="removeProductStoreEmailSetting" engine="simple" location="component://product/script/org/ofbiz/product/store/ProductStoreServices.xml" invoke="removeProductStoreEmail" auth="true"> <description>Remove a Product Store Email Setting</description> <auto-attributes entity-name="ProductStoreEmailSetting" include="pk" mode="IN" optional="false"/> </service> <!-- Product Store Shipping Method Services --> <service name="createProductStoreShipMeth" default-entity-name="ProductStoreShipmentMeth" engine="simple" location="component://product/script/org/ofbiz/product/store/ProductStoreServices.xml" invoke="createProductStoreShipMeth" auth="true"> <description>Create a Product Store Shipment Method</description> <auto-attributes include="nonpk" mode="IN" optional="true"/> <override name="productStoreId" optional="false"/> <override name="shipmentMethodTypeId" optional="false"/> <override name="partyId" optional="false"/> <override name="roleTypeId" optional="false"/> </service> <service name="updateProductStoreShipMeth" default-entity-name="ProductStoreShipmentMeth" engine="simple" location="component://product/script/org/ofbiz/product/store/ProductStoreServices.xml" invoke="updateProductStoreShipMeth" auth="true"> <description>Update a Product Store Shipment Method</description> <auto-attributes include="pk" mode="IN" optional="false"/> <auto-attributes include="nonpk" mode="IN" optional="true"/> </service> <service name="removeProductStoreShipMeth" default-entity-name="ProductStoreShipmentMeth" engine="simple" location="component://product/script/org/ofbiz/product/store/ProductStoreServices.xml" invoke="removeProductStoreShipMeth" auth="true"> <description>Remove a Product Store Shipment Method</description> <auto-attributes include="pk" mode="IN" optional="false"/> </service> <!-- Product Store Keyword Override services --> <service name="createProductStoreKeywordOvrd" default-entity-name="ProductStoreKeywordOvrd" engine="simple" location="component://product/script/org/ofbiz/product/store/ProductStoreServices.xml" invoke="createProductStoreKeywordOvrd" auth="true"> <description>Create a Product Store Keyword Override</description> <auto-attributes include="pk" mode="IN" optional="false"/> <auto-attributes include="nonpk" mode="IN" optional="true"/> <override name="target" optional="false"/> <override name="fromDate" optional="true"/> <override name="targetTypeEnumId" optional="false"/> </service> <service name="updateProductStoreKeywordOvrd" default-entity-name="ProductStoreKeywordOvrd" engine="simple" location="component://product/script/org/ofbiz/product/store/ProductStoreServices.xml" invoke="updateProductStoreKeywordOvrd" auth="true"> <description>Update a Product Store Keyword Override</description> <auto-attributes include="pk" mode="IN" optional="false"/> <auto-attributes include="nonpk" mode="IN" optional="true"/> </service> <service name="deleteProductStoreKeywordOvrd" default-entity-name="ProductStoreKeywordOvrd" engine="simple" location="component://product/script/org/ofbiz/product/store/ProductStoreServices.xml" invoke="deleteProductStoreKeywordOvrd" auth="true"> <description>Delete a Product Store Keyword Override</description> <auto-attributes include="pk" mode="IN" optional="false"/> <auto-attributes include="nonpk" mode="IN" optional="true"/> </service> <!-- ProductStoreSurveyAppl Services --> <service name="createProductStoreSurveyAppl" default-entity-name="ProductStoreSurveyAppl" engine="simple" location="component://product/script/org/ofbiz/product/store/ProductStoreServices.xml" invoke="createProductStoreSurveyAppl" auth="true"> <description>Create a Product Store Survey Appl</description> <auto-attributes include="nonpk" mode="IN" optional="true"/> <auto-attributes include="pk" mode="OUT" optional="false"/> </service> <service name="deleteProductStoreSurveyAppl" default-entity-name="ProductStoreSurveyAppl" engine="simple" location="component://product/script/org/ofbiz/product/store/ProductStoreServices.xml" invoke="removeProductStoreSurveyAppl" auth="true"> <description>Delete a Product Store Survey Appl</description> <auto-attributes include="pk" mode="IN" optional="false"/> </service> <!-- ProductStorePromoAppl Services --> <service name="createProductStorePromoAppl" default-entity-name="ProductStorePromoAppl" engine="simple" location="component://product/script/org/ofbiz/product/promo/PromoServices.xml" invoke="createProductStorePromoAppl" auth="true"> <description>Create ProductStorePromoAppl</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="updateProductStorePromoAppl" default-entity-name="ProductStorePromoAppl" engine="simple" location="component://product/script/org/ofbiz/product/promo/PromoServices.xml" invoke="updateProductStorePromoAppl" auth="true"> <description>Update ProductStorePromoAppl</description> <auto-attributes include="pk" mode="IN" optional="false"/> <auto-attributes include="nonpk" mode="IN" optional="true"/> </service> <service name="deleteProductStorePromoAppl" default-entity-name="ProductStorePromoAppl" engine="simple" location="component://product/script/org/ofbiz/product/promo/PromoServices.xml" invoke="deleteProductStorePromoAppl" auth="true"> <description>Delete ProductStorePromoAppl</description> <auto-attributes include="pk" mode="IN" optional="false"/> </service> <!-- ProductStoreFinActSetting Services --> <service name="createProductStoreFinActSetting" default-entity-name="ProductStoreFinActSetting" engine="simple" location="component://product/script/org/ofbiz/product/store/ProductStoreServices.xml" invoke="createProductStoreFinActSetting" auth="true"> <description>Create ProductStoreFinActSetting</description> <auto-attributes include="pk" mode="IN" optional="false"/> <auto-attributes include="nonpk" mode="IN" optional="true"/> </service> <service name="updateProductStoreFinActSetting" default-entity-name="ProductStoreFinActSetting" engine="simple" location="component://product/script/org/ofbiz/product/store/ProductStoreServices.xml" invoke="updateProductStoreFinActSetting" auth="true"> <description>Update ProductStoreFinActSetting</description> <auto-attributes include="pk" mode="IN" optional="false"/> <auto-attributes include="nonpk" mode="IN" optional="true"/> </service> <service name="removeProductStoreFinActSetting" default-entity-name="ProductStoreFinActSetting" engine="simple" location="component://product/script/org/ofbiz/product/store/ProductStoreServices.xml" invoke="removeProductStoreFinActSetting" auth="true"> <description>Remove ProductStoreFinActSetting</description> <auto-attributes include="pk" mode="IN" optional="false"/> </service> <!--ProductStoreVendorPayment Services --> <service name="createProductStoreVendorPayment" engine="simple" default-entity-name="ProductStoreVendorPayment" location="component://product/script/org/ofbiz/product/store/ProductStoreServices.xml" invoke="createProductStoreVendorPayment" auth="true"> <auto-attributes include="pk" mode="IN" optional="false"/> </service> <service name="deleteProductStoreVendorPayment" engine="simple" default-entity-name="ProductStoreVendorPayment" location="component://product/script/org/ofbiz/product/store/ProductStoreServices.xml" invoke="deleteProductStoreVendorPayment" auth="true"> <auto-attributes include="pk" mode="IN" optional="false"/> </service> <!--ProductStoreVendorShipment Services --> <service name="createProductStoreVendorShipment" engine="simple" default-entity-name="ProductStoreVendorShipment" location="component://product/script/org/ofbiz/product/store/ProductStoreServices.xml" invoke="createProductStoreVendorShipment" auth="true"> <auto-attributes include="pk" mode="IN" optional="false"/> </service> <service name="deleteProductStoreVendorShipment" engine="simple" default-entity-name="ProductStoreVendorShipment" location="component://product/script/org/ofbiz/product/store/ProductStoreServices.xml" invoke="deleteProductStoreVendorShipment" auth="true"> <auto-attributes include="pk" mode="IN" optional="false"/> </service> <!--ProductStoreFacility Services --> <service name="createProductStoreFacility" default-entity-name="ProductStoreFacility" engine="entity-auto" invoke="create" auth="true"> <description>Create a ProductStoreFacility</description> <auto-attributes include="pk" mode="IN" optional="false"/> <auto-attributes include="nonpk" mode="IN" optional="true"/> </service> <service name="updateProductStoreFacility" default-entity-name="ProductStoreFacility" engine="entity-auto" invoke="update" auth="true"> <description>Update a ProductStoreFacility</description> <auto-attributes include="pk" mode="IN" optional="false"/> <auto-attributes include="nonpk" mode="IN" optional="true"/> </service> <service name="deleteProductStoreFacility" default-entity-name="ProductStoreFacility" engine="entity-auto" invoke="delete" auth="true"> <description>Delete a ProductStoreFacility</description> <auto-attributes include="pk" mode="IN" optional="false"/> </service> <!--ProductStoreGroup Services --> <service name="createProductStoreGroup" default-entity-name="ProductStoreGroup" engine="entity-auto" invoke="create" auth="true"> <description>Create a ProductStoreGroup</description> <auto-attributes include="pk" mode="OUT" optional="false"/> <auto-attributes include="nonpk" mode="IN" optional="true"/> </service> <service name="updateProductStoreGroup" default-entity-name="ProductStoreGroup" engine="entity-auto" invoke="update" auth="true"> <description>Update a ProductStoreGroup</description> <auto-attributes include="pk" mode="IN" optional="false"/> <auto-attributes include="nonpk" mode="IN" optional="true"/> </service> <service name="deleteProductStoreGroup" default-entity-name="ProductStoreGroup" engine="entity-auto" invoke="delete" auth="true"> <description>Delete a ProductStoreGroup</description> <auto-attributes include="pk" mode="IN" optional="false"/> </service> <service name="createProductStoreGroupMember" default-entity-name="ProductStoreGroupMember" engine="entity-auto" invoke="create" auth="true"> <description>Create a ProductStoreGroupMember</description> <auto-attributes include="pk" mode="IN" optional="false"/> <auto-attributes include="nonpk" mode="IN" optional="true"/> </service> <service name="updateProductStoreGroupMember" default-entity-name="ProductStoreGroupMember" engine="entity-auto" invoke="update" auth="true"> <description>Update a ProductStoreGroupMember</description> <auto-attributes include="pk" mode="IN" optional="false"/> <auto-attributes include="nonpk" mode="IN" optional="true"/> </service> <service name="createProductStoreGroupRollup" default-entity-name="ProductStoreGroupRollup" engine="entity-auto" invoke="create" auth="true"> <description>Create a ProductStoreGroupRollup</description> <auto-attributes include="pk" mode="IN" optional="false"/> <auto-attributes include="nonpk" mode="IN" optional="true"/> </service> <service name="updateProductStoreGroupRollup" default-entity-name="ProductStoreGroupRollup" engine="entity-auto" invoke="update" auth="true"> <description>Update a ProductStoreGroupRollup</description> <auto-attributes include="pk" mode="IN" optional="false"/> <auto-attributes include="nonpk" mode="IN" optional="true"/> </service> <service name="checkProductStoreGroupRollup" engine="simple" location="component://product/script/org/ofbiz/product/store/ProductStoreServices.xml" invoke="checkProductStoreGroupRollup" auth="true"> <description>Check if a productStoreGroupId with a primaryParentGroupId has related productStoreGroupRollup or for first ProductStoreGroupRollup on a ProductStoreGroup set relation on primaryParentGroupId</description> <attribute name="productStoreGroupId" mode="IN" type="String"/> <attribute name="primaryParentGroupId" mode="IN" type="String" optional="true"/> <attribute name="parentGroupId" mode="IN" type="String" optional="true"/> <attribute name="fromDate" mode="IN" type="String" optional="true"/> </service> </services> |