view flys-client/src/main/java/de/intevation/flys/client/shared/model/CollectionItem.java @ 87:c8cd1b918901

Bugfix: Step back will remove duplicated output tab and an extended chart image URL bypasses the browser cache. flys-client/trunk@1599 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Mon, 28 Mar 2011 17:04:17 +0000
parents 74257b95567b
children f6fbfdc813f0
line wrap: on
line source
package de.intevation.flys.client.shared.model;

import java.io.Serializable;
import java.util.List;


/**
 * The CollectionItem interface that provides methods to get information about
 * artifacts and its output modes.
 *
 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a>
 */
public interface CollectionItem extends Serializable {

    /**
     * Returns the identifier of the wrapped artifact.
     *
     * @return the identifier of the wrapped artifact.
     */
    String identifier();


    /**
     * Returns the hash of the wrapped artifact.
     *
     * @return the hash of the wrapped artifact.
     */
    String hash();


    /**
     * Returns the output modes of the wrapped artifact.
     *
     * @return the output modes of the wrapped artifact.
     */
    List<OutputMode> getOutputModes();


    /**
     * Returns the facets of the wrapped artifact for a specific output mode.
     *
     * @param outputmode The name of an output mode that is supported by this
     * item.
     *
     * @return the facets of the wrapped artifact for a specific output mode.
     */
    List<Facet> getFacets(String outputmode);
}
// vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org