comparison artifact-database/src/main/java/de/intevation/artifactdatabase/state/DefaultFacet.java @ 378:71ff234713a6 2.6.1 pre2.7-2012-03-16

Pass context when asking facets for keys to write on blackboard. artifacts/trunk@4032 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Fri, 10 Feb 2012 12:33:57 +0000
parents 6431b7efe240
children
comparison
equal deleted inserted replaced
377:1ffc09fec1c8 378:71ff234713a6
99 ) { 99 ) {
100 return null; 100 return null;
101 } 101 }
102 102
103 103
104 /*
105 * Return list of keys (objects) for which this facet can provide data
106 * ("external parameterization"), for other facets, via blackboard.
107 * These are the keys that are independent from the current call (thus
108 * 'static').
109 * @param artifact that this facet belongs to.
110 */
111 public List getStaticDataProviderKeys(Artifact artifact) {
112 return null;
113 }
114
104 /** 115 /**
105 * Return list of keys (objects) for which this facet can provide data 116 * Return list of keys (objects) for which this facet can provide data
106 * ("external parameterization"), for other facets, via blackboard. 117 * ("external parameterization"), for other facets, via blackboard.
107 * @param artifact that this facet belongs to. 118 * @param artifact that this facet belongs to.
108 */ 119 */
109 public List getDataProviderKeys(Artifact artifact) { 120 public List getDataProviderKeys(Artifact artifact, CallContext context) {
110 return null; 121 return getStaticDataProviderKeys(artifact);
111 } 122 }
112 123
113 124
114 /** Create a xml represantation. */ 125 /** Create a xml represantation. */
115 public Node toXML(Document doc) { 126 public Node toXML(Document doc) {

http://dive4elements.wald.intevation.org