-Resta da implementare esclusivvaemnte l'ordinamento per datascadenza e id, e la condizione delle cene nella zona dell'utente.
36 lines
875 B
Java
36 lines
875 B
Java
package it.unisa.info13d;
|
|
|
|
import it.unisa.info13d.GestioneCatalogo.Catalogo;
|
|
import it.unisa.info13d.Login.Access;
|
|
import it.unisa.info13d.Login.LoggedUser;
|
|
import it.unisa.info13d.Login.LoginData;
|
|
|
|
import java.io.FileNotFoundException;
|
|
import java.io.IOException;
|
|
import java.text.ParseException;
|
|
|
|
import it.unisa.info13d.Utility.IdCounter;
|
|
import it.unisa.info13d.Utility.ReShow;
|
|
|
|
public class Main {
|
|
|
|
public static void main(String[] args) throws FileNotFoundException,IOException,ClassNotFoundException, ParseException {
|
|
|
|
LoginData login = new LoginData();
|
|
login.getUserDataInfo();
|
|
|
|
|
|
IdCounter.restore_counter();
|
|
Catalogo load_catalogo = new Catalogo();
|
|
|
|
|
|
ReShow r = new ReShow();
|
|
for (;r.reshow;)
|
|
load_catalogo.showMenu(login.getType(),login.getUsername(),r);
|
|
IdCounter.save_counter();
|
|
|
|
|
|
|
|
}
|
|
}
|