mirror of
https://github.com/klmp200/PQT_Gestionnaire_vente_stock.git
synced 2024-11-21 15:53:20 +00:00
Module Client : Résolutions de TODO; Ajout d'un TODO dans clss AccountService
This commit is contained in:
parent
aaa0cac636
commit
14010eb471
@ -41,11 +41,7 @@ class MainFrameModel {
|
||||
}
|
||||
|
||||
void disconnectCurrentAccount() {
|
||||
fireAccountDisconnectedEvent();
|
||||
//TODO uncomment code when test are to be done
|
||||
/*
|
||||
accountService.logOutCurrentAccount();
|
||||
*/
|
||||
}
|
||||
|
||||
void addListener(IMainFrameModelListener listener){
|
||||
|
@ -37,8 +37,6 @@ class AccountScreenModel {
|
||||
}
|
||||
|
||||
Collection<AccountLevel> getLevels() {
|
||||
//TODO régler ça aussi
|
||||
//return accountService.getAvailableLevels();
|
||||
return EnumSet.allOf(AccountLevel.class);
|
||||
}
|
||||
}
|
||||
|
@ -31,9 +31,6 @@ public class StartupFrameModel {
|
||||
}
|
||||
|
||||
public void beginStartupProcess(String requiredHost, String requiredPort, String username, String password) {
|
||||
//TODO uncomment code when test are to be done
|
||||
firerer.fireStartupValidated();
|
||||
/*
|
||||
if(!startupProcessBegan){
|
||||
checkParameters(requiredHost, requiredPort, username, password);
|
||||
startupProcessBegan = true;
|
||||
@ -65,7 +62,6 @@ public class StartupFrameModel {
|
||||
})
|
||||
.handle();
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
private void checkParameters(String host, String port, String username, String password) {
|
||||
|
@ -15,6 +15,7 @@ import java.util.List;
|
||||
|
||||
//TODO écrire javadoc
|
||||
//TODO add log lines
|
||||
//TODO supporter la modif de comptes
|
||||
public class AccountService {
|
||||
|
||||
private QueryExecutor executor;
|
||||
|
Loading…
Reference in New Issue
Block a user