Package | Description |
---|---|
ch.gbssg.app.bla.user | |
ch.gbssg.app.ila.admin | |
ch.gbssg.app.ila.database | |
ch.gbssg.app.ila.database.dao | |
ch.gbssg.app.ila.database.mapper | |
ch.gbssg.app.tla | |
ch.gbssg.app.util.command |
Modifier and Type | Method and Description |
---|---|
User |
UserModel.getModel()
Returns the Data model
|
Modifier and Type | Method and Description |
---|---|
void |
UserView.displayData(User model)
Fills the Data from the model into the form
|
void |
UserController.refreshUserData(User model)
Write all changes into the Model
|
void |
UserController.saveUser(User model)
Saves all changes and update it to the Database
|
void |
UserModel.setModel(User model)
Saves the received data model
|
Modifier and Type | Method and Description |
---|---|
javafx.collections.ObservableList<User> |
AdminModel.getUserData()
get the UserData list
|
Modifier and Type | Method and Description |
---|---|
void |
AdminController.delUser(User model)
Prompt the user and set the given model inactive on the database
|
void |
AdminController.editUser(User model)
Edit the given user.
|
Modifier and Type | Method and Description |
---|---|
void |
AdminView.fillTableData(javafx.collections.ObservableList<User> user)
Fill the Table with the User data list
|
Modifier and Type | Method and Description |
---|---|
java.util.List<User> |
DatabaseModel.getFilteredUser(User user)
returns a list of matches user. don't found any matches, return null.
|
Modifier and Type | Method and Description |
---|---|
int |
DatabaseModel.addUser(User user)
Adds a new User element to the database
|
java.util.List<User> |
DatabaseModel.getFilteredUser(User user)
returns a list of matches user. don't found any matches, return null.
|
int |
DatabaseModel.removeUser(User user)
Remove the given User from the database
|
int |
DatabaseModel.updateUser(User user)
Updates the given model into the Database
|
Modifier and Type | Method and Description |
---|---|
User |
UserJDBCTemplate.getById(int id) |
Modifier and Type | Method and Description |
---|---|
java.util.List<User> |
UserJDBCTemplate.filterByEntity(User entity) |
java.util.List<User> |
UserJDBCTemplate.get() |
Modifier and Type | Method and Description |
---|---|
int |
UserJDBCTemplate.create(User entity) |
java.util.List<User> |
UserJDBCTemplate.filterByEntity(User entity) |
int |
UserJDBCTemplate.update(int id,
User newEntity) |
Modifier and Type | Method and Description |
---|---|
User |
UserMapper.mapRow(java.sql.ResultSet rs,
int rowNum) |
Modifier and Type | Method and Description |
---|---|
User |
AppModel.getUser()
get the current authenticated User
|
Modifier and Type | Method and Description |
---|---|
void |
AppController.LoginValid(User user)
check if user login valid and redirect to other page. otherwise if false,
then display an error code on screen.
|
void |
AppModel.setUser(User user)
set the current authenticated User
|
Modifier and Type | Method and Description |
---|---|
User |
CmdShowUserDialog.getUser() |
User |
CmdCurrentUser.getUser()
gets the current user
|
Modifier and Type | Method and Description |
---|---|
void |
CmdShowUserDialog.setUser(User user) |
void |
CmdCurrentUser.setUser(User user)
set the current user
|
Constructor and Description |
---|
CmdShowUserDialog(javafx.stage.Stage parent,
User model) |