Mercurial > dive4elements > framework
diff artifact-database/src/main/java/de/intevation/artifactdatabase/state/ArtifactAndFacet.java @ 357:1d11a0531242
Added artifact parameter to facets getDataProviderKeys.
artifacts/trunk@3380 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Fri, 09 Dec 2011 16:03:19 +0000 |
parents | 079ab7c971a4 |
children | 33176e6e3c37 |
line wrap: on
line diff
--- a/artifact-database/src/main/java/de/intevation/artifactdatabase/state/ArtifactAndFacet.java Wed Nov 30 11:49:51 2011 +0000 +++ b/artifact-database/src/main/java/de/intevation/artifactdatabase/state/ArtifactAndFacet.java Fri Dec 09 16:03:19 2011 +0000 @@ -13,6 +13,7 @@ public class ArtifactAndFacet implements DataProvider { /** The Artifact. */ protected Artifact artifact; + /** The (native) facet. */ protected Facet facet; @@ -41,7 +42,7 @@ /** (Maybe) Register on blackboard (depending on facet). */ public void register(CallContext context) { - List keys = facet.getDataProviderKeys(); + List keys = facet.getDataProviderKeys(this.artifact); if (keys == null) { return; }