Mercurial > dive4elements > framework
comparison artifacts/src/main/java/de/intevation/artifacts/ArtifactCollectionFactory.java @ 159:db0d20440b92
Added code to create collections.
artifacts/trunk@1384 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Thu, 03 Mar 2011 12:13:24 +0000 |
parents | c030895edfcb |
children | ac0f8bd97277 |
comparison
equal
deleted
inserted
replaced
158:d718a4d55662 | 159:db0d20440b92 |
---|---|
30 * @param context a context from the ArtifactDatabase. | 30 * @param context a context from the ArtifactDatabase. |
31 * @param identifier unique identifer for the new artifact | 31 * @param identifier unique identifer for the new artifact |
32 * @param data the data containing more details for the setup of an Artifact. | 32 * @param data the data containing more details for the setup of an Artifact. |
33 * @return a new {@linkplain de.intevation.artifacts.ArtifactCollection ArtifactCollection} | 33 * @return a new {@linkplain de.intevation.artifacts.ArtifactCollection ArtifactCollection} |
34 */ | 34 */ |
35 ArtifactCollection createCollection(String identifier, Object context, Document data); | 35 ArtifactCollection createCollection( |
36 String identifier, | |
37 String name, | |
38 Document data, | |
39 Object context); | |
36 | 40 |
37 /** | 41 /** |
38 * Setup the factory with a given configuration | 42 * Setup the factory with a given configuration |
39 * @param config the configuration | 43 * @param config the configuration |
40 * @param factoryNode the ConfigurationNode of this Factory | 44 * @param factoryNode the ConfigurationNode of this Factory |