Mercurial > dive4elements > river
comparison flys-client/src/main/java/de/intevation/flys/client/shared/model/Collection.java @ 809:e9337488bac3
The Collection now knows its already loaded recommendations - the CollectionView will not load recommendations that have already been loaded before.
flys-client/trunk@2397 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Fri, 22 Jul 2011 12:23:36 +0000 |
parents | 14e5e51a7de4 |
children | 6bb6d43eeb2d |
comparison
equal
deleted
inserted
replaced
808:3187b268b311 | 809:e9337488bac3 |
---|---|
1 package de.intevation.flys.client.shared.model; | 1 package de.intevation.flys.client.shared.model; |
2 | 2 |
3 import java.io.Serializable; | 3 import java.io.Serializable; |
4 import java.util.Date; | 4 import java.util.Date; |
5 import java.util.List; | |
5 import java.util.Map; | 6 import java.util.Map; |
6 | 7 |
7 | 8 |
8 /** | 9 /** |
9 * The artifact collection. | 10 * The artifact collection. |
33 public CollectionItem getItem(int idx); | 34 public CollectionItem getItem(int idx); |
34 | 35 |
35 public Map<String, OutputMode> getOutputModes(); | 36 public Map<String, OutputMode> getOutputModes(); |
36 | 37 |
37 public ThemeList getThemeList(String outName); | 38 public ThemeList getThemeList(String outName); |
39 | |
40 public List<Recommendation> getRecommendations(); | |
41 | |
42 public void addRecommendation(Recommendation recommendation); | |
43 | |
44 public void addRecommendations(List<Recommendation> recommendations); | |
45 | |
46 public boolean loadedRecommendation(Recommendation recommendation); | |
38 } | 47 } |
39 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : | 48 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : |