1 package sk.stuba.fiit.foo07.genex.dao; 2 3 import java.sql.SQLException; 4 5 import sk.stuba.fiit.foo07.genex.beans.TUser; 6 7 /** 8 * @author palo 9 */ 10 11 public interface UserDao { 12 13 public void addTUser(TUser toAdd) throws SQLException; 14 15 public void deleteTUser(TUser toDelete) throws SQLException; 16 17 public TUser getTUserByID(Integer userID) throws SQLException; 18 19 public TUser getDefaultTUser() throws SQLException; 20 21 public void updateTUser(TUser toUpdate) throws SQLException; 22 }