comparison artifacts/src/main/java/org/dive4elements/river/artifacts/services/ThemeListingService.java @ 5866:9a6741ccf6d4

FLYS artifacts: Renamed FLYSContext(Factory) to RiverContext(Factory).
author Sascha L. Teichmann <teichmann@intevation.de>
date Sun, 28 Apr 2013 15:14:30 +0200
parents 4897a58c8746
children 35b2d86c3fb5
comparison
equal deleted inserted replaced
5865:73da40528cf2 5866:9a6741ccf6d4
23 23
24 import org.dive4elements.river.themes.Theme; 24 import org.dive4elements.river.themes.Theme;
25 import org.dive4elements.river.themes.ThemeGroup; 25 import org.dive4elements.river.themes.ThemeGroup;
26 26
27 import org.dive4elements.river.themes.ThemeFactory; 27 import org.dive4elements.river.themes.ThemeFactory;
28 import org.dive4elements.river.artifacts.context.FLYSContext; 28 import org.dive4elements.river.artifacts.context.RiverContext;
29 29
30 /** 30 /**
31 * This service provides a list of themes filtered by the theme name. 31 * This service provides a list of themes filtered by the theme name.
32 * 32 *
33 * @author <a href="mailto:raimund.renkert@intevation.de">Raimund Renkert</a> 33 * @author <a href="mailto:raimund.renkert@intevation.de">Raimund Renkert</a>
56 result, 56 result,
57 null, 57 null,
58 null); 58 null);
59 59
60 List<ThemeGroup> tgs = 60 List<ThemeGroup> tgs =
61 ThemeFactory.getThemeGroups((FLYSContext) context); 61 ThemeFactory.getThemeGroups((RiverContext) context);
62 62
63 Element te = ec.create("themes"); 63 Element te = ec.create("themes");
64 64
65 for (ThemeGroup tg: tgs) { 65 for (ThemeGroup tg: tgs) {
66 Element elem = ec.create("themegroup"); 66 Element elem = ec.create("themegroup");

http://dive4elements.wald.intevation.org