Mercurial > dive4elements > framework
comparison Changelog @ 48:41c225c8bd41
Add i18n support via "Accept-Language" HTTP headers.
artifacts/trunk@168 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Thu, 01 Oct 2009 16:03:12 +0000 |
parents | 4ae4dc99127d |
children | 823850c63d95 |
comparison
equal
deleted
inserted
replaced
47:4ae4dc99127d | 48:41c225c8bd41 |
---|---|
1 2009-10-01 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
2 | |
3 Add i18n support via "Accept-Language" HTTP headers. | |
4 | |
5 * artifact-database/pom.xml: Using restlet 2.0 snapshot. | |
6 M3 does not implement the required API, M4 is not in maven repo yet. | |
7 TODO: Bring to M4 as soon it is released in maven repository. | |
8 | |
9 * contrib/run.sh: Adjusted to use the snapshot. | |
10 | |
11 * artifacts/src/main/java/de/intevation/artifacts/CallMeta.java: | |
12 New. Meta information of a call, languages, e.g. | |
13 | |
14 * artifacts/src/main/java/de/intevation/artifacts/PreferredLocale.java: | |
15 New. Model preferred languages. | |
16 | |
17 * artifacts/src/main/java/de/intevation/artifacts/CallContext.java: | |
18 Has now a reference to the meta information. | |
19 | |
20 * artifacts/src/main/java/de/intevation/artifacts/ArtifactDatabase.java: | |
21 describe, feed, advance and out call contexts are now enriched with | |
22 external meta data. | |
23 | |
24 * artifact-database/src/main/java/de/intevation/artifactdatabase/DatabaseCleaner.java: | |
25 Additional debug output how long the cleaner slept between cleanups. | |
26 | |
27 * artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultPreferredLocale.java: | |
28 New. Default implementation of PreferredLocale. | |
29 | |
30 * artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultCallMeta.java: | |
31 New. Default implementation of CallMeta. | |
32 | |
33 * artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java: | |
34 Adjusted to take the additional meta information. | |
35 | |
36 * artifact-database/src/main/java/de/intevation/artifactdatabase/rest/BaseResource.java: | |
37 Added a method to create a CallMeta object from web client information. | |
38 | |
39 * artifact-database/src/main/java/de/intevation/artifactdatabase/rest/ArtifactResource.java, | |
40 artifact-database/src/main/java/de/intevation/artifactdatabase/rest/CreateResource.java, | |
41 artifact-database/src/main/java/de/intevation/artifactdatabase/rest/ArtifactOutResource.java: | |
42 Call the artifact database with the meta data from there base class BaseResoure. | |
43 | |
1 2009-10-01 Sascha L. Teichmann <sascha.teichmann@intevation.de> | 44 2009-10-01 Sascha L. Teichmann <sascha.teichmann@intevation.de> |
2 | 45 |
3 * artifact-database/src/main/java/de/intevation/artifactdatabase/SQL.java, | 46 * artifact-database/src/main/java/de/intevation/artifactdatabase/SQL.java, |
4 artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifact.java, | 47 artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifact.java, |
5 artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java, | 48 artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java, |