usermanager.java
来自「EJB3.0请一定要上载质量高而且本站没有的源码」· Java 代码 · 共 39 行
JAVA
39 行
package examples.shop.logic;import java.util.List;import examples.shop.impl.entity.Customer;/** * This is the UserManager interface. */public interface UserManager { /** * It uses the customer entity bean to crate a record in the databse */ public Customer createUser(String customerId, String name, String password, String address); /** * Returns an user object for the given customer id. It uses customer entity * bean to retrieve the user record. */ public Customer getUser(String customerId); /** * Authenticate the user. */ public boolean validateUser(String login, String password) throws InvalidPasswordException; /** * Demo lookup * * @return */ public List<Customer> findAllCustomers(); public void removeAllCustomers();}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?