public class UserController extends AgentController
| Constructor and Description |
|---|
UserController()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
Code |
getAssignedCode(int id)
Check the Code list and return the Code Model object based on the given ID
|
void |
refreshUserData(User model)
Write all changes into the Model
|
void |
saveUser(User model)
Saves all changes and update it to the Database
|
boolean |
setupAgent()
Method which is called every time the Agent is initialized
|
addChild, getParent, receiveMessage, removeCildren, setParentpublic boolean setupAgent()
setupAgent in class AgentControllerpublic Code getAssignedCode(int id)
id - the Code ID which should be returnedpublic void refreshUserData(User model)
model - the model which should be writtenpublic void saveUser(User model)
model -