Mercurial > dive4elements > river
comparison flys-client/src/main/java/de/intevation/flys/client/server/DescribeCollectionServiceImpl.java @ 839:6a1cd38e6e18
Made Recommendation a class for direct use.
flys-client/trunk@2559 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Wed, 24 Aug 2011 13:14:42 +0000 |
parents | 0fe456332785 |
children | ec5c75da5c7a |
comparison
equal
deleted
inserted
replaced
838:a5e96a36478c | 839:6a1cd38e6e18 |
---|---|
29 import de.intevation.flys.client.shared.model.Collection; | 29 import de.intevation.flys.client.shared.model.Collection; |
30 import de.intevation.flys.client.shared.model.CollectionItem; | 30 import de.intevation.flys.client.shared.model.CollectionItem; |
31 import de.intevation.flys.client.shared.model.DefaultCollection; | 31 import de.intevation.flys.client.shared.model.DefaultCollection; |
32 import de.intevation.flys.client.shared.model.DefaultCollectionItem; | 32 import de.intevation.flys.client.shared.model.DefaultCollectionItem; |
33 import de.intevation.flys.client.shared.model.DefaultFacet; | 33 import de.intevation.flys.client.shared.model.DefaultFacet; |
34 import de.intevation.flys.client.shared.model.DefaultRecommendation; | |
35 import de.intevation.flys.client.shared.model.ChartMode; | 34 import de.intevation.flys.client.shared.model.ChartMode; |
36 import de.intevation.flys.client.shared.model.ExportMode; | 35 import de.intevation.flys.client.shared.model.ExportMode; |
37 import de.intevation.flys.client.shared.model.MapMode; | 36 import de.intevation.flys.client.shared.model.MapMode; |
38 import de.intevation.flys.client.shared.model.ReportMode; | 37 import de.intevation.flys.client.shared.model.ReportMode; |
39 import de.intevation.flys.client.shared.model.Facet; | 38 import de.intevation.flys.client.shared.model.Facet; |
423 | 422 |
424 String factory = rec.getAttributeNS(uri, "factory"); | 423 String factory = rec.getAttributeNS(uri, "factory"); |
425 String dbids = rec.getAttributeNS(uri, "ids"); | 424 String dbids = rec.getAttributeNS(uri, "ids"); |
426 | 425 |
427 if (factory != null && factory.length() > 0) { | 426 if (factory != null && factory.length() > 0) { |
428 recs.add(new DefaultRecommendation(factory, dbids)); | 427 recs.add(new Recommendation(factory, dbids)); |
429 } | 428 } |
430 } | 429 } |
431 | 430 |
432 return recs; | 431 return recs; |
433 } | 432 } |