|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsoftwareprojekt.Connection
network.Network
public class Network
Field Summary |
---|
Fields inherited from class softwareprojekt.Connection |
---|
user |
Constructor Summary | |
---|---|
Network()
|
Method Summary | |
---|---|
boolean |
changePassword(java.lang.String oldPassword,
java.lang.String newPassword)
Ändern des Passwortes des eingeloggten Benutzers auf ein neues. |
boolean |
checkReceive()
|
boolean |
createForm(Form form)
In dieser Schnittstelle nicht benötigt. |
boolean |
createLecture(Lecture lecture)
In dieser Schnittstelle nicht benötigt. |
boolean |
createUser(User user)
In dieser Schnittstelle nicht benötigt. |
boolean |
deleteForm(Form form)
In dieser Schnittstelle nicht benötigt. |
boolean |
deleteLecture(Lecture lecture)
In dieser Schnittstelle nicht benötigt. |
boolean |
deleteUser(User user)
In dieser Schnittstelle nicht benötigt. |
void |
disCon()
Verbindungsabbau der vorher mittels initCon() erstellten Verbindung . |
boolean |
existAnswerForStudy(java.lang.String room,
int time)
|
boolean |
existFormForStudy(java.lang.String room,
int time)
|
Form |
getForm(java.lang.String id)
|
Form |
getForm(java.lang.String room,
int time)
|
java.lang.String[] |
getFormList()
|
java.lang.String[] |
getFormList(java.lang.String[] lectures)
|
Lecture |
getLecture(java.lang.String shortName)
|
java.lang.String[] |
getLectureList()
|
java.lang.String[] |
getLectureList(User prof)
|
User |
getUser(java.lang.String id)
|
java.lang.String[] |
getUserList()
|
boolean |
initCon()
|
boolean |
insertAnswerFromStudy(Form form)
|
boolean |
isConnected()
Testet das Netzwerk-Objekt auf eine vorhandene Verbindung |
boolean |
Login(java.lang.String userID,
java.lang.String password,
char userTyp)
Versucht den übergebenen Benutzer ein zu loggen |
void |
Logout()
Loggt den vorher eingeloggten Benutzer wieder aus |
boolean |
updateForm(Form form)
In dieser Schnittstelle nicht benötigt. |
boolean |
updateLecture(Lecture lecture)
In dieser Schnittstelle nicht benötigt. |
boolean |
updateUser(User user)
In dieser Schnittstelle nicht benötigt. |
Methods inherited from class softwareprojekt.Connection |
---|
getLastError, getLoggedUser |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Network()
Method Detail |
---|
public boolean checkReceive()
public boolean initCon()
initCon
in class Connection
public boolean isConnected()
isConnected
in class Connection
public boolean Login(java.lang.String userID, java.lang.String password, char userTyp)
Login
in class Connection
public void Logout()
Logout
in class Connection
public void disCon()
disCon
in class Connection
public boolean changePassword(java.lang.String oldPassword, java.lang.String newPassword)
changePassword
in class Connection
public boolean deleteUser(User user)
deleteUser
in class Connection
public boolean deleteForm(Form form)
deleteForm
in class Connection
public boolean deleteLecture(Lecture lecture)
deleteLecture
in class Connection
public boolean createUser(User user)
createUser
in class Connection
public boolean createForm(Form form)
createForm
in class Connection
public boolean createLecture(Lecture lecture)
createLecture
in class Connection
public boolean updateLecture(Lecture lecture)
updateLecture
in class Connection
public boolean updateForm(Form form)
updateForm
in class Connection
public boolean updateUser(User user)
updateUser
in class Connection
public java.lang.String[] getUserList()
getUserList
in class Connection
public java.lang.String[] getFormList()
getFormList
in class Connection
public java.lang.String[] getLectureList()
getLectureList
in class Connection
public java.lang.String[] getFormList(java.lang.String[] lectures)
getFormList
in class Connection
public java.lang.String[] getLectureList(User prof)
getLectureList
in class Connection
public User getUser(java.lang.String id)
getUser
in class Connection
public Form getForm(java.lang.String id)
getForm
in class Connection
public Form getForm(java.lang.String room, int time)
getForm
in class Connection
public Lecture getLecture(java.lang.String shortName)
getLecture
in class Connection
public boolean existFormForStudy(java.lang.String room, int time)
existFormForStudy
in class Connection
public boolean existAnswerForStudy(java.lang.String room, int time)
existAnswerForStudy
in class Connection
public boolean insertAnswerFromStudy(Form form)
insertAnswerFromStudy
in class Connection
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |