Mercurial > dive4elements > river
changeset 966:a63d79107289
Adjusted services to implement changed signature.
flys-artifacts/trunk@2387 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Thu, 21 Jul 2011 14:43:19 +0000 |
parents | 79251b1d47da |
children | 89dfdfe823f0 |
files | flys-artifacts/ChangeLog flys-artifacts/src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java flys-artifacts/src/main/java/de/intevation/flys/artifacts/services/MainValuesService.java flys-artifacts/src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java flys-artifacts/src/main/java/de/intevation/flys/artifacts/services/RiverService.java |
diffstat | 5 files changed, 29 insertions(+), 15 deletions(-) [+] |
line wrap: on
line diff
--- a/flys-artifacts/ChangeLog Thu Jul 21 14:00:09 2011 +0000 +++ b/flys-artifacts/ChangeLog Thu Jul 21 14:43:19 2011 +0000 @@ -1,3 +1,11 @@ +2011-07-21 Sascha L. Teichmann <sascha.teichmann@intevation.de> + + * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java, + src/main/java/de/intevation/flys/artifacts/services/MainValuesService.java, + src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java, + src/main/java/de/intevation/flys/artifacts/services/RiverService.java: + Adjusted to implement changed Service interface. + 2011-07-21 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Refactored
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java Thu Jul 21 14:00:09 2011 +0000 +++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java Thu Jul 21 14:43:19 2011 +0000 @@ -9,6 +9,7 @@ import org.w3c.dom.Element; import de.intevation.artifacts.CallMeta; +import de.intevation.artifacts.GlobalContext; import de.intevation.artifacts.common.ArtifactNamespaceContext; import de.intevation.artifacts.common.utils.XMLUtils; @@ -58,11 +59,12 @@ } + @Override public Document process( - Document data, - Object globalContext, - CallMeta callMeta) - { + Document data, + GlobalContext globalContext, + CallMeta callMeta + ) { logger.debug("DistanceInfoService.process"); String river = XMLUtils.xpathString(
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/services/MainValuesService.java Thu Jul 21 14:00:09 2011 +0000 +++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/services/MainValuesService.java Thu Jul 21 14:43:19 2011 +0000 @@ -10,6 +10,7 @@ import org.hibernate.Session; import de.intevation.artifacts.CallMeta; +import de.intevation.artifacts.GlobalContext; import de.intevation.artifactdatabase.DefaultService; @@ -57,11 +58,12 @@ } + @Override public Document process( - Document data, - Object context, - CallMeta callMeta) - { + Document data, + GlobalContext context, + CallMeta callMeta + ) { logger.debug("MainValuesService.process"); try {
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java Thu Jul 21 14:00:09 2011 +0000 +++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java Thu Jul 21 14:43:19 2011 +0000 @@ -11,6 +11,7 @@ import java.util.HashMap; import de.intevation.artifacts.CallMeta; +import de.intevation.artifacts.GlobalContext; import de.intevation.artifactdatabase.DefaultService; @@ -54,9 +55,9 @@ @Override public Document process( - Document data, - Object globalContext, - CallMeta callMeta + Document data, + GlobalContext globalContext, + CallMeta callMeta ) { log.debug("MetaDataService.process");
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/services/RiverService.java Thu Jul 21 14:00:09 2011 +0000 +++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/services/RiverService.java Thu Jul 21 14:43:19 2011 +0000 @@ -8,6 +8,7 @@ import org.w3c.dom.Element; import de.intevation.artifacts.CallMeta; +import de.intevation.artifacts.GlobalContext; import de.intevation.artifacts.common.ArtifactNamespaceContext; import de.intevation.artifacts.common.utils.XMLUtils; @@ -41,10 +42,10 @@ public Document process( - Document data, - Object globalContext, - CallMeta callMeta) - { + Document data, + GlobalContext globalContext, + CallMeta callMeta + ) { logger.debug("RiverService.process"); Document result = XMLUtils.newDocument();