01: /*
02: * JFox - The most lightweight Java EE Application Server!
03: * more details please visit http://www.huihoo.org/jfox or http://www.jfox.org.cn.
04: *
05: * JFox is licenced and re-distributable under GNU LGPL.
06: */
07: package org.jfox.petstore.bo;
08:
09: import java.util.List;
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 username);
18:
19: Account getAccount(String username, String password);
20:
21: void updateAccount(Account account);
22:
23: void insertAccount(Account account);
24:
25: List<String> getUsernameList();
26: }
|