Mercurial > dive4elements > framework
view artifact-database/src/main/java/de/intevation/artifactdatabase/state/Output.java @ 310:63122b9dee1d
Added interface to listen events in the backend.
artifacts/trunk@2435 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Mon, 01 Aug 2011 09:41:40 +0000 |
parents | a8e009ebe13c |
children | 03a8f9796571 |
line wrap: on
line source
package de.intevation.artifactdatabase.state; import java.util.List; /** * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> */ public interface Output { /** * Retrieve the name of this output mode. * * @return the name of this output mode. */ public String getName(); /** * Retrieve the description of an output. * * @return the description. */ public String getDescription(); /** * Retrieve the mimetype used for the output. * * @return the mimetype. */ public String getMimeType(); /** * Returns the type of this output. * * @return the type. */ public String getType(); /** * Retrieve the facets of this output. * * @return the facets of this output. */ public List<Facet> getFacets(); /** * Add a new facet to this output. * * @param facet The new facet. */ public void addFacet(Facet facet); /** * Add a list of facet to this output. * * @param facets A list of facets. */ public void addFacets(List<Facet> facets); } // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf-8 :