001: /*
002: * ProjectManagement
003: *
004: * Enhydra super-servlet specification object
005: *
006: */
007: package projectmanagement.spec.employee;
008:
009: import projectmanagement.spec.ProjectManagementException;
010: import java.sql.Date;
011:
012: public interface Employee {
013:
014: public int getAuthLevel();
015:
016: public String getHandle() throws ProjectManagementException;
017:
018: public void setLogin(String login)
019: throws ProjectManagementException;
020:
021: public String getLogin() throws ProjectManagementException;
022:
023: public void setPassword(String password)
024: throws ProjectManagementException;
025:
026: public String getPassword() throws ProjectManagementException;
027:
028: public void setFirstName(String firstname)
029: throws ProjectManagementException;
030:
031: public String getFirstName() throws ProjectManagementException;
032:
033: public void setLastName(String lastname)
034: throws ProjectManagementException;
035:
036: public String getLastName() throws ProjectManagementException;
037:
038: public void setTitle(String title)
039: throws ProjectManagementException;
040:
041: public String getTitle() throws ProjectManagementException;
042:
043: public void setTitleOfCourtesy(String titleOfCourtesy)
044: throws ProjectManagementException;
045:
046: public String getTitleOfCourtesy()
047: throws ProjectManagementException;
048:
049: public void setBirthDate(Date birthDate)
050: throws ProjectManagementException;
051:
052: public Date getBirthDate() throws ProjectManagementException;
053:
054: public void setHireDate(Date hireDate)
055: throws ProjectManagementException;
056:
057: public Date getHireDate() throws ProjectManagementException;
058:
059: public void setAddress(String address)
060: throws ProjectManagementException;
061:
062: public String getAddress() throws ProjectManagementException;
063:
064: public void setCity(String city) throws ProjectManagementException;
065:
066: public String getCity() throws ProjectManagementException;
067:
068: public void setRegion(String region)
069: throws ProjectManagementException;
070:
071: public String getRegion() throws ProjectManagementException;
072:
073: public void setPostalCode(String postalCode)
074: throws ProjectManagementException;
075:
076: public String getPostalCode() throws ProjectManagementException;
077:
078: public void setCountry(String country)
079: throws ProjectManagementException;
080:
081: public String getCountry() throws ProjectManagementException;
082:
083: public void setHomePhone(String homePhone)
084: throws ProjectManagementException;
085:
086: public String getHomePhone() throws ProjectManagementException;
087:
088: public void setMobilePhone(String mobilePhone)
089: throws ProjectManagementException;
090:
091: public String getMobilePhone() throws ProjectManagementException;
092:
093: public void setEmail(String email)
094: throws ProjectManagementException;
095:
096: public String getEmail() throws ProjectManagementException;
097:
098: public void setNotes(String notes)
099: throws ProjectManagementException;
100:
101: public String getNotes() throws ProjectManagementException;
102:
103: public void setIsAdmin(boolean isAdmin)
104: throws ProjectManagementException;
105:
106: public boolean getIsAdmin() throws ProjectManagementException;
107:
108: public void save() throws ProjectManagementException;
109:
110: public void delete() throws ProjectManagementException;
111:
112: }
|