1 7 package org.jfox.petstore.dao; 8 9 import java.sql.SQLException ; 10 import java.util.List ; 11 12 import org.jfox.petstore.entity.Account; 13 14 public interface AccountDAO { 15 16 Account getAccount(String username) throws SQLException ; 17 18 Account getAccount(String username, String password) throws SQLException ; 19 20 void insertAccount(Account account) throws SQLException ; 21 22 void updateAccount(Account account) throws SQLException ; 23 24 List <String > getUsernameList() throws SQLException ; 25 26 } 27 | Popular Tags |