diff artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java @ 294:b530e83acf2e

Adapted the signature of Hook.execute() which now retrieves a Document as third parameter. artifacts/trunk@2333 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Thu, 14 Jul 2011 14:41:00 +0000
parents a367a0d011af
children 694d818e99b2
line wrap: on
line diff
--- a/artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java	Thu Jul 14 14:22:23 2011 +0000
+++ b/artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java	Thu Jul 14 14:41:00 2011 +0000
@@ -788,7 +788,7 @@
 
             if (postAdvanceHooks != null) {
                 for (Hook hook: postAdvanceHooks) {
-                    hook.execute(art, cc);
+                    hook.execute(art, cc, res);
                 }
             }
 
@@ -821,7 +821,7 @@
 
             if (postFeedHooks != null) {
                 for (Hook hook: postFeedHooks) {
-                    hook.execute(art, cc);
+                    hook.execute(art, cc, res);
                 }
             }
 

http://dive4elements.wald.intevation.org