comparison artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java @ 38:93edc04f3a10

Added postgresql support. artifacts/trunk@104 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Fri, 18 Sep 2009 09:34:14 +0000
parents 9935e1c928de
children 5e4bc24ea438
comparison
equal deleted inserted replaced
37:3f03aee55c2f 38:93edc04f3a10
60 public Artifact getArtifact() { 60 public Artifact getArtifact() {
61 return artifact; 61 return artifact;
62 } 62 }
63 63
64 public void store() { 64 public void store() {
65 if (logger.isDebugEnabled()) {
66 logger.debug("storing artifact id = " + getId());
67 }
65 Backend.this.store(this); 68 Backend.this.store(this);
66 } 69 }
67 70
68 public void touch() { 71 public void touch() {
72 if (logger.isDebugEnabled()) {
73 logger.debug("touching artifact id = " + getId());
74 }
69 Backend.this.touch(this); 75 Backend.this.touch(this);
70 } 76 }
71 } // class ArtifactWithId 77 } // class ArtifactWithId
72 78
73 public Backend() { 79 public Backend() {

http://dive4elements.wald.intevation.org