view gnv-artifacts/src/main/java/de/intevation/gnv/transition/OutputTransition.java @ 305:91c37bf28c0e

Remove chart from cache when data which is displayed in chart has changed. gnv-artifacts/trunk@363 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Mon, 23 Nov 2009 17:20:14 +0000
parents d6c75171f1e9
children
line wrap: on
line source
/**
 *
 */
package de.intevation.gnv.transition;

import java.io.OutputStream;
import java.util.Collection;

import org.w3c.dom.Document;

import de.intevation.artifacts.CallMeta;
import de.intevation.gnv.transition.exception.TransitionException;

/**
 * @author Tim Englich <tim.englich@intevation.de>
 * 
 */
public interface OutputTransition extends Transition {

    /**
     * Returns the Rendered Result of an Transition.
     * 
     * @param outputMode
     *            The Mode that should be produces (Chart, Map, ...)
     * @return The Bytecode of the Result
     * @throws TransitionException
     */
    public void out(Document format, Collection<InputData> inputData,
                    OutputStream outputStream, String uuid, CallMeta callMeta)
                                                                              throws TransitionException;

    /**
     * Delivers the provided OutputModes of an Transition
     * 
     * @return the provided OutputModes of an Transition
     */
    public Collection<OutputMode> getOutputModes();
}

http://dive4elements.wald.intevation.org