|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use StandardUser | |
|---|---|
| actions.chat | includes the chat functionality for the client. |
| actions.user | includes the functions for registering a user and changing user preferences for the client program. |
| client | includes the classes to start the client program and handle the functionality. |
| interfaces | includes the interfaces for the client and the server. |
| server | includes the classes to realize the server side functionality. |
| shared | includes additional classes used by both the client and the server. |
| Uses of StandardUser in actions.chat |
|---|
| Constructors in actions.chat with parameters of type StandardUser | |
|---|---|
ChatWindow(WSIDOClientMain mainApp,
WSIDOClientImpl chatObject,
StandardUser chatPartner)
constructs the chat window. |
|
ConnectThread(WSIDOClientMain mainApp,
StandardUser user)
constructs the new thread |
|
| Uses of StandardUser in actions.user |
|---|
| Constructors in actions.user with parameters of type StandardUser | |
|---|---|
UserInfo(WSIDOClientMain mainApp,
StandardUser user)
constructs the window and stores the reference for the main application and initializes the window |
|
| Uses of StandardUser in client |
|---|
| Methods in client that return StandardUser | |
|---|---|
StandardUser |
WSIDOClientMain.getUser()
returns the actual logged in user object |
| Methods in client with parameters of type StandardUser | |
|---|---|
boolean |
WSIDOClientImpl.acceptRequest(StandardUser user)
callback function that determines if the receiving user wants to interact with the calling user. |
void |
WSIDOClientImpl.addChatWindow(StandardUser user)
creates a new chat window |
boolean |
WSIDOClientImpl.receiveMessage(java.lang.String message,
StandardUser user)
receives a Message from the server Application. this method implements the callback functionality and is implemented by the server application |
void |
WSIDOClientMain.replaceUser(StandardUser curUser)
replaces the user object (f.e. after changing preferences) |
| Constructors in client with parameters of type StandardUser | |
|---|---|
WSIDOClientMain(WSIDOClientImpl chatObject,
WSIDOInterface serverObject,
StandardUser curUser,
UserVerification userver,
java.util.ResourceBundle messages,
org.w3c.dom.Document doc)
constructor to start main program. gets all the needed objects from the login screen. |
|
| Uses of StandardUser in interfaces |
|---|
| Methods in interfaces that return StandardUser | |
|---|---|
StandardUser |
WSIDOInterface.login(UserVerification userver,
WSIDOClientInterface clientApp)
logs in and passes own reference for later interactions |
| Methods in interfaces with parameters of type StandardUser | |
|---|---|
boolean |
WSIDOClientInterface.acceptRequest(StandardUser user)
asks the user if he wants to accept the chat request from another user |
boolean |
WSIDOInterfaceAdmin.addUser(UserVerification userver,
StandardUser user)
add a new User |
boolean |
WSIDOInterface.changePreferences(UserVerification userver,
StandardUser user)
sends the user object to the server to update user preferences |
long |
WSIDOInterface.createAccount(StandardUser user)
creates a new Account on the server |
boolean |
WSIDOInterfaceAdmin.editUser(UserVerification userver,
long userId,
StandardUser user)
sends the user object to the server to update user preferences |
boolean |
WSIDOClientInterface.receiveMessage(java.lang.String message,
StandardUser user)
allows the user to receive messages from a specific user. |
boolean |
WSIDOInterface.updateSubscribedModules(StandardUser user)
|
| Uses of StandardUser in server |
|---|
| Methods in server that return StandardUser | |
|---|---|
StandardUser |
DatabaseConnect.getStandardUser(UserVerification userver)
|
StandardUser |
DatabaseConnect.getStandardUserByUserId(long userId)
|
StandardUser |
WSIDOServer.login(UserVerification userver,
WSIDOClientInterface clientApp)
method to do a login in the WhatShallIDo network |
| Methods in server that return types with arguments of type StandardUser | |
|---|---|
java.util.Vector<StandardUser> |
DatabaseConnect.getContactListStandardUser(long userId)
|
java.util.Vector<StandardUser> |
DatabaseConnect.getInteractionUsers(Item item,
long userId)
gets possible users for interaction (chat) |
| Methods in server with parameters of type StandardUser | |
|---|---|
boolean |
WSIDOServer.addUser(UserVerification userver,
StandardUser user)
administrator method |
boolean |
WSIDOServer.changePreferences(UserVerification userver,
StandardUser user)
updating the user preferences like changing nickname, changing email ... |
boolean |
DatabaseConnect.changePreferences(UserVerification userver,
StandardUser user)
updating the user preferences like changing nickname, changing email ... |
long |
WSIDOServer.createAccount(StandardUser user)
method to create a new user account |
long |
DatabaseConnect.createAccount(StandardUser user)
method to create a new useraccount |
boolean |
WSIDOServer.editUser(UserVerification userver,
long userId,
StandardUser user)
administrator method |
java.lang.String |
CalcDistance.getDistance(StandardUser user1,
StandardUser user2)
calculates the distance between user1 and user2. return value for example "2.2 km" or "5.1 mi" |
boolean |
WSIDOServer.updateSubscribedModules(StandardUser user)
Subscribe new modules and delete subscribed modules |
| Uses of StandardUser in shared |
|---|
| Subclasses of StandardUser in shared | |
|---|---|
class |
PowerUser
|
| Methods in shared that return StandardUser | |
|---|---|
StandardUser |
StandardUserExtended.getUser()
|
| Constructors in shared with parameters of type StandardUser | |
|---|---|
StandardUserExtended(StandardUser user,
float distance,
java.lang.String distanceUnit,
boolean isOnline)
constructs a new StandardUser including distance and onlinestate |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||