1 18 19 package org.apache.struts.examples.mailreader; 20 21 31 32 public interface UserDatabase { 33 34 35 37 38 47 public User createUser(String username); 48 49 50 55 public void close() throws Exception ; 56 57 58 66 public User findUser(String username) throws ExpiredPasswordException; 67 68 69 72 public User[] findUsers(); 73 74 75 80 public void open() throws Exception ; 81 82 83 91 public void removeUser(User user); 92 93 94 99 public void save() throws Exception ; 100 101 102 } 103 | Popular Tags |