📄 usermanager.java
字号:
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -