comparison ChangeLog @ 269:d9a99b28a847

Added support for the 'type' parameter of artifacts and collections out() call. artifacts/trunk@2030 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Tue, 31 May 2011 14:53:36 +0000
parents 4edaf3073109
children 89f6de49803d
comparison
equal deleted inserted replaced
268:4edaf3073109 269:d9a99b28a847
1 2011-05-31 Ingo Weinzierl <ingo@intevation.de>
2
3 * artifact-database/src/main/java/de/intevation/artifactdatabase/rest/BaseOutResource.java,
4 artifact-database/src/main/java/de/intevation/artifactdatabase/rest/CollectionOutResource.java,
5 artifact-database/src/main/java/de/intevation/artifactdatabase/rest/ArtifactOutResource.java:
6 The 'type' part of the url is extracted and used while dispatching the
7 call to the artifact database.
8
9 * artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java,
10 artifacts/src/main/java/de/intevation/artifacts/ArtifactDatabase.java:
11 The deferred output got a new out() method that takes the 'type'
12 parameter specified in the url part.
13
14 * artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifactCollection.java,
15 artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifact.java,
16 artifacts/src/main/java/de/intevation/artifacts/ArtifactCollection.java,
17 artifacts/src/main/java/de/intevation/artifacts/Artifact.java:
18 Artifacts and ArtifactCollections have two out() operations to support
19 the output type parameter now. I did not remove the out() without the
20 'type' parameter to keep compatible with older versions.
21
1 2011-05-27 Ingo Weinzierl <ingo@intevation.de> 22 2011-05-27 Ingo Weinzierl <ingo@intevation.de>
2 23
3 * artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java: 24 * artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java:
4 The setCollectionAttribute() method will now set the incoming document 25 The setCollectionAttribute() method will now set the incoming document
5 as new attribute for the collection. Before, we looked for a xpath 26 as new attribute for the collection. Before, we looked for a xpath

http://dive4elements.wald.intevation.org