comparison ChangeLog @ 82:efe752c4f8b2

Call cleanup method to remove special data stored by an 'out'-target before exporting an artifact. artifacts/trunk@810 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Mon, 22 Mar 2010 09:03:30 +0000
parents e9c80fdfee13
children 8c4638abd518
comparison
equal deleted inserted replaced
81:e9c80fdfee13 82:efe752c4f8b2
1 2010-03-22 Ingo Weinzierl <ingo.weinzierl@intevation.de>
2
3 Issue208 (Remove special data of an 'out'-target before exporting
4 artifacts)
5
6 * artifacts/src/main/java/de/intevation/artifacts/Artifact.java: Added a
7 'cleanup(Object context)' method to the interface definition of artifacts.
8 This method should be called before exporting an artifact and should
9 remove data stored on an artifact (or its current state) which have been
10 written by an 'out'.
11
12 * artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifact.java:
13 Default implementation of cleanup method - nothing is done here yet.
14 Override this method if an artifact needs to be cleaned before an export.
15
16 * artifact-database/src/main/java/de/intevation/artifactdatabase/ProxyArtifact.java:
17 Call cleanup method on the proxied artifact if proxied is existing.
18
19 * artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java:
20 Call cleanup method before exporting an artifact as xml.
21
1 2010-03-19 Ingo Weinzierl <ingo.weinzierl@intevation.de> 22 2010-03-19 Ingo Weinzierl <ingo.weinzierl@intevation.de>
2 23
3 Issue208 (Artifact gets a new identifier after being imported) 24 Issue208 (Artifact gets a new identifier after being imported)
4 25
5 * artifacts/src/main/java/de/intevation/artifacts/Artifact.java: Added a new 26 * artifacts/src/main/java/de/intevation/artifacts/Artifact.java: Added a new

http://dive4elements.wald.intevation.org