Mercurial > dive4elements > framework
diff ChangeLog @ 257:8c2b6cdf22ad
Modified Transition.isValid() - added the artifact and the current state to the parameter list.
artifacts/trunk@1758 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Thu, 28 Apr 2011 10:30:30 +0000 |
parents | 55d08706ccf2 |
children | c41b300b02c3 |
line wrap: on
line diff
--- a/ChangeLog Thu Apr 28 10:27:27 2011 +0000 +++ b/ChangeLog Thu Apr 28 10:30:30 2011 +0000 @@ -1,3 +1,14 @@ +2011-04-28 Ingo Weinzierl <ingo@intevation.de> + + * artifact-database/src/main/java/de/intevation/artifactdatabase/transition/Transition.java: + Modified the isValid() method. The transition needs to know about the + current artifact where its data is stored, the current state and maybe + the target state to determine if it is allowed to step from the current + state to a target state! + NOTE: This breaks the current API! + +artifact-database/src/main/java/de/intevation/artifactdatabase/transition/TransitionEngine.java + 2011-04-28 Ingo Weinzierl <ingo@intevation.de> * artifact-database/src/main/java/de/intevation/artifactdatabase/state/State.java,