| | |
| | | public static final String SQL_GET_USER_LIST = "getUserList"; |
| | | public static final String SQL_GET_USER_NAME_LIST = "getUserNameList"; |
| | | public static final String SQL_GET_ROLE_LIST = "getRoleList"; |
| | | public static final String SQL_GET_USER_ROLES = "getUserRoles"; |
| | | public static final String SQL_DELETE_USER = "deleteUser"; |
| | | |
| | | /* ----------- Benutzer -------------- */ |
| | |
| | | return roleNames; |
| | | } |
| | | |
| | | /** |
| | | * |
| | | * |
| | | * list.get(recordno).get(fieldno) |
| | | * |
| | | * @param userId ID des Benutzers |
| | | * @return List<List<String>> Rollennamen des Benutzers |
| | | */ |
| | | public List getUserRoleNames(String userId) { |
| | | String sql = App.getSqlStatement(SQL_GET_USER_ROLES); |
| | | List roleNames = App.getDatabase().select(sql, App.WITHOUT_BLOBS, userId); |
| | | return roleNames; |
| | | } |
| | | |
| | | /* ------------ sonstige Methoden -------------- */ |
| | | |
| | | public String hallo() { |