From 72c5c3e9db2431c7b0e3878db793ab8516408cc0 Mon Sep 17 00:00:00 2001 From: ulrich <undisclosed> Date: Tue, 20 Dec 2016 14:43:27 +0000 Subject: [PATCH] Nutzer loeschen und zusaetzliche Dynamik auf dem UI eingebaut --- src/java/de/uhilger/um/api/UserMgr.java | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/src/java/de/uhilger/um/api/UserMgr.java b/src/java/de/uhilger/um/api/UserMgr.java index 9057f17..dea28ca 100644 --- a/src/java/de/uhilger/um/api/UserMgr.java +++ b/src/java/de/uhilger/um/api/UserMgr.java @@ -19,6 +19,7 @@ public static final String SQL_GET_USER_LIST = "getUserList"; public static final String SQL_GET_USER_NAME_LIST = "getUserNameList"; + public static final String SQL_DELETE_USER = "deleteUser"; public User createUser(User user) { String kw = user.getPw(); @@ -34,6 +35,10 @@ return userNames; } + public User deleteUser(User user) { + return (User) App.getDatabase().delete(user, UserMapper); + } + /* public List getUserList() { String sql = App.getSqlStatement(SQL_GET_USER_LIST); -- Gitblit v1.9.3