|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecteschool.ejb._UsersBean
Constructor Summary | |
_UsersBean()
|
Method Summary | |
void |
changeMyProfile(int lecturer_id,
java.lang.String fname,
java.lang.String lname,
java.lang.String phone,
java.lang.String email,
java.lang.String info)
Changes lecturer profile |
void |
changeStudentProfile(int studentId,
java.lang.String fname,
java.lang.String lname,
java.lang.String email,
java.lang.String phone)
Changes student personal data. |
java.util.Vector |
getAllLecturers()
|
Lecturer |
getLecturerByLecturerID(int lecturerid)
|
Lecturer |
logOnLecturer(java.lang.String username,
java.lang.String password)
Logs a lecturer into the system by username and password |
Student |
logOnStudent(java.lang.String username,
java.lang.String password)
Logs a student into the system by username and password |
boolean |
registerLecturer(Lecturer lecturer)
Registeres a new system into the system |
boolean |
registerStudent(Student student)
Register a new student into system |
void |
saveOpinion(java.lang.String general,
java.lang.String should_add,
java.lang.String should_impl,
java.lang.String look,
java.lang.String rep_name,
java.lang.String rep_email,
java.lang.String score)
Saves a user opinion about the system |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public _UsersBean()
Method Detail |
public Student logOnStudent(java.lang.String username, java.lang.String password)
username
- password
-
public Lecturer logOnLecturer(java.lang.String username, java.lang.String password)
username
- password
-
public Lecturer getLecturerByLecturerID(int lecturerid)
lecturerid
- id of the lecturer
public boolean registerStudent(Student student)
student
- Student that have to be registered
public void saveOpinion(java.lang.String general, java.lang.String should_add, java.lang.String should_impl, java.lang.String look, java.lang.String rep_name, java.lang.String rep_email, java.lang.String score)
general
- general feedback about the systemshould_add
- what should be added to the systemshould_impl
- what should be improvedlook
- how the look should be changedrep_name
- reporter namerep_email
- reporter e-mailscore
- the system scorepublic void changeMyProfile(int lecturer_id, java.lang.String fname, java.lang.String lname, java.lang.String phone, java.lang.String email, java.lang.String info)
lecturer_id
- id of lecturerfname
- first name that should replace the current first namelname
- last name that should replace the current last namephone
- phone number that should replace the current phone numberemail
- e-mail address that should replace the current e-mail addressinfo
- additional information that should replace the current additional informationpublic boolean registerLecturer(Lecturer lecturer)
lecturer
- Lecturer that should be registered
public java.util.Vector getAllLecturers()
public void changeStudentProfile(int studentId, java.lang.String fname, java.lang.String lname, java.lang.String email, java.lang.String phone)
studentId
- id of the studentfname
- first name that should replace the current first namelname
- last name that should replace the current last nameemail
- e-mail address that should replace the current e-mail addressphone
- number that should replace the current phone number
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |