Mercurial > dive4elements > river
changeset 713:dc3a8c45349b
Put the time-to-live of the collection into its DESCRIBE document.
flys-artifacts/trunk@2175 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Tue, 21 Jun 2011 14:33:00 +0000 |
parents | 08dd826439ef |
children | 2f25ca828efd |
files | flys-artifacts/ChangeLog flys-artifacts/src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java |
diffstat | 2 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/flys-artifacts/ChangeLog Mon Jun 20 14:36:42 2011 +0000 +++ b/flys-artifacts/ChangeLog Tue Jun 21 14:33:00 2011 +0000 @@ -1,3 +1,8 @@ +2011-06-21 Ingo Weinzierl <ingo@intevation.de> + + * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: + Added the time-to-live to the DESCRIBE document. + 2011-06-20 Sascha L. Teichmann <sascha.teichmann@intevation.de> * doc/conf/artifacts/winfo.xml: Configured states to generate report facets.
--- a/flys-artifacts/src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java Mon Jun 20 14:36:42 2011 +0000 +++ b/flys-artifacts/src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java Tue Jun 21 14:33:00 2011 +0000 @@ -82,6 +82,7 @@ ec.addAttr(collection, "name", getName(), true); ec.addAttr(collection, "uuid", identifier(), true); ec.addAttr(collection, "creation", creation, true); + ec.addAttr(collection, "ttl", String.valueOf(getTTL()), true); collection.appendChild(artifacts); doc.appendChild(collection);