blob: 1a3d604a7bda20385557bdb54282ec15fbce5065 [file] [log] [blame]
<?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
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
<services xmlns:xsi=""
<service name="storeGenericDimension" engine="java"
location="" invoke="storeGenericDimension" auth="true">
<description>Generic service to load data into a dimension entity (olap entity).</description>
<attribute name="dimensionValue" type="GenericEntity" mode="IN" optional="false"/>
<attribute name="naturalKeyFields" type="List" mode="IN" optional="false"/> <!-- the names of the fields that compose the natural key of the dimension -->
<attribute name="updateMode" type="String" mode="IN" optional="false"/> <!-- TYPE1, TYPE2, TYPE3 -->
<service name="getDimensionIdFromNaturalKey" engine="java"
location="" invoke="getDimensionIdFromNaturalKey" auth="true">
<description>Generic service to get the dimensionId for a natural key.</description>
<attribute name="dimensionEntityName" type="String" mode="IN" optional="false"/>
<attribute name="naturalKeyFields" type="Map" mode="IN" optional="false"/> <!-- the names/values pairs of the fields that compose the natural key of the dimension -->
<attribute name="dimensionId" type="String" mode="OUT" optional="true"/>
<!-- TODO: this should be moved outside of the bi component -->
<service name="quickInitDataWarehouse" auth="true" engine="simple"
location="component://bi/script/org/ofbiz/bi/DimensionServices.xml" invoke="quickInitDataWarehouse">
<description>Quickly initialize the dimensions (Currency, Date, Product) and facts (SalesInvoiceItem): useful to quickly initialize the datawarehouse.</description>
<attribute name="fromDate" type="Timestamp" mode="IN" optional="false"/>
<attribute name="thruDate" type="Timestamp" mode="IN" optional="false"/>