Mercurial > dive4elements > framework
comparison artifacts/src/main/java/de/intevation/artifacts/ArtifactDatabase.java @ 293:a367a0d011af
Set an interface for the global context; added a method to the artifact database to return an instance of an Artifact.
artifacts/trunk@2331 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Thu, 14 Jul 2011 14:22:23 +0000 |
parents | e92d5944fe4b |
children | 190aa68ae7a8 |
comparison
equal
deleted
inserted
replaced
292:39c0ff00d188 | 293:a367a0d011af |
---|---|
69 Document createArtifactWithFactory( | 69 Document createArtifactWithFactory( |
70 String factory, | 70 String factory, |
71 CallMeta callMeta, | 71 CallMeta callMeta, |
72 Document data | 72 Document data |
73 ) throws ArtifactDatabaseException; | 73 ) throws ArtifactDatabaseException; |
74 | |
75 /** | |
76 * Used to retrieve an artifact.<b>NOTE: artifact modifications are not | |
77 * persisted to database!</b> | |
78 */ | |
79 Artifact getRawArtifact(String identifier) | |
80 throws ArtifactDatabaseException; | |
74 | 81 |
75 /** | 82 /** |
76 * Returns the describe document of artifact identified | 83 * Returns the describe document of artifact identified |
77 * with the string 'artifact'. | 84 * with the string 'artifact'. |
78 * @param artifact The identifier of the artifact. | 85 * @param artifact The identifier of the artifact. |