Commit 01616222de03fe31f30ce5388793b67b472fae00
1 parent
522685de
refactor: SessionContext umgezogen
Showing
3 changed files
with
4 additions
and
3 deletions
src/main/java/net/ziemers/swxercise/lg/model/user/SessionContext.java renamed to src/main/java/net/ziemers/swxercise/lg/user/service/SessionContext.java
1 | -package net.ziemers.swxercise.lg.model.user; | |
1 | +package net.ziemers.swxercise.lg.user.service; | |
2 | 2 | |
3 | 3 | import javax.enterprise.context.SessionScoped; |
4 | 4 | |
5 | +import net.ziemers.swxercise.lg.model.user.User; | |
6 | + | |
5 | 7 | /** |
6 | 8 | * Verwaltet den SessionContext des zurzeit angemeldeten Benutzers. |
7 | 9 | */ | ... | ... |
src/main/java/net/ziemers/swxercise/lg/user/service/UserService.java
... | ... | @@ -7,7 +7,6 @@ import javax.inject.Inject; |
7 | 7 | |
8 | 8 | import net.ziemers.swxercise.db.dao.user.UserDao; |
9 | 9 | import net.ziemers.swxercise.lg.model.user.Profile; |
10 | -import net.ziemers.swxercise.lg.model.user.SessionContext; | |
11 | 10 | import net.ziemers.swxercise.lg.model.user.User; |
12 | 11 | import net.ziemers.swxercise.lg.user.dto.UserDto; |
13 | 12 | ... | ... |
src/main/java/net/ziemers/swxercise/ui/UserViewController.java
... | ... | @@ -7,7 +7,7 @@ import javax.inject.Inject; |
7 | 7 | import javax.ws.rs.*; |
8 | 8 | import javax.ws.rs.core.MediaType; |
9 | 9 | |
10 | -import net.ziemers.swxercise.lg.model.user.SessionContext; | |
10 | +import net.ziemers.swxercise.lg.user.service.SessionContext; | |
11 | 11 | import net.ziemers.swxercise.lg.model.user.User; |
12 | 12 | import net.ziemers.swxercise.lg.user.dto.UserDto; |
13 | 13 | import net.ziemers.swxercise.lg.user.service.UserService; | ... | ... |