comparison artifact-database/src/main/java/de/intevation/artifactdatabase/state/AbstractState.java @ 244:3d14fe6e05f7

Improved the describe() of a State - a reference to an artifact has been added. artifacts/trunk@1683 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Thu, 14 Apr 2011 08:26:25 +0000
parents 41404961c804
children 55d08706ccf2
comparison
equal deleted inserted replaced
243:33b9cc23ac9b 244:3d14fe6e05f7
19 import org.w3c.dom.Document; 19 import org.w3c.dom.Document;
20 import org.w3c.dom.Element; 20 import org.w3c.dom.Element;
21 import org.w3c.dom.Node; 21 import org.w3c.dom.Node;
22 import org.w3c.dom.NodeList; 22 import org.w3c.dom.NodeList;
23 23
24 import de.intevation.artifacts.Artifact;
24 import de.intevation.artifacts.ArtifactNamespaceContext; 25 import de.intevation.artifacts.ArtifactNamespaceContext;
25 import de.intevation.artifacts.CallContext; 26 import de.intevation.artifacts.CallContext;
26 27
27 import de.intevation.artifacts.common.utils.XMLUtils; 28 import de.intevation.artifacts.common.utils.XMLUtils;
28 29
278 279
279 /** 280 /**
280 * Describes the UI of the state. This method needs to be implemented by 281 * Describes the UI of the state. This method needs to be implemented by
281 * concrete subclasses. 282 * concrete subclasses.
282 * 283 *
284 * @param artifact A reference to the artifact this state belongs to.
283 * @param document Describe doucment. 285 * @param document Describe doucment.
284 * @param rootNode Parent node for all new elements. 286 * @param rootNode Parent node for all new elements.
285 * @param context The CallContext. 287 * @param context The CallContext.
286 * @param uuid The uuid of an artifact. 288 * @param uuid The uuid of an artifact.
287 */ 289 */
288 public abstract Element describe( 290 public abstract Element describe(
291 Artifact artifact,
289 Document document, 292 Document document,
290 Node rootNode, 293 Node rootNode,
291 CallContext context, 294 CallContext context,
292 String uuid 295 String uuid
293 ); 296 );

http://dive4elements.wald.intevation.org