comparison 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
comparison
equal deleted inserted replaced
152:7e5619115d5b 153:bf596b83d984
1 2011-03-03 Ingo Weinzierl <ingo@intevation.de>
2
3 * artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultUserFactory.java,
4 artifacts/src/main/java/de/intevation/artifacts/UserFactory.java,
5 artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java:
6 Adapted the signature of deleteUser(). These methods don't await a User
7 object any longer but just its identifier.
8
9 * artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java:
10 Performance improvement: there is no need to fetch the user that we want
11 to delete from database before deleting it. Now, we just call the
12 deleteUser() method of the UserFactory with the identifier of the user.
13
1 2011-03-03 Ingo Weinzierl <ingo@intevation.de> 14 2011-03-03 Ingo Weinzierl <ingo@intevation.de>
2 15
3 * artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java: 16 * artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java:
4 Implemented the deleteUser() interface method. This operation will now 17 Implemented the deleteUser() interface method. This operation will now
5 remove the specified user, its collections and the artifacts stored in 18 remove the specified user, its collections and the artifacts stored in

http://dive4elements.wald.intevation.org