Mercurial > dive4elements > gnv-client
comparison gnv-artifacts/src/main/java/de/intevation/gnv/state/State.java @ 493:cef17cc90fd0
Changed some method signatures of the State interface. Use CallContext objects instead of CallMeta objects which are a subset of CallContext.
gnv-artifacts/trunk@570 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Tue, 19 Jan 2010 10:58:46 +0000 |
parents | 20dde2b6f1b5 |
children | 9681ac6b6527 |
comparison
equal
deleted
inserted
replaced
492:79e80c289018 | 493:cef17cc90fd0 |
---|---|
1 /** | 1 /** |
2 * | 2 * |
3 */ | 3 */ |
4 package de.intevation.gnv.state; | 4 package de.intevation.gnv.state; |
5 | 5 |
6 import de.intevation.artifacts.CallMeta; | 6 import de.intevation.artifacts.CallContext; |
7 | 7 |
8 import de.intevation.gnv.state.exception.StateException; | 8 import de.intevation.gnv.state.exception.StateException; |
9 | 9 |
10 import java.io.Serializable; | 10 import java.io.Serializable; |
11 | 11 |
26 | 26 |
27 public String getID(); | 27 public String getID(); |
28 | 28 |
29 public String getDescription(); | 29 public String getDescription(); |
30 | 30 |
31 public void describe(Document document, Node rootNode, | 31 public void describe( |
32 CallMeta callMeta, String uuid); | 32 Document document, |
33 Node rootNode, | |
34 CallContext context, | |
35 String uuid | |
36 ); | |
33 | 37 |
34 public void setParent(State state); | 38 public void setParent(State state); |
35 | 39 |
36 public State getParent(); | 40 public State getParent(); |
37 | 41 |
38 public Collection<InputValue> getRequiredInputValues(); | 42 public Collection<InputValue> getRequiredInputValues(); |
39 | 43 |
40 public Map<String, InputData> inputData(); | 44 public Map<String, InputData> inputData(); |
41 | 45 |
42 public void putInputData(Collection<InputData> inputData, | 46 public void putInputData(Collection<InputData> inputData, String uuid) |
43 String uuid)throws StateException; | 47 throws StateException; |
44 | 48 |
45 public Collection<InputData> getInputData() throws StateException; | 49 public Collection<InputData> getInputData() throws StateException; |
46 | 50 |
47 public void advance(String uuid, CallMeta callMeta) | 51 public void advance(String uuid, CallContext context) |
48 throws StateException; | 52 throws StateException; |
49 public void initialize(String uuid, CallMeta callMeta) | 53 |
50 throws StateException; | 54 public void initialize(String uuid, CallContext context) |
51 | 55 throws StateException; |
56 | |
52 public void reset(String uuid); | 57 public void reset(String uuid); |
53 | 58 |
54 public void endOfLife(Object globalContext); | 59 public void endOfLife(Object globalContext); |
55 } | 60 } |