1 /*2 * ProjectManagement 3 *4 * Enhydra super-servlet specification object5 * 6 */7 package projectmanagement.spec.employee;8 9 import projectmanagement.spec.ProjectManagementException;10 import java.sql.Date ;11 12 public interface Employee {13 14 public int getAuthLevel ();15 public String getHandle()16 throws ProjectManagementException;17 public void setLogin(String login)18 throws ProjectManagementException;19 public String getLogin()20 throws ProjectManagementException; 21 public void setPassword(String password)22 throws ProjectManagementException;23 public String getPassword()24 throws ProjectManagementException;25 public void setFirstName(String firstname)26 throws ProjectManagementException;27 public String getFirstName()28 throws ProjectManagementException; 29 public void setLastName(String lastname)30 throws ProjectManagementException;31 public String getLastName()32 throws ProjectManagementException;33 public void setTitle(String title)34 throws ProjectManagementException;35 public String getTitle()36 throws ProjectManagementException;37 public void setTitleOfCourtesy(String titleOfCourtesy)38 throws ProjectManagementException;39 public String getTitleOfCourtesy()40 throws ProjectManagementException;41 public void setBirthDate(Date birthDate)42 throws ProjectManagementException;43 public Date getBirthDate()44 throws ProjectManagementException;45 public void setHireDate(Date hireDate)46 throws ProjectManagementException;47 public Date getHireDate()48 throws ProjectManagementException; 49 public void setAddress(String address)50 throws ProjectManagementException;51 public String getAddress()52 throws ProjectManagementException;53 public void setCity(String city)54 throws ProjectManagementException;55 public String getCity()56 throws ProjectManagementException;57 public void setRegion(String region)58 throws ProjectManagementException;59 public String getRegion()60 throws ProjectManagementException;61 public void setPostalCode(String postalCode)62 throws ProjectManagementException;63 public String getPostalCode()64 throws ProjectManagementException;65 public void setCountry(String country)66 throws ProjectManagementException;67 public String getCountry()68 throws ProjectManagementException;69 public void setHomePhone(String homePhone)70 throws ProjectManagementException;71 public String getHomePhone()72 throws ProjectManagementException;73 public void setMobilePhone(String mobilePhone)74 throws ProjectManagementException;75 public String getMobilePhone()76 throws ProjectManagementException; 77 public void setEmail(String email)78 throws ProjectManagementException; 79 public String getEmail()80 throws ProjectManagementException;81 public void setNotes(String notes)82 throws ProjectManagementException;83 public String getNotes()84 throws ProjectManagementException; 85 public void setIsAdmin(boolean isAdmin)86 throws ProjectManagementException; 87 public boolean getIsAdmin()88 throws ProjectManagementException;89 public void save() throws ProjectManagementException; 90 public void delete() throws ProjectManagementException; 91 92 }