Mercurial > lada > lada-server
comparison src/main/java/de/intevation/lada/util/auth/UserInfo.java @ 1028:1c41c7b8f7c2 schema-update
Updated server application to new database model. THIS IS STILL WIP!!!
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Fri, 08 Jul 2016 15:32:36 +0200 |
parents | 0e9c4718196f |
children |
comparison
equal
deleted
inserted
replaced
1027:9971471d562c | 1028:1c41c7b8f7c2 |
---|---|
8 package de.intevation.lada.util.auth; | 8 package de.intevation.lada.util.auth; |
9 | 9 |
10 import java.util.ArrayList; | 10 import java.util.ArrayList; |
11 import java.util.List; | 11 import java.util.List; |
12 | 12 |
13 import javax.inject.Inject; | 13 import de.intevation.lada.model.stammdaten.Auth; |
14 | |
15 import org.apache.log4j.Logger; | |
16 | |
17 import de.intevation.lada.model.stamm.Auth; | |
18 | 14 |
19 /** | 15 /** |
20 * Container for user specific information. | 16 * Container for user specific information. |
21 * | 17 * |
22 * @author <a href="mailto:rrenkert@intevation.de">Raimund Renkert</a> | 18 * @author <a href="mailto:rrenkert@intevation.de">Raimund Renkert</a> |
23 */ | 19 */ |
24 public class UserInfo { | 20 public class UserInfo { |
25 private Logger logger = Logger.getLogger(UserInfo.class); | |
26 | |
27 private String name; | 21 private String name; |
28 private Integer userId; | 22 private Integer userId; |
29 private List<String> messstellen; | |
30 private List<String> netzbetreiber; | |
31 private List<Integer> funktionen; | 23 private List<Integer> funktionen; |
32 private List<Auth> auth; | 24 private List<Auth> auth; |
33 | 25 |
34 public class MessLaborId { | 26 public class MessLaborId { |
35 private String messstelle; | 27 private String messstelle; |
60 * @param labor the labor to set | 52 * @param labor the labor to set |
61 */ | 53 */ |
62 public void setLabor(String labor) { | 54 public void setLabor(String labor) { |
63 this.labor = labor; | 55 this.labor = labor; |
64 } | 56 } |
65 } | |
66 | |
67 public UserInfo() { | |
68 messstellen = new ArrayList<String>(); | |
69 netzbetreiber = new ArrayList<String>(); | |
70 } | 57 } |
71 | 58 |
72 /** | 59 /** |
73 * @return the name | 60 * @return the name |
74 */ | 61 */ |