Mercurial > dive4elements > river
comparison flys-client/src/main/java/de/intevation/flys/client/shared/model/CollectionItem.java @ 67:74257b95567b
Added CollectionItems and Facets and replaced Artifact references in Collection with CollectionItems.
flys-client/trunk@1567 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Fri, 25 Mar 2011 09:19:29 +0000 |
parents | |
children | c8cd1b918901 |
comparison
equal
deleted
inserted
replaced
66:a361ce81abcf | 67:74257b95567b |
---|---|
1 package de.intevation.flys.client.shared.model; | |
2 | |
3 import java.io.Serializable; | |
4 import java.util.List; | |
5 | |
6 | |
7 /** | |
8 * The CollectionItem interface that provides methods to get information about | |
9 * artifacts and its output modes. | |
10 * | |
11 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> | |
12 */ | |
13 public interface CollectionItem extends Serializable { | |
14 | |
15 /** | |
16 * Returns the identifier of the wrapped artifact. | |
17 * | |
18 * @return the identifier of the wrapped artifact. | |
19 */ | |
20 String identifier(); | |
21 | |
22 | |
23 /** | |
24 * Returns the output modes of the wrapped artifact. | |
25 * | |
26 * @return the output modes of the wrapped artifact. | |
27 */ | |
28 List<OutputMode> getOutputModes(); | |
29 | |
30 | |
31 /** | |
32 * Returns the facets of the wrapped artifact for a specific output mode. | |
33 * | |
34 * @param outputmode The name of an output mode that is supported by this | |
35 * item. | |
36 * | |
37 * @return the facets of the wrapped artifact for a specific output mode. | |
38 */ | |
39 List<Facet> getFacets(String outputmode); | |
40 } | |
41 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : |