Mercurial > dive4elements > framework
changeset 118:0e0c27bc0b90
Added creation time to collections.
artifacts/trunk@1341 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Tue, 01 Mar 2011 14:57:50 +0000 |
parents | 4d725248f8d1 |
children | 3bb121d5b0b7 |
files | ChangeLog artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java artifacts/src/main/java/de/intevation/artifacts/ArtifactCollection.java |
diffstat | 3 files changed, 15 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Tue Mar 01 14:42:58 2011 +0000 +++ b/ChangeLog Tue Mar 01 14:57:50 2011 +0000 @@ -1,3 +1,11 @@ +2011-03-01 Sascha L. Teichmann <sascha.teichmann@intevation.de> + + * artifacts/src/main/java/de/intevation/artifacts/ArtifactCollection.java: + Added creation time. + + * artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java: + Typo fixes. + 2011-03-01 Sascha L. Teichmann <sascha.teichmann@intevation.de> * artifacts/src/main/java/de/intevation/artifacts/ArtifactDatabase.java:
--- a/artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java Tue Mar 01 14:42:58 2011 +0000 +++ b/artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java Tue Mar 01 14:57:50 2011 +0000 @@ -890,7 +890,7 @@ return service.process(input, context, callMeta); } - // User API + // User API public Document listUsers(CallMeta callMeta) throws ArtifactDatabaseException { @@ -962,6 +962,5 @@ throws ArtifactDatabaseException{ throw new ArtifactDatabaseException("Not implemented, yet!"); } - } // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :
--- a/artifacts/src/main/java/de/intevation/artifacts/ArtifactCollection.java Tue Mar 01 14:42:58 2011 +0000 +++ b/artifacts/src/main/java/de/intevation/artifacts/ArtifactCollection.java Tue Mar 01 14:57:50 2011 +0000 @@ -14,6 +14,8 @@ import java.io.OutputStream; import java.io.Serializable; +import java.util.Date; + public interface ArtifactCollection extends Serializable { @@ -29,6 +31,10 @@ */ String identifier(); + Date getCreationTime(); + + void setCreationTime(Date creationTime); + /** * Set a new owner of this collection. * @param user New owner for this collection.