view gnv-artifacts/doc/conf/products/layer/conf.xml @ 1099:5cc3fc2e50fd

Bugfix: Change multiselect to false for the Parameter-State of vector-values gnv-artifacts/trunk@1221 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Tim Englich <tim.englich@intevation.de>
date Tue, 15 Jun 2010 14:19:43 +0000
parents 3fbabd4803d7
children
line wrap: on
line source
<?xml version="1.0" encoding="UTF-8"?>
<artifact name="layer">
    <states>

        <state id="layer_mapviewerswitch" description="layer_mesh_area_one" state="de.intevation.gnv.state.DefaultAutoResumeState">
            <!-- Empty State which will be used to integrate the switch for a 
                 standalone and an mapviewer based call. -->
            <inputvalues>
                <inputvalue name="sourceid" type="String" multiselect="false" usedinquery="0"/>
                <inputvalue name="fisname" type="String" multiselect="false" usedinquery="0"/>
            </inputvalues>
        </state>
        
        <transition transition="de.intevation.gnv.transition.PresettingsValueCompareTransition">
            <from state="layer_mapviewerswitch"/>
            <to state="layer_area"/>
            <condition inputvalue="geometry" value="POLYGON" operator="notequal"/>
        </transition>
        
        <transition transition="de.intevation.gnv.transition.PresettingsValueCompareTransition">
            <from state="layer_mapviewerswitch"/>
            <to state="layer"/>
            <condition inputvalue="geometry" value="POLYGON" operator="equal"/>
        </transition>
        
        <state id="layer_area" description="layer_area_one" state="de.intevation.gnv.state.DefaultState">
            <queryID>area_filter</queryID>
            <dataname>areaid</dataname>
            <data-multiselect>false</data-multiselect>
             <data-noselect>true</data-noselect>
            <inputvalues>
                <inputvalue name="sourceid" type="String" multiselect="false" usedinquery="0"/>
                <inputvalue name="fisname" type="String" multiselect="false" usedinquery="0"/>
                <inputvalue name="areaid" type="Integer" multiselect="false" usedinquery="0"/>
            </inputvalues>
        </state>
        
        <transition transition="de.intevation.gnv.transition.ValueCompareTransition">
            <from state="layer_area"/>
            <to state="layer_subarea"/>
            <condition inputvalue="areaid" value="n/n" operator="notequal"/>
        </transition>
        <transition transition="de.intevation.gnv.transition.ValueCompareTransition">
            <from state="layer_area"/>
            <to state="layer_without_geom"/>
            <condition inputvalue="areaid" value="n/n" operator="equal"/>
        </transition>
        
        <state id="layer_subarea" description="layer_subaera" state="de.intevation.gnv.state.DefaultState">
            <queryID>subarea_filter</queryID>
            <dataname>subareaid</dataname>
            <data-multiselect>false</data-multiselect>
            <inputvalues>
                <inputvalue name="sourceid" type="String" multiselect="false" usedinquery="0"/>
                <inputvalue name="fisname" type="String" multiselect="false" usedinquery="0"/>
                <inputvalue name="areaid" type="Integer" multiselect="false" usedinquery="1"/>
                <inputvalue name="subareaid" type="Integer" multiselect="false" usedinquery="0"/>
            </inputvalues>
        </state>
        
        <transition transition="de.intevation.gnv.transition.DefaultTransition">
            <from state="layer_subarea"/>
            <to state="layer"/>
        </transition>
        
         <state id="layer_without_geom" description="layer_without_geom" state="de.intevation.gnv.state.DefaultState">
             <queryID>layer</queryID>
             <dataname>layerid</dataname>
             <data-multiselect>true</data-multiselect>
             <inputvalues>
                 <inputvalue name="sourceid" type="String" multiselect="false" usedinquery="1"/>
                 <inputvalue name="fisname" type="String" multiselect="false" usedinquery="0"/>
                 <inputvalue name="layerid" type="Integer" multiselect="false" usedinquery="0"/>
             </inputvalues>
         </state>
         
        <transition transition="de.intevation.gnv.transition.DefaultTransition">
            <from state="layer_without_geom"/>
            <to state="layer_calculate_results_without_geom"/>
        </transition>
        
        <state id="layer_calculate_results_without_geom" description="layer_calculate_results" state="de.intevation.gnv.state.layer.LayerOutputState">
            <queryID>layer_request_data</queryID>
            <queryID-layerdata>layer_data</queryID-layerdata>
            <inputvalues>
               <inputvalue name="sourceid" type="String" multiselect="false" usedinquery="0"/>
               <inputvalue name="layerid" type="Integer" multiselect="false" usedinquery="1"/>
            </inputvalues>
            <outputsModes>
                <outputsMode name="zip" description="Export als ZIP-Archiv" mime-type="application/zip"/>
                <outputsMode name="wms" description="WMS-Layer bereitstellen" mime-type="text/url">
                    <parameters>
                        <inputvalue name="title" type="String" value="Layer Title"/>
                    </parameters>
                </outputsMode>
            </outputsModes>
        </state>
         
        <state id="layer" description="layer" state="de.intevation.gnv.state.DefaultState">
             <queryID>layer</queryID>
             <dataname>layerid</dataname>
             <data-multiselect>true</data-multiselect>
             <inputvalues>
                 <inputvalue name="sourceid" type="String" multiselect="false" usedinquery="1"/>
                 <inputvalue name="fisname" type="String" multiselect="false" usedinquery="0"/>
                 <inputvalue name="subareaid" type="Integer" multiselect="false" usedinquery="0"/>
                 <inputvalue name="layerid" type="Integer" multiselect="false" usedinquery="0"/>
             </inputvalues>
         </state>
         
         <transition transition="de.intevation.gnv.transition.DefaultTransition">
            <from state="layer"/>
            <to state="layer_calculate_results"/>
         </transition>
         
         <state id="layer_calculate_results" description="layer_calculate_results" state="de.intevation.gnv.state.layer.LayerOutputState">
            <queryID>layer_request_data</queryID>
            <queryID-layerdata>layer_data_with_geom</queryID-layerdata>
            <queryID-geometry>geometry_for_subareafilter</queryID-geometry>
            <queryID-columns>layer_colums</queryID-columns>
            <inputvalue-geometry>subareaid</inputvalue-geometry>
            <inputvalues>
               <inputvalue name="sourceid" type="String" multiselect="false" usedinquery="0"/>
               <inputvalue name="layerid" type="Integer" multiselect="false" usedinquery="1"/>
               <inputvalue name="subareaid" type="Integer" multiselect="false" usedinquery="0"/>
            </inputvalues>
            <outputsModes>
                <outputsMode name="zip" description="Export als ZIP-Archiv" mime-type="application/zip"/>
                <outputsMode name="wms" description="WMS-Layer bereitstellen" mime-type="text/url">
                    <parameters>
                        <inputvalue name="title" type="String" value="Layer Title"/>
                    </parameters>
                </outputsMode>
            </outputsModes>
         </state>
        
    </states>
</artifact>

http://dive4elements.wald.intevation.org