comparison artifact-database/src/main/java/de/intevation/artifactdatabase/LazyBackendUser.java @ 409:4748949c4f19

Extend user class implementations to handle account information artifacts/trunk@5245 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Bjoern Ricks <bjoern.ricks@intevation.de>
date Thu, 23 Aug 2012 13:42:41 +0000
parents 16cd059945e5
children
comparison
equal deleted inserted replaced
408:7cdd63310d5c 409:4748949c4f19
41 } 41 }
42 } 42 }
43 return user; 43 return user;
44 } 44 }
45 45
46 @Override
46 public String identifier() { 47 public String identifier() {
47 return getUser().identifier(); 48 return getUser().identifier();
48 } 49 }
49 50
51 @Override
50 public String getName() { 52 public String getName() {
51 return getUser().getName(); 53 return getUser().getName();
52 } 54 }
53 55
56 @Override
54 public void setName(String name) { 57 public void setName(String name) {
55 getUser().setName(name); 58 getUser().setName(name);
56 } 59 }
57 60
61 @Override
58 public void setIdentifier(String identifier) { 62 public void setIdentifier(String identifier) {
59 getUser().setIdentifier(identifier); 63 getUser().setIdentifier(identifier);
60 } 64 }
61 65
66 @Override
62 public Document getRole() { 67 public Document getRole() {
63 return getUser().getRole(); 68 return getUser().getRole();
64 } 69 }
65 70
71 @Override
66 public void setRole(Document document) { 72 public void setRole(Document document) {
67 getUser().setRole(document); 73 getUser().setRole(document);
68 } 74 }
75
76 @Override
77 public String getAccount() {
78 return getUser().getAccount();
79 }
69 } 80 }
70 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : 81 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org