view gnv-artifacts/doc/conf/products/layer/conf.xml @ 630:a72ecacccc91

Changed cache initialization so that we can use GNV without using a cache. gnv-artifacts/trunk@708 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Thu, 25 Feb 2010 07:25:21 +0000
parents 93978859fa9e
children 4fc97074eb90
line wrap: on
line source
<?xml version="1.0" encoding="UTF-8"?>
<artifact name="layer">
    <states>
        <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>false</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"/>
        </transition>
         
          <state id="layer" description="layer" state="de.intevation.gnv.state.DefaultState">
             <queryID>layer</queryID>
             <dataname>layerid</dataname>
             <data-multiselect>false</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</queryID-layerdata>
            <inputvalues>
               <inputvalue name="sourceid" type="String" multiselect="false" usedinquery="0"/>
               <inputvalue name="layerid" 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"/>
            </outputsModes>
         </state>
        
    </states>
</artifact>

http://dive4elements.wald.intevation.org