01: /*
02: * Created on 2004-10-22
03: *
04: * TODO To change the template for this generated file go to
05: * Window - Preferences - Java - Code Style - Code Templates
06: */
07: package com.ibatis.jpetstore.service;
08:
09: import java.util.List;
10:
11: import com.ibatis.jpetstore.domain.Account;
12:
13: /**
14: * @author peter.cheng TODO To change the template for this generated type
15: * comment go to Window - Preferences - Java - Code Style - Code
16: * Templates
17: */
18: public interface AccountService {
19:
20: public Account getAccount(String username);
21:
22: public Account getAccount(String username, String password);
23:
24: public void insertAccount(Account account);
25:
26: public void updateAccount(Account account);
27:
28: public List getUsernameList();
29:
30: }
|