comparison ChangeLog @ 343:542caebea773

Add functionality to get 'oldest' artifact of a collection.' artifacts/trunk@3037 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Wed, 19 Oct 2011 15:55:33 +0000
parents 9a85e0ef6e02
children be883e843539
comparison
equal deleted inserted replaced
342:9a85e0ef6e02 343:542caebea773
1 2011-10-19 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2
3 Add backend and db functionality query artifact which is belongs to
4 a collection the longest (not neccessary the longest artifact itself).
5
6 * artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java
7 (getCollectionsMasterArtifact): New. Access master artifact for
8 given collection (masterartifact defined as artifact which belongs
9 to the collection the longest).
10
11 * artifacts/src/main/java/de/intevation/artifacts/ArtifactDatabase.java
12 (getCollectionsMasterArtifact): New (extended interface).
13
14 * artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java
15 (getMasterArtifact): New, get UUID of oldest artifact which belongs to
16 collection the longest.
17
18 * artifact-database/src/main/resources/sql/org-h2-driver.properties,
19 artifact-database/src/main/resources/sql/org-postgresql-driver.properties:
20 Added SQL query to get list of artifacts in collection sorted by the
21 entry date.
22
1 2011-10-17 Sascha L. Teichmann <sascha.teichmann@intevation.de> 23 2011-10-17 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2 24
3 * artifacts-common/src/main/java/de/intevation/artifacts/common/utils/StringUtils.java(toUpperCase): 25 * artifacts-common/src/main/java/de/intevation/artifacts/common/utils/StringUtils.java(toUpperCase):
4 Added static method to convert an array of string to their uppercase counterparts. 26 Added static method to convert an array of string to their uppercase counterparts.
5 27

http://dive4elements.wald.intevation.org