KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jfox > petstore > bo > AccountBO


1 /*
2  * JFox - The most lightweight Java EE Application Server!
3  * more details please visit http://www.huihoo.org/jfox or http://www.jfox.org.cn.
4  *
5  * JFox is licenced and re-distributable under GNU LGPL.
6  */

7 package org.jfox.petstore.bo;
8
9 import java.util.List JavaDoc;
10
11 import org.jfox.petstore.entity.Account;
12
13 /**
14  * @author <a HREF="mailto:jfox.young@gmail.com">Young Yang</a>
15  */

16 public interface AccountBO {
17     Account getAccount(String JavaDoc username);
18
19     Account getAccount(String JavaDoc username, String JavaDoc password);
20
21     void updateAccount(Account account);
22
23     void insertAccount(Account account);
24
25     List JavaDoc<String JavaDoc> getUsernameList();
26 }
27
Popular Tags