Mercurial > dive4elements > framework
diff ChangeLog @ 153:bf596b83d984
Adjusted method signatures for deleting users in the UserFactory and in the Backend.
artifacts/trunk@1378 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Thu, 03 Mar 2011 08:51:02 +0000 |
parents | 7e5619115d5b |
children | 1a72f08ce8d7 |
line wrap: on
line diff
--- a/ChangeLog Thu Mar 03 08:07:28 2011 +0000 +++ b/ChangeLog Thu Mar 03 08:51:02 2011 +0000 @@ -1,3 +1,16 @@ +2011-03-03 Ingo Weinzierl <ingo@intevation.de> + + * artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultUserFactory.java, + artifacts/src/main/java/de/intevation/artifacts/UserFactory.java, + artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java: + Adapted the signature of deleteUser(). These methods don't await a User + object any longer but just its identifier. + + * artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java: + Performance improvement: there is no need to fetch the user that we want + to delete from database before deleting it. Now, we just call the + deleteUser() method of the UserFactory with the identifier of the user. + 2011-03-03 Ingo Weinzierl <ingo@intevation.de> * artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java: