Mercurial > dive4elements > framework
diff 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 |
line wrap: on
line diff
--- a/artifacts/src/main/java/de/intevation/artifacts/ArtifactDatabase.java Wed Jul 13 13:12:08 2011 +0000 +++ b/artifacts/src/main/java/de/intevation/artifacts/ArtifactDatabase.java Thu Jul 14 14:22:23 2011 +0000 @@ -73,6 +73,13 @@ ) throws ArtifactDatabaseException; /** + * Used to retrieve an artifact.<b>NOTE: artifact modifications are not + * persisted to database!</b> + */ + Artifact getRawArtifact(String identifier) + throws ArtifactDatabaseException; + + /** * Returns the describe document of artifact identified * with the string 'artifact'. * @param artifact The identifier of the artifact.