Mercurial > dive4elements > gnv-client
comparison gnv/src/main/java/de/intevation/gnv/artifactdatabase/client/ArtifactDatabaseClient.java @ 38:fccf90761825
Format Code to max 80 Chars per Row better Formatter choosen
gnv/trunk@174 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Tim Englich <tim.englich@intevation.de> |
---|---|
date | Fri, 02 Oct 2009 09:10:36 +0000 |
parents | ad381cc47217 |
children | 23a4f196d7d6 |
comparison
equal
deleted
inserted
replaced
37:1ea46f542d07 | 38:fccf90761825 |
---|---|
27 * | 27 * |
28 * @return the Artifactfactories which can be resolved. | 28 * @return the Artifactfactories which can be resolved. |
29 * @throws ArtifactDatabaseClientException | 29 * @throws ArtifactDatabaseClientException |
30 */ | 30 */ |
31 public Collection<ArtifactObject> getArtifactFactories() | 31 public Collection<ArtifactObject> getArtifactFactories() |
32 throws ArtifactDatabaseClientException; | 32 throws ArtifactDatabaseClientException; |
33 | 33 |
34 /** | 34 /** |
35 * | 35 * |
36 * @param artifactFactory | 36 * @param artifactFactory |
37 * @return the new Artifact | 37 * @return the new Artifact |
38 * @throws ArtifactDatabaseClientException | 38 * @throws ArtifactDatabaseClientException |
39 */ | 39 */ |
40 public ArtifactObject createNewArtifact(ArtifactObject artifactFactory) | 40 public ArtifactObject createNewArtifact(ArtifactObject artifactFactory) |
41 throws ArtifactDatabaseClientException; | 41 throws ArtifactDatabaseClientException; |
42 | 42 |
43 /** | 43 /** |
44 * | 44 * |
45 * @param currentArtifact | 45 * @param currentArtifact |
46 * @return the Current Artifact | 46 * @return the Current Artifact |
47 * @throws ArtifactDatabaseClientException | 47 * @throws ArtifactDatabaseClientException |
48 */ | 48 */ |
49 public ArtifactDescription getCurrentStepDescription( | 49 public ArtifactDescription getCurrentStepDescription( |
50 ArtifactObject artifactFactory, ArtifactObject currentArtifact) | 50 ArtifactObject artifactFactory, |
51 throws ArtifactDatabaseClientException; | 51 ArtifactObject currentArtifact) |
52 throws ArtifactDatabaseClientException; | |
52 | 53 |
53 /** | 54 /** |
54 * | 55 * |
55 * @param artifactFactory | 56 * @param artifactFactory |
56 * @param currentArtifact | 57 * @param currentArtifact |
57 * @param target | 58 * @param target |
58 * @param inputParameter | 59 * @param inputParameter |
59 * @return | 60 * @return |
60 * @throws ArtifactDatabaseClientException | 61 * @throws ArtifactDatabaseClientException |
61 */ | 62 */ |
62 public ArtifactDescription doNextStep(ArtifactObject artifactFactory, | 63 public ArtifactDescription doNextStep( |
63 ArtifactObject currentArtifact, String target, | 64 ArtifactObject artifactFactory, |
64 Collection<InputParameter> inputParameter) | 65 ArtifactObject currentArtifact, |
65 throws ArtifactDatabaseClientException; | 66 String target, |
67 Collection<InputParameter> inputParameter) | |
68 throws ArtifactDatabaseClientException; | |
66 | 69 |
67 /** | 70 /** |
68 * @param artifactFactory | 71 * @param artifactFactory |
69 * @param currentArtifact | 72 * @param currentArtifact |
70 * @param inputParameter | 73 * @param inputParameter |
71 * @return | 74 * @return |
72 * @throws ArtifactDatabaseClientException | 75 * @throws ArtifactDatabaseClientException |
73 */ | 76 */ |
74 public void doFeed(ArtifactObject artifactFactory, | 77 public void doFeed(ArtifactObject artifactFactory, |
75 ArtifactObject currentArtifact, | 78 ArtifactObject currentArtifact, |
76 Collection<InputParameter> inputParameter) | 79 Collection<InputParameter> inputParameter) |
77 throws ArtifactDatabaseClientException; | 80 throws ArtifactDatabaseClientException; |
78 | 81 |
79 /** | 82 /** |
80 * | 83 * |
81 * @param artifactFactory | 84 * @param artifactFactory |
82 * @param currentArtifact | 85 * @param currentArtifact |
84 * @param targetName | 87 * @param targetName |
85 * @param mimeType | 88 * @param mimeType |
86 * @throws ArtifactDatabaseClientException | 89 * @throws ArtifactDatabaseClientException |
87 */ | 90 */ |
88 public void doOutput(ArtifactObject artifactFactory, | 91 public void doOutput(ArtifactObject artifactFactory, |
89 ArtifactObject currentArtifact, OutputStream stream, | 92 ArtifactObject currentArtifact, OutputStream stream, |
90 String targetName, String mimeType, | 93 String targetName, String mimeType, |
91 Collection<InputParameter> inputParameter) | 94 Collection<InputParameter> inputParameter) |
92 throws ArtifactDatabaseClientException; | 95 throws ArtifactDatabaseClientException; |
93 | 96 |
94 /** | 97 /** |
95 * @param artifactFactory | 98 * @param artifactFactory |
96 * @param currentArtifact | 99 * @param currentArtifact |
97 * @return | 100 * @return |
98 * @throws ArtifactDatabaseClientException | 101 * @throws ArtifactDatabaseClientException |
99 */ | 102 */ |
100 public Collection<ArtifactStatisticValue> calculateStatistics( | 103 public Collection<ArtifactStatisticValue> calculateStatistics( |
101 ArtifactObject artifactFactory, ArtifactObject currentArtifact) | 104 ArtifactObject artifactFactory, |
102 throws ArtifactDatabaseClientException; | 105 ArtifactObject currentArtifact) |
106 throws ArtifactDatabaseClientException; | |
103 } | 107 } |