Mercurial > dive4elements > river
comparison flys-client/src/main/java/org/dive4elements/river/client/shared/model/Collection.java @ 5834:f507086aa94b
Repaired internal references.
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Thu, 25 Apr 2013 12:31:32 +0200 |
parents | flys-client/src/main/java/de/intevation/flys/client/shared/model/Collection.java@79f11188da21 |
children | 821a02bbfb4e |
comparison
equal
deleted
inserted
replaced
5833:a2bdc0f524e8 | 5834:f507086aa94b |
---|---|
1 package de.intevation.flys.client.shared.model; | |
2 | |
3 import java.io.Serializable; | |
4 import java.util.Date; | |
5 import java.util.List; | |
6 import java.util.Map; | |
7 | |
8 | |
9 /** | |
10 * The artifact collection. | |
11 * | |
12 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> | |
13 */ | |
14 public interface Collection extends Serializable { | |
15 | |
16 public String identifier(); | |
17 | |
18 public String getName(); | |
19 | |
20 public void setName(String name); | |
21 | |
22 public Date getCreationTime(); | |
23 | |
24 /** TODO never called, trivial implementation. Can be removed? */ | |
25 public Date getLastAccess(); | |
26 | |
27 public long getTTL(); | |
28 | |
29 public void setTTL(long ttl); | |
30 | |
31 public void addItem(CollectionItem item); | |
32 | |
33 public int getItemLength(); | |
34 | |
35 public CollectionItem getItem(int idx); | |
36 | |
37 public CollectionItem getItem(String uuid); | |
38 | |
39 public Map<String, OutputMode> getOutputModes(); | |
40 | |
41 public ThemeList getThemeList(String outName); | |
42 | |
43 public Settings getSettings(String outName); | |
44 | |
45 public void setSettings(Map<String, Settings> settings); | |
46 | |
47 public void addSettings(String name, Settings settings); | |
48 | |
49 /** Sets mapping outputname to ThemeList. */ | |
50 public void setThemeLists(Map<String, ThemeList> map); | |
51 | |
52 public List<Recommendation> getRecommendations(); | |
53 | |
54 public void addRecommendation(Recommendation recommendation); | |
55 | |
56 public void addRecommendations(List<Recommendation> recommendations); | |
57 | |
58 public boolean loadedRecommendation(Recommendation recommendation); | |
59 | |
60 public boolean hasItems(); | |
61 | |
62 /** | |
63 * Returns the name which should be displayed in the client gui | |
64 * @return String display name | |
65 */ | |
66 public String getDisplayName(); | |
67 } | |
68 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : |